Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: jumba on August 26, 2005, 10:49:28 AM

Title: Spamassasin causes performance loss on server
Post by: jumba on August 26, 2005, 10:49:28 AM
After installing Spamassasin from http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_29.htm on our 6.01, a notable loss of performance has occurred.

Most notably, people feel that delivering a mail from client to server now takes 4-5 seconds instead of instantly. Also performing IMAP-jobs such as moving mail to new folders now takes more time...

If I disable Spamassasin from the server-manager, the performance returns back to normal again.

The server is a very powerful dual-CPU machine with lots of SCSI-disk and RAM, so something else is wrong.

Any suggestions?
Title: Spamassasin causes performance loss on server
Post by: ergozd on August 26, 2005, 11:16:33 AM
http://wiki.apache.org/spamassassin/FasterPerformance
Title: Spamassasin causes performance loss on server
Post by: Knuddi on August 26, 2005, 12:57:59 PM
Your performance problem is most likely due to the fact that also outgoing emails are scanned. Are youa lso running clamav from swerts-knudsen.dk?

If that is the case then try to disable antivirus scan of outgoing emails and see whether this helps.

Rgds,
Jesper
Title: Spamassasin causes performance loss on server
Post by: jumba on August 26, 2005, 01:46:42 PM
@Knuddi:

Thank you very much, I just tried your suggestion and everything works very smoothly again! :-P  :-P  :-P  :-P  :-P
Title: Spamassasin causes performance loss on server
Post by: raem on August 26, 2005, 03:52:54 PM
jumba

You may also want/need to try these suggestions

http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/Mail%20system%20tweaks%20HOWTO%20for%20sme%20server.htm
Title: No more reporting! (Was: Spamassasin causes ...)
Post by: jumba on August 29, 2005, 01:19:43 PM
I'm nuts, or something else is driving me.......

I thought I had solved my Spamassasin problems (see further up in this thread) when the "daily report to Admin" suddenly starts to report that no mail of any kind passes the filter:

Quote
Reporting Period : 24.00 hrs
--------------------------------------------------

Total spam rejected   :        0 (  0.00%)
       RBL rejected   :        0 (  0.00%)
     Score above 15   :        0 (  0.00%)
Total ham accepted    :        0 (  0.00%)
                        -------------------
Total emails processed:        0 (    0/hr)


During this period, every mail has been delivered normally....

I've tried to stop and restart the service, but still no difference.

Anyone??????? (Just trying to get this working...)