Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Rob Wellesley on November 11, 2002, 06:21:55 AM
-
Hi all
Anyone know how I can stop mail bounces. Inevitibly they bounce back (spam).
Or how to "drop" a bounced bounce?
rob
-
[From qmail man pages]
doublebounceto
User to receive double-bounces. Default: postmaster.
If a single-bounce notice is permanently undeliver-
able, qmail-send sends a double-bounce notice to dou-
blebounceto@doublebouncehost. (If that bounces,
qmail-send gives up.)
In the file /var/qmail/control/doublebounceto you may have doublebounceto defined as "postmaster". You may wish to change this to a null account, or create another account to receive double bounces, then create a cron job to:
#!/bin/bash
/bin/rm -rf /home/e-smith/files/users/%username%/Maildir/new/*
You may have to modify the template directly:
pico -w /etc/e-smith/templates/var/qmail/control/doublebounceto
[Change and Save]
Then expand it:
/sbin/e-smith/expand-template /var/qmail/control/doublebounceto
Hope this helped,
Nathan
-
Nathan said:
>Hope this helped,
Very much - thank you.
-
I did something a little different. The double bounce message goes to $doublebounceto@$doublebouncehost
By changing both variables you can control the addressee for double bounce messages. Send them to a false address (like nobody@nowhere.nothing). The mail system will give up on them at this point and they won't bother you anymore.
-Warren Agin