On Wed, Jul 06, 2016 at 02:10:29PM -0400, Robert Fitzpatrick wrote:

> local_header_rewrite_clients = static:all
> But from the logs....
> 
> Jul  6 13:44:39 mx1 postfix/smtpd[74447]: NOQUEUE: reject: RCPT from
> mail-dm3nam03on0135.outbound.protection.outlook.com[104.47.41.135]: 450
> 4.1.8 <[email protected]>: Sender address rejected: Domain not found;
> from=<[email protected]> to=<[email protected]> proto=ESMTP
> helo=<NAM03-DM3-obe.outbound.protection.outlook.com>

These are *envelope* addresses and not surprising header address
rewriting has no effect here.

In any case address rewriting happens in cleanup(8), and smtpd(8)
access control works with the original envelope addresses provided
in the SMTP dialogue (only ligthly rewritten to "standard form"
via trivial-rewrite(8)).

-- 
        Viktor.

Reply via email to