Eric, > I am running Postfix 2.2.9 + Amavis 3.10 on Fedora FC5 (Zimbra 4.0.4 > installation) > > A few days ago email delivery started being delayed after a long time > with no problems. Things started getting worse and worse and finally the > postfix "active" queue was growing faster than mail was being delivered > creating many hour delays. > > Turning off spam filtering using @bypass_spam_checks_maps = (1); got > mail flowing again and cleared the over 4000 awaiting emails within 30 > minutes... > > Looking at the Amavis log files shows problems: > Feb 9 05:29:22[12436]: (12436-01) lookup (local_domains) => true, > "[EMAIL PROTECTED]" matches, result="1", matching_key="." > Feb 9 05:31:23[12436]: (12436-01) spam_scan: from DSPAM: Received: from > web30113.mail.mud.yahoo.com (web30113.mail.mud.yahoo.com [209.191.69.45])\n > > Almost 2 minutes between entries... > DSPAM is taking way too long to process. > How can I find out what exactly is causing this slowness?
I don't know. This is precisely the reason I stopped experimenting with DSPAM more than a year ago - it just gradually start to become terribly slow. Perhaps letting it use a SQL database could help. I'd hope that later development would fix the issue, but I never bothered to check. > Sample 2: > Feb 9 05:35:31[12426]: (12426-01-3) lookup_ldap_attr(amavislocal), no > attribute, "[EMAIL PROTECTED]" result=1 > Feb 9 05:35:31[12426]: (12426-01-3) lookup (local_domains) => true, > "[EMAIL PROTECTED]" matches, result="1", matching_key="/cached/" > Feb 9 05:55:03[12426]: (12426-01-3) TROUBLE in check_mail: spam_scan > FAILED: timed out 20 minutes, terrible. Try switching dspam off: $dspam = undef; (or just moving its executable so that amavisd won't find it on startup), and continue using SA, which seem to be more predictable/reliable. Mark ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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/
