From: Giovanni Mancuso on 26 May 2010 12:55 Hi, I would disable in my postfix installation the sending of bounce mail. I try to change my master.cf in this way: bounce unix - n n - 0 pipe -vv user=mail flags=Rq argv=/etc/postfix/bounce.sh and the script bounce.sh is: # cat /etc/postfix/bounce.sh #!/bin/bash cat > /dev/null exit 0 It works, but in my maillog i have: May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: bounce socket: wanted attribute: flags May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: vstream_buf_get_ready: fd 9 got 406 May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: input attribute name: nrequest May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: warning: unexpected attribute nrequest in input from bounce socket May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: warning: deliver_request_get: error receiving common attributes May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: deliver_request_final: send: "" -1 Can you point me where is the problem? And, Is there another way to disable bounce notification?
From: Noel Jones on 26 May 2010 13:31 On 5/26/2010 11:55 AM, Giovanni Mancuso wrote: > Hi, > > I would disable in my postfix installation the sending of bounce mail. Solve the right problem; don't accept mail you can't deliver. -- Noel Jones > > I try to change my master.cf in this way: > > bounce unix - n n - 0 pipe -vv > user=mail flags=Rq argv=/etc/postfix/bounce.sh > > > and the script bounce.sh is: > > # cat /etc/postfix/bounce.sh > #!/bin/bash > cat > /dev/null > exit 0 > > > It works, but in my maillog i have: > May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: bounce socket: > wanted attribute: flags > May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: > vstream_buf_get_ready: fd 9 got 406 > May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: input attribute > name: nrequest > May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: warning: unexpected > attribute nrequest in input from bounce socket > May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: warning: > deliver_request_get: error receiving common attributes > May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: > deliver_request_final: send: "" -1 > > Can you point me where is the problem? > > And, Is there another way to disable bounce notification?
From: Giovanni Mancuso on 27 May 2010 05:19 Noel Jones wrote: > On 5/26/2010 11:55 AM, Giovanni Mancuso wrote: >> Hi, >> >> I would disable in my postfix installation the sending of bounce mail. > > Solve the right problem; don't accept mail you can't deliver. I can't do it, because my antispam server return 550 to my postfix that is a MX record of my domain, but my postfix, can only receive connection from 25, it doesn't do connection to port 25, because the firewall drop this connection. > > -- Noel Jones > > > >> >> I try to change my master.cf in this way: >> >> bounce unix - n n - 0 pipe -vv >> user=mail flags=Rq argv=/etc/postfix/bounce.sh >> >> >> and the script bounce.sh is: >> >> # cat /etc/postfix/bounce.sh >> #!/bin/bash >> cat > /dev/null >> exit 0 >> >> >> It works, but in my maillog i have: >> May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: bounce socket: >> wanted attribute: flags >> May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: >> vstream_buf_get_ready: fd 9 got 406 >> May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: input attribute >> name: nrequest >> May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: warning: unexpected >> attribute nrequest in input from bounce socket >> May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: warning: >> deliver_request_get: error receiving common attributes >> May 26 17:50:19 mmt-l-fl11-prv postfix/pipe[23380]: >> deliver_request_final: send: "" -1 >> >> Can you point me where is the problem? >> >> And, Is there another way to disable bounce notification? >
From: Charles Marcus on 27 May 2010 07:55 On 2010-05-27 5:19 AM, Giovanni Mancuso wrote: > Noel Jones wrote: >> On 5/26/2010 11:55 AM, Giovanni Mancuso wrote: >>> I would disable in my postfix installation the sending of bounce >>> mail. >> Solve the right problem; don't accept mail you can't deliver. > I can't do it, Yes, you can, you just need to learn how. > because my antispam server return 550 to my postfix that is a MX > record of my domain, but my postfix, can only receive connection from > 25, it doesn't do connection to port 25, because the firewall drop > this connection. Never reject mail once you've accepted it for final delivery. Period. Anything else is bad design. The problem apparently is you have a content (antispam) filter that is rejecting mail *after* it has been accepted for final delivery. Don't do that. Period. Either change it to a before queue content filter - which can be a problem on high volume systems - or don't reject it from your anti-spam filter, tag+deliver it. -- Best regards, Charles
|
Pages: 1 Prev: Provide XFORWARDed attributes to policy server? Next: IDN domain name support |