1

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

This is the virtuser table:

[email protected] contact.example.org

(In this form the mail to [email protected] arrives ok to the inbox)

Then I set an alias from:

contact.example.org     [email protected]

But doesn´t work... any idea?

Thanks in advance!

2 Answers 2

1

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

2
  • Yes... without success... the email arrives to the linux user account, but not goes out...
    – Simon
    Aug 28, 2009 at 7:27
  • My mistake, it goes perfectly (I mistyped the email alias). Thanks for your help!
    – Simon
    Aug 28, 2009 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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .