My company, "myco.com", accepts mail for many other domains (doma.com, 
domb.com, etc.)
All of these domains are listed in $mydestination, and are routed via 
/etc/aliases, or /etc/postfix/virtual.

masquerade_domains = doma.com, domb.com, myco.com

If I send mail to a subdomain of myco.com, like u...@sdom1.myco.com, the "To" 
address gets changed (masq'd) to u...@myco.com. If I change masquerade_domains 
to include "!sdom1.myco.com", I avoid masq'ing that sub domain. This is 
expected based on the ADDRESS_REWRITING_README.

However, mail to u...@doma.com is not masq'd despite the presence of doma.com 
in $masquerade_domains. My expectation is that u...@doma.com would be changed 
to u...@myco.com.

I've read the ADDRESS_REWRITING_README, but I don't see where I've gone wrong.
Am I approaching this the right way?

Any help is appreciated.
Thanks!

richf

Sent from my iPad

Reply via email to