Gary wrote: > Since I don't see any SA timings, I'm really interested how spamassassin > is called.
I have no idea if Gianluca is using spamd/spamc or not but: I was personally curious about the efficiency of using spamc outside of amavisd-new, compared to having amavisd-new call SA. I did an anecdotal test by feeding a test message a number of times through spamc: time spamc -u amavis < sample-spam.txt and it was fairly consistent at around 14 seconds. (800Mhz Celeron) Sending the same messages through amavisd-new a few times showed SA check at 2.4 seconds, dropping to .7 seconds at times. I then installed a local dns cache (djbdns) and tried the tests again. spamc dropped to around 2-4 seconds (decreased with the second test), and SA check within amavisd-new was around 2 seconds, dropping to .7 seconds at times. BTW, much to my surprise, I also noticed that 'SA check:' does not necessarily appear in every entry. I imagine this due to caching. So I would assume that at times, the spam check is free. This of course could explain why I did not see any SA checks in Gianluca's post. I wouldn't absolutely draw conclusions from this, but it appears to me it's a good idea to point your resolver at a caching DNS server, and amavisd-new uses spamassassin more efficiently than spamd/spamc. Not even counting the fact that within amavisd-new, SpamAssassin is called only once for each message regardless of the number of recipients. Gary V ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
