On 10/18/06, Ralf Hildebrandt <[EMAIL PROTECTED]> wrote: > * Ralf Hildebrandt <[EMAIL PROTECTED]>: > > But why? How can I find out why SA takes up to 45s to process a mail: > > Found it: > % amavisd -d dns,uri,uridnsbl debug-sa > log 2>&1 > > and I got: > > # grep took log|sort -k 8 -n | tail > [12965] dbg: uridnsbl: query for blindness.org took 11 seconds to look up > (multi.surbl.org.:blindness.org) > [12965] dbg: uridnsbl: query for blindness.org took 11 seconds to look up > (sbl.spamhaus.org.:105.128.191.199) > [12965] dbg: uridnsbl: query for domeus.com took 11 seconds to look up > (multi.surbl.org.:domeus.com) > [12965] dbg: uridnsbl: query for domeus.de took 11 seconds to look up > (multi.surbl.org.:domeus.de) > [12965] dbg: uridnsbl: query for domeus.de took 11 seconds to look up > (sbl.spamhaus.org.:16.16.214.85) > [12965] dbg: uridnsbl: query for domeus.de took 11 seconds to look up > (sbl.spamhaus.org.:21.184.140.195) > [12965] dbg: uridnsbl: query for blindness.org took 12 seconds to look up > (sbl.spamhaus.org.:69.16.127.12) > [12929] dbg: uridnsbl: query for streetkred.com.au took 15 seconds to look up > (multi.surbl.org.:streetkred.com.au) > [12929] dbg: uridnsbl: query for streetkred.com.au took 15 seconds to look up > (sbl.spamhaus.org.:48.16.202.203) > [12929] dbg: uridnsbl: query for streetkred.com.au took 15 seconds to look up > (sbl.spamhaus.org.:99.241.124.202) > > Why are these two lists so incredibly slow?
There are zillion possible reasons why they are slow. Maybe their links are slow, maybe their servers are slow. As other poster suggested (and you replied), having a local DNS cache typically helps. What's your rbl_timeout for SpamAssassin? This doesn't explain why you need 45 seconds to scan an e-mail. By default rbl_timeout is set to 15 seconds and that's the maximum time SpamAssassin will wait for an DNS query. Actually, in real life, it will typically wait even less because there is an algorithm on how long it will wait depending on how many replies it already received. Bojan ------------------------------------------------------------------------- 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/
