-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is there a way to setup Amavis to use DSPAM and NOT spamassassin, but with spamassassin installed? 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. example log: Jan 4 04:37:16 athena amavis[14449]: (14449-06) TIMING [total 24186 ms] - - SMTP EHLO: 4 (0%)0, SMTP pre-MAIL: 1 (0%)0, SMTP pre-DATA-flush: 4 (0%)0, SMTP DATA: 57 (0%)0, body_hash: 2 (0%)0, gen_mail_id: 1 (0%)0, mime_decode: 40 (0%)0, get-file-type1: 22 (0%)1, decompose_part: 15 (0%)1, parts_decode: 0 (0%)1, AV-scan-1: 42 (0%)1, AV-scan-2: 5637 (23%)24, spam-wb-list: 3 (0%)24, DSPAM: 535 (2%)26, SA msg read: 12 (0%)26, SA parse: 31 (0%)26, SA check: 17667 (73%)100, update_cache: 25 (0%)100, fwd-connect: 9 (0%)100, fwd-mail-from: 1 (0%)100, fwd-rcpt-to: 2 (0%)100, write-header: 5 (0%)100, fwd-data: 12 (0%)100, fwd-data-end: 35 (0%)100, fwd-rundown: 2 (0%)100, main_log_entry: 19 (0%)100, update_snmp: 1 (0%)100, unlink-1-files: 1 (0%)100, rundown: 0 (0%)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. Is there a way to keep dspam in amavis and take out sa? versions: amavisd-new-2.3.2-1.2.fc4.rf spamassassin-3.1.0-1_28.rhfc4.at kernel 2.6.12-1.1387_FC4 cpu: AMD Sempron(tm) 2800+ mem: 1 gig or ram load average: 0.45, 0.48, 0.52 - -- A. Because it breaks the logical sequence of discussion Q. Why is top posting bad? - - Registered Linux User #324935 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDvCrcx/lZhd28OiQRAqR6AJ4+ltLTXFqLnqI0YtEwkAqarWVr1ACgsZqN xm6Gzw33d9jqzlkTcD1WaL4= =aGdW -----END PGP SIGNATURE----- ------------------------------------------------------- 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/