On Tue, Jan 07, 2014 at 11:38:20PM +0100, R. Berger wrote:
> >NEVER set the null sender to a real mailbox. This creates mail
> >loops. It MUST be either "MAILER-DAEMON" or empty.
> >
> >If however, a valid email address did not address the POP clients,
> >then MAILER-DAEMON is NOT the problem. You really need to look at
> >the interaction between the POP client and server, neither of which
> >is Postfix.
>
> I've removed the null_sender from master.cf but can't see any change
> in the Return-Path of the NDR's
NO DO NOT REMOVE from master.cf, rather set it EMPTY!
mytransport unix - n n - - pipe
flags=ORDq user=nobody null_sender= argv=/my-lda ${recipient}
Adjusting the flags to your needs. Make sure that the transport
recipient for this transport limit is correctly set to 1.
This will correctly generate:
Return-Path: <>
when the original message is a bounce.
--
Viktor.