Viktor Dukhovni schreef op 8-1-2014 0:13:
On Wed, Jan 08, 2014 at 12:02:56AM +0100, R. Berger wrote:
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.
I don't get it, whatever I put in I just keep getting:
Return-Path: <MAILER-DAEMON>
Then you're changing the wrong transport entry, or the wrong
master.cf file, or not running "postfix reload". Perhaps it is
not even Postfix that is placing the message in the mailbox.
Or you're looking at the wrong messages, ...
I am afraid I can't help you any further. I've given all the
information you should need. Sorry about that.
Ok, got it working. After starting fresh this morning ;-) , I started
all over again and tried to send email from the old server (which was
working before). These mail got stuck also so I figured I had to look at
the second server for this (which is actually quite logical) . I added
the null_sender= and everything started working. Now I have to find out
why the spamsnake server is not checking recipient addresses before
accepting mail. This was working before, but somehow I broke the config.
Thanks,
Viktor