1

anyone knows how to redirect a sendmail virtuser account mail to an external email address?

This is the virtuser table:

contact@example.org contact.example.org

(In this form the mail to contact@example.org arrives ok to the inbox)

Then I set an alias from:

contact.example.org     external@domain.org

But doesn´t work... any idea?

Thanks in advance!

1

Did you use "newaliases" command after editing the alias file ?

  • Yes... without success... the email arrives to the linux user account, but not goes out... – Simon Aug 28 '09 at 7:27
  • My mistake, it goes perfectly (I mistyped the email alias). Thanks for your help! – Simon Aug 28 '09 at 7:31
1

After changes in virtusertable file under /etc/mail for sendmail. You need to run below command to take effect in its database file virtusertable.db

makemap hash virtusertable.db < /etc/virtusertable

Then your emails forwarding will be start. Please try it and hope it helps.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.