configure postfix to send as different domains

Posted by Cerales on Pro Webmasters See other posts from Pro Webmasters or by Cerales
Published on 2011-03-16T06:03:42Z Indexed on 2011/03/16 8:18 UTC
Read the original article Hit count: 178

Filed under:

I have postfix configured to receive mail for multiple domains. The primary domain goes through a standard postfix setup, whereas a secondary domain is handed by a /etc/postfix/virtual.db file which maps addresses for the secondary domain to other unix users.

Incoming mail works perfectly, but when I send mail as users on the secondary domain, the mail receiver still sees it as coming from [unix username]@[primarydomain].net. Can anyone help me figure out how to configure the virtual postfix domain to send mail through the same domain it receives it as?

© Pro Webmasters or respective owner

Related posts about email