Wednesday, December 15, 2004

How to Disable Qmail Double Bounces


PROBLEM:
When you receive junk mail to a non-existant address from a spammer who's address is spoofed Qmail tries to send a reply to the spammer stating that Qmail couldn't deliver their message. But, since the address doesn't exist Qmail recieves notification back from the other server saying that address doesn't exist and you, as the postmaster, get a notification from Qmail stating "the bounce bounced".


SOLUTION: Send double-bounces (bounced bounces) to a black hole.
1) In the qmail alias dir (/var/qmail/alias), make a file .qmail-doublebounce and just put a # in it.
2) In the qmail control dir (/var/qmail/control), make a doublebounceto file and put doublebounce in it.
3) Restart Q-Mail (/etc/init.d/qmail restart)


That will relieve you of all the worthless double bounce notifications at the postmaster address.

1 Comments:

TTY said...

Nice one, thanks! Just what I was after.

1:07 AM  

Post a Comment

<< Home