Set origin for forwarder based on virtual domain in Postfix
Posted
by Andrew Koester
on Server Fault
See other posts from Server Fault
or by Andrew Koester
Published on 2010-06-11T05:34:41Z
Indexed on
2010/06/11
5:43 UTC
Read the original article
Hit count: 260
postfix
I currently have a machine set up to operate with two domains. The main name uses the standard Unix-user delivery, and the second domain is entirely virtual (using virtual_alias_domains
and virtual_alias_maps
), with the second domain only forwarding mail.
However, when mail is forwarded, it still appears to be delivered by the host of the primary domain (presumably set by myorigin
.) Is it possible to get it so when mail is forwarded to the virtual domain, it appears to be delivered by it as well? That domain is on another IP and I'd like to use it so the mail stays consistent.
Thanks.
© Server Fault or respective owner