Alexandre Ellert: > Hello, > > I use Postfix as a SMTP mail relay for our web servers to send > notifications email. This Postfix relay is also configured to > relay through our Google Apps relay (and this one only accept email > from our GApps domain) So, I want Postfix to rewrite enveloppe > From and header From to a unique value : nore...@ivsweb.com.
My recommendation: don't send mail with a bogus envelope sender address. By doing so you lose notifications about undeliverable mail. FYI: by the Internet email standards, the Reply-To header (or any other header) is not used when sending (non-)delivery notifications. If you must rewrite Reply-To differently than From with Postfix, try using smtp_header_checks. Otherwise, you may submit a patch to make the mapping from (header name) to (address rewriting as 'sender', 'recipient', or 'none') configurable. This mapping is still hard-coded at this time. Wietse