I have a Virtual machine running on an old - and I mean old (Quad Intel Pentium 4 Xeon) server. My load average is bad on the VM, the physical machine looks ok. The physical machine is slated to be replaced, but not for approx 90days. It's causing duplicate emails to come in to users accounts. Spamdyke is helping a lot. I have killed RBLS in qmail and Spamassassin, no sense in checking them twice. I have disabled autolearn and am not using the Bayes database in Spamassassin. I am trying to optimize simscan, since I see scan times that are pretty bad - the first one I looked at was 25 seconds. I turned off clam by editing simcontrol to :clam=no. I am trying to think of any other things I can do to help out this server in the interim. I found a script that says it does the following things that make a lot of sense to me:
Have clamdscan only scan the message file instead of the message file and the attachments created by ripmime (which results in double scanning and taking twice as long). Don't pass messages over 250,000 bytes to SpamAssassin. In the default SA config, it doesn't scan messages that large, so we don't waste time passing them on. Do spam scanning before virus scanning. Most machines have a >70% spam hit rate and a <1% virus hit rate. It make a lot more sense to spam scan the <1% of viruses instead of virus scanning the >70% spam. The patch is at http://sourceforge.net/tracker/index.php?func=detail <http://sourceforge.net/tracker/index.php?func=detail&aid=1829073&group_id=2 04569&atid=990138> &aid=1829073&group_id=204569&atid=990138 What the guy says it does makes lots of sense to me, however I can't get it to run. Is there anyway the gurus on this list know of to improve things? I have looked on the wiki and used google, and can't find much out there. Jack Martin
