Victor Duchovni <victor.ducho...@morganstanley.com> writes: > Postfix only uses myorigin to qualify *bare* email addresses. If the > application that submits the mail into Postfix (via SMTP or sendmail(1)) > already specified a domain name, Postfix is not going to change that > by default.
Ok. > You can also use masquerade_domains, but my personal view is that this > mechanism (like other wild-card rewrites) is a legacy that plays poorly > with recipient validation, and is difficult to use correctly on an > integrated gateway that handles mail to and from the Internet. For the time being, setting masquerade_domains to $mydomain solves the problem at hand. I'll look into the other alternatives to see if they suit better. The question remains: was this a deliberate change in 2.6 or 2.7? I double checked and verified that postfix 2.5 generates the 'right' domain names in the MAIL FROM, even without masquerade_domains being set. Thanks for your time and patience, -- Johan