Disabling Bounce Messages in Qmail

I've been trying to figure out a way to disable bounced messages on my server alltogether. I do not want anything going out from my server in any case of delivery failure. Whether its a local box failure or a forwarding address is not reacheable.

I tried using the following in .qmail-default file

| /var/qmail/bin/condredirect null@myserver.com /bin/sh -c '/usr/local/bin/822field subject | grep -iq "failure notice"'

But that only trashes mail sent to my server with "failure notice" subject not mail my server bounces back to the senders.

I am using this mailserver to redistribute email to multiple forwarding address which sometimes are down etc, so I do not want my server to notify original senders of the failures on the part of recepient mail servers.

Any ideas appreciated.
Thanks

 

 

 

 

Top