1 Jun 2004 01:37
Best way to deal with slow bounces?
David Hubbard <dhubbard <at> dino.hostasaurus.com>
2004-05-31 23:37:36 GMT
2004-05-31 23:37:36 GMT
Hi all, can anyone give me ideas on the best way to deal with pseudo-DoS causing spammer domains that exist with mx records but tie up qmail-remote processes waiting on connections that need 60 seconds each for qmail-remote to give up trying to talk to them? We're having some problems where spammers will send mailings to invalid addresses across numerous domains we host at the same time. So one spammer, if they hit enough invalid addresses at enough of our hosted domains, can cause several hundred or more bounce messages to be generated at the same time. If the envelope sender domain they used for the spam has a valid mx for qmail-remote to connect to, and that remote address is one that just hangs, we've now got several hundred hung qmail-remote processes not doing any valid work. For example, someone will hit 200 domains with 5 bogus messages each, so now we have 1000 bounce messages to deliver to inbox.ru or whatever BS domain they chose to use for the message. Well inbox.ru is either too overloaded because of all the spam bounces or is just behind a blocking firewall, etc. and connections to it to just hang rather than get refused. So now we've got 1000 total qmail-remote processes that need to be spawned at some point, each will wait 60 seconds for the timeout on the connection, and then this will repeat at least 20 times in my case due to my lower queuelifetime. So that's 333 hours of wasted qmail remote time just from one spammer.(Continue reading)
RSS Feed