OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Postfix: modify headers "From" and "Reply-to"

From: mouss (usebsdfree.fr)
Date: Wed Nov 02 2005 - 06:43:24 CST


jaswinder a écrit :

> since have no control over exchange & exchange does not allow direct
> access from Unix clients. The only working solution is to have SMTP
> mail relay setup, which I already did & works if from address matches
> in the email with auth account. I know that mouss agreed that outgoing
> email From header could be changed example->

I hope you know the difference between the envelope and the headers. if
not, you should read about that.

>
> ABC<user.namecompany.com <mailto:user.namecompany.com>> ----->
> POSTFIX ---> ABC<main_accountcompany.com
> <mailto:main_accountcompany.com>>
>
> can someone plese post any sample commands for this setup.

http://www.postfix.org/ADDRESS_REWRITING_README.html
http://www.postfix.org/postconf.5.html#canonical_maps
http://www.postfix.org/postconf.5.html#local_header_rewrite_clients
http://www.postfix.org/canonical.5.html
...