SpamAssassin seems slow to process
Pretty much a vanilla configuration Centos server, really low loads.
On average a Spamassassin scan takes about 9s.
Is this normal, or is this too slow? sorry if it seems like a noob question, but I find 9s per message a bit sluggish :)
May 10 15:37:17 xxxxxx spamd[79439]: spamd: clean message (0.1/5.0) for xxxxxx:1000 in 8.7 seconds, 24233 bytes.
May 10 15:37:50 xxxxxx spamd[79439]: spamd: clean message (-0.1/5.0) for xxxxxx:1013 in 9.0 seconds, 26774 bytes.
May 10 15:38:16 xxxxxx spamd[79439]: spamd: clean message (-0.2/5.0) for xxxxxx:1013 in 9.8 seconds, 84797 bytes. Is this normal, or is this too slow? sorry if it seems like a noob question, but I find 9s per message a bit sluggish :)
-
Depends a bit on the target domain as well, the content of the email. I have some scans that take 0.2 seconds, and some that take 7 seconds. My average is 1.55 seconds. cat /var/log/maillog |grep "spamd: clean message" | grep -v "cpaneleximscanner" | awk '{ sum += $13; n++ } END { if (n > 0) print sum / n; }' 1.557250 -
@LucasRolff is correct, it really is dependent on the contents of the mail as well as the domain. For instance if we use his command and look at my average: cat /var/log/maillog |grep "spamd: clean message" | grep -v "cpaneleximscanner" | awk '{ sum += $13; n++ } END { if (n > 0) print sum / n; }' 8.11667
My average is pretty high as well though I don't send much mail from this test server.0 -
My average is pretty high as well though I don't send much mail from this test server.
Why not? Can sell a lot of shoes on a test server!0 -
Thank you all :) 0
Please sign in to leave a comment.
Comments
4 comments