-------- Message original --------
Sujet : Re: URI-DNSBL problem with spamassassin 3.2.5
De : John Hardin <[email protected]>
Pour : Eddy Beliveau <[email protected]>
Copie à : SpamAssassin Users List <[email protected]>
Date : 2009-07-07 16:49
On Tue, 7 Jul 2009, Mark Martinec wrote:
It is not the DNS query that is a problem here.
Eddy:
What happens when you run the test using -L (no network tests)? Does
it still take as long?
Hi!
Mark & John, many thanks for your replies
So I spin it again with "-L -D"
...cut...
09:24:09.030 14.943 0.217 [20476] dbg: rules: running uri tests; score
so far=0
09:24:09.058 14.971 0.028 [20476] dbg: rules: compiled uri tests
09:24:09.078 14.991 0.020 [20476] dbg: rules: ran uri rule
__DOS_HAS_ANY_URI ======> got hit: "h"
09:24:09.099 15.012 0.020 [20476] dbg: rules: ran uri rule
__LOCAL_PP_NONPPURL ======> got hit: "http://www.davekeller.com"
09:24:09.220 15.133 0.121 [20476] dbg: pdfinfo: Identified 0 possible
mime parts that need checked for PDF content
09:24:09.220 15.133 0.000 [20476] dbg: pdfinfo: set_tag called for
PDFCOUNT 0
09:24:09.220 15.133 0.000 [20476] dbg: pdfinfo: set_tag called for
PDFIMGCOUNT 0
09:24:09.378 15.291 0.158 [20476] dbg: eval: stock info total: 0
09:24:09.379 15.293 0.002 [20476] dbg: rules: ran eval rule
__SARE_BODY_BLANKS_5_100 ======> got hit (1)
09:24:09.380 15.294 0.001 [20476] dbg: rules: ran eval rule
__TAG_EXISTS_BODY ======> got hit (1)
09:24:09.431 15.344 0.051 [20476] dbg: eval: text words: 2280, html
words: 2257
09:24:09.438 15.351 0.007 [20476] dbg: eval: madiff: left: 22, orig:
2257, max-difference: 0.97%
09:24:09.446 15.359 0.008 [20476] dbg: rules: ran eval rule __MIME_HTML
======> got hit (1)
09:24:09.529 15.443 0.084 [20476] dbg: rules: ran eval rule HTML_MESSAGE
======> got hit (1)
09:24:09.532 15.445 0.002 [20476] dbg: rules: ran eval rule
__TAG_EXISTS_HTML ======> got hit (1)
09:24:09.546 15.460 0.015 [20476] dbg: rules: ran eval rule
__TVD_MIME_ATT_TP ======> got hit (1)
09:24:09.561 15.474 0.014 [20476] dbg: rules: ran eval rule
__HAVE_BOUNCE_RELAYS ======> got hit (1)
09:24:09.563 15.476 0.002 [20476] dbg: rules: running rawbody tests;
score so far=0.001
09:24:09.602 15.515 0.039 [20476] dbg: rules: compiled rawbody tests
09:24:09.778 15.691 0.175 [20476] dbg: rules: ran rawbody rule
__SARE_HTML_SINGLET2 ======> got hit: ">o<"
09:24:09.817 15.730 0.040 [20476] dbg: rules: ran rawbody rule
__SARE_BLACK_FG_COLOR ======> got hit: ""color: black"
09:24:10.073 15.986 0.256 [20476] dbg: rules: ran rawbody rule
__TVD_BODY ======> got hit: "vers"
09:24:10.109 16.022 0.036 [20476] dbg: rules: ran rawbody rule
__SARE_HAS_FG_COLOR ======> got hit: ""color:"
09:45:09.826 1275.740 1259.717 [20476] dbg: rules: ran eval rule
__SARE_HTML_HAS_BR ======> got hit (1)
09:45:09.827 1275.741 0.001 [20476] dbg: rules: ran eval rule
__SARE_HTML_HAS_DIV ======> got hit (1)
09:45:09.828 1275.741 0.000 [20476] dbg: rules: ran eval rule __MIME_QP
======> got hit (2)
09:45:09.828 1275.741 0.000 [20476] dbg: rules: ran eval rule
__SARE_HTML_HAS_P ======> got hit (1)
09:45:09.829 1275.742 0.000 [20476] dbg: rules: ran eval rule
__SARE_HTML_HAS_A ======> got hit (1)
09:45:09.829 1275.742 0.001 [20476] dbg: rules: running full tests;
score so far=0.001
09:45:09.838 1275.751 0.009 [20476] dbg: rules: compiled full tests
09:45:10.002 1275.915 0.164 [20476] dbg: rules: running meta tests;
score so far=0.001
09:45:10.003 1275.916 0.001 [20476] dbg: rules: compiled meta tests
09:45:10.003 1275.916 0.000 [20476] dbg: check: running tests for
priority: 500
09:45:10.003 1275.916 0.000 [20476] dbg: dns: harvest_dnsbl_queries
...cut...
So, after the 20 minutes delay, it says:
09:45:09.826 1275.740 1259.717 [20476] dbg: rules: ran eval rule
__SARE_HTML_HAS_BR ======> got hit (1)
Can I assume that the 20 minutes delay is caused by the
__SARE_HTML_HAS_BR rule ?
If so, it is used by one of those 2 rules:
/var/lib/spamassassin/3.002005/70_sare_html0_cf_sare_sa-update_dostech_net/200606040500.cf:
rawbody __SARE_HTML_HAS_BR eval:html_tag_exists('br')
/var/lib/spamassassin/3.002005/70_sare_html1_cf_sare_sa-update_dostech_net/200606040500.cf:
rawbody __SARE_HTML_HAS_BR eval:html_tag_exists('br')
I then just add the following line to my local.cf file
score __SARE_HTML_HAS_BR 0
and re-test it with "-L -D" but I'm having the same result !!
Is there some way to find the culprit rule ?
other that removing all rules and adding them one at the time.
For testing purposes, can I reduce the 20 minutes delay variable to 1
minute ?
Any help will be appreciated.
Many thanks,
Eddy
--
Eddy Beliveau
HEC Montreal
Montreal (Quebec)
Canada