Mail to root alias - rewrite To:

Issues related to software problems
Post Reply
Posts: 28
Joined: 2008/04/08 16:34:21

Mail to root alias - rewrite To:

Post by pennrabb » 2009/03/02 01:23:26

I have set up an email address ( at the end of the alias file to receive root mail. However, while it does divert the mail to that address, the To: still reads, and an external mail server I'm sending to only knows, so of course it fails. How can I force it to change the envelope the same as the email adress in the alias file?

Posts: 1478
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA

Mail to root alias - rewrite To:

Post by michaelnel » 2009/03/03 00:27:23

masquerading is the keyword you need. How to do it depends on what mta you are running, ie: sendmail, postfix, exim, other.

Post Reply

Return to “CentOS 4 - Software Support”