Hello,
We have been using spamassassin sitewide for sometime now on our 3 mail servers and have been very pleased with it. The only issue that we have had is that when our primary mail server gets flooded with spam it would run up the cpu slowing the server down to unusable levels. To fix this and to increase the accuracy of spamassassin we now have a spam/antivirus server that will process all the spamassassin/virus scaning for all 3 of our mail servers. This works extremely well and is extremely accurate with auto learning turned on. The only problem is we are trying to set the system up so that that should the spam processing server ever die mail continues to be processed without spamassassin. The issue we are having is that it can take upto 4 mins for spamc to realize that the spamd host is not running. I have tried to use the –t option with spamc but that only seams to effect how long spamc will wait on spamd after the connection is made.
Here is an example of the log file when this is happening: Jul 8 14:03:10 mail1 spamc[14952]: connect() to spamd at 10.1.1.100 failed, retrying (1/3): Connection timed out Jul 8 14:04:44 mail1 spamc[14952]: connect() to spamd at 10.1.1.100 failed, retrying (2/3): No route to host Jul 8 14:05:30 mail1 spamc[14952]: connect() to spamd at 10.1.1.100 failed, retrying (3/3): No route to host Jul 8 14:05:31 mail1 spamc[14952]: connection attempt to spamd aborted after 3 retries
Jul 8 13:58:51 mail1 spamc[14619]: connect() to spamd at 10.1.1.100 failed, retrying (1/3): No route to host Jul 8 14:02:01 mail1 spamc[14619]: connect() to spamd at 10.1.1.100 failed, retrying (2/3): Connection timed out Jul 8 14:05:11 mail1 spamc[14619]: connect() to spamd at 10.1.1.100 failed, retrying (3/3): Connection timed out Jul 8 14:05:12 mail1 spamc[14619]: connection attempt to spamd aborted after 3 retries
As you can see we are getting two different error messages in the log file, No Route to host and Connection Timed Out During testing we were running spamc out of procmail with –d 10.1.1.100 –t 15 as the options
The spam server was completely disconnected from the network during the test, and as soon as we plugged it back in mail was being processed fine. With spamc taking so long to deliver mail, hundreds of procmail processes are running, and the server becomes unable to keep up b/c we are receiving mail faster than we can process it.
Does anyone have any idea how to fix this?
Thanks, Tony B, CCNA, Network+ Systems Administration GO Concepts, Inc. / www.go-concepts.com Are you on the GO yet? What about those you know, are they on the GO? 513.934.2800 1.888.ON.GO.YET
|