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?

Reply via email to