Brian, > Is there a way to setup Amavis to use DSPAM and NOT spamassassin, > but with spamassassin installed?
Not easily, some code hacking would be required. > The reason why I want to do this is for speed. > > When checking emails with dspam and spamassassin through amavisd-new, it > takes on average 20 seconds to check an average email with spamassassin > internal to amavisd-new. checking the same email with spamc/spamd is > less than 1 second. > ... (0%)26, SA parse: 31 (0%)26, SA check: 17667 (73%)100, ... > > as you can see, spamassassin is taking 73% of the check time @ a little > under 18 seconds. The same email with spamc/spamd is less than 1 second > with the same rulesets. There is absolutely no reason for such a huge difference in timing if SA is using the same configuration in both cases. The most likely explanation is that SA under amavisd and SA under spamd sees different settings, perhaps one is running with network checks enabled and the other not, or they are using different rules directories (e.g. having two versions of SA installed on the same host). Could also be a DNS problem, especially if running chrooted. Compare the SA log as produced by 'amavisd debug-sa' and a similar log as produced by: su vscan -c 'spamassassin -D -t <message.msg' especially the first screenfull or two. See also http://www.ijs.si/software/amavisd/#faq-spam under the section 'SpamAssassin returns different score...' Mark ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/