On Thu, 26 May 2005, Jeff Chan wrote:
What does "spamassassin -D < filename" give if filename contains something like these in the message body:
If you read all the way to the bottom, the test message (with 3 URLs that should return a hit) is included. I have removed the email addresses from the headers.
After looking at the output, what jumps out at me is that the DNS queries may be timing out :-/ I think the default is 2 seconds. I'll have to try to find where that is set and increase it...
debug: SpamAssassin version 3.0.2 debug: Score set 0 chosen. debug: running in taint mode? yes debug: Running in taint mode, removing unsafe env vars, and resetting PATH debug: PATH included '/sbin', keeping. debug: PATH included '/usr/sbin', keeping. debug: PATH included '/bin', keeping. debug: PATH included '/usr/bin', keeping. debug: PATH included '/usr/X11R6/bin', keeping. debug: PATH included '/usr/local/bin', keeping. debug: PATH included '/usr/local/sbin', keeping. debug: Final PATH set to: /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre debug: config: read file /etc/mail/spamassassin/init.pre debug: using "/usr/share/spamassassin" for default rules dir debug: config: read file /usr/share/spamassassin/10_misc.cf debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf debug: config: read file /usr/share/spamassassin/20_body_tests.cf debug: config: read file /usr/share/spamassassin/20_compensate.cf debug: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf debug: config: read file /usr/share/spamassassin/20_drugs.cf debug: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf debug: config: read file /usr/share/spamassassin/20_head_tests.cf debug: config: read file /usr/share/spamassassin/20_html_tests.cf debug: config: read file /usr/share/spamassassin/20_meta_tests.cf debug: config: read file /usr/share/spamassassin/20_phrases.cf debug: config: read file /usr/share/spamassassin/20_porn.cf debug: config: read file /usr/share/spamassassin/20_ratware.cf debug: config: read file /usr/share/spamassassin/20_uri_tests.cf debug: config: read file /usr/share/spamassassin/23_bayes.cf debug: config: read file /usr/share/spamassassin/25_body_tests_es.cf debug: config: read file /usr/share/spamassassin/25_hashcash.cf debug: config: read file /usr/share/spamassassin/25_spf.cf debug: config: read file /usr/share/spamassassin/25_uribl.cf debug: config: read file /usr/share/spamassassin/30_text_de.cf debug: config: read file /usr/share/spamassassin/30_text_fr.cf debug: config: read file /usr/share/spamassassin/30_text_nl.cf debug: config: read file /usr/share/spamassassin/30_text_pl.cf debug: config: read file /usr/share/spamassassin/50_scores.cf debug: config: read file /usr/share/spamassassin/60_whitelist.cf debug: using "/etc/mail/spamassassin" for site rules dir debug: config: read file /etc/mail/spamassassin/antidrug.cf debug: config: read file /etc/mail/spamassassin/backhair.cf debug: config: read file /etc/mail/spamassassin/chickenpox.cf debug: config: read file /etc/mail/spamassassin/evilnumbers.cf debug: config: read file /etc/mail/spamassassin/evsdrugs.cf debug: config: read file /etc/mail/spamassassin/evsfinances.cf debug: config: read file /etc/mail/spamassassin/evsgambling.cf debug: config: read file /etc/mail/spamassassin/evssales.cf debug: config: read file /etc/mail/spamassassin/evssex.cf debug: config: read file /etc/mail/spamassassin/evssoftware.cf debug: config: read file /etc/mail/spamassassin/evsuniversity.cf debug: config: read file /etc/mail/spamassassin/evsuri.cf debug: config: read file /etc/mail/spamassassin/evswatches.cf debug: config: read file /etc/mail/spamassassin/local.cf debug: config: read file /etc/mail/spamassassin/random.current.cf debug: using "/root/.spamassassin" for user state dir debug: using "/root/.spamassassin/user_prefs" for user prefs file debug: config: read file /root/.spamassassin/user_prefs debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84891f0) debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84891f0) implements 'parse_config' debug: Not allowing user rules! debug: Score set 1 chosen. debug: metadata: X-Spam-Relays-Trusted: debug: metadata: X-Spam-Relays-Untrusted: debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84891f0) implements 'parsed_metadata' debug: dns_available set to yes in config file, skipping test debug: ---- MIME PARSER START ---- debug: main message type: text/plain debug: parsing normal part debug: added part, type: text/plain debug: ---- MIME PARSER END ---- debug: decoding: other encoding type (7bit), ignoring debug: uri found: http://022shop.com/ debug: uri found: http://surbl-org-permanent-test-point.com.multi.surbl.org/ debug: uri found: http://127.0.0.2/ debug: URIDNSBL: domains to query: 022shop.com surbl.org 127.0.0.2 debug: is Net::DNS::Resolver available? yes debug: Net::DNS version: 0.48 debug: all '*From' addrs: [REMOVED] debug: Running tests for priority: 0 debug: running header regexp tests; score so far=0 debug: all '*To' addrs: [REMOVED] debug: running body-text per-line regexp tests; score so far=0.024 debug: running uri tests; score so far=0.024 debug: registering glue method for check_uridnsbl (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84891f0)) debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84891f0) implements 'check_tick' debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:25 2005 debug: running raw-body-text per-line regexp tests; score so far=7.024 debug: running full-text regexp tests; score so far=7.024 debug: DCCifd is not available: no r/w dccifd socket found. debug: Running tests for priority: 500 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:25 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:26 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:27 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:28 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:29 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:30 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:31 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:32 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:33 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:34 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:35 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:36 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:37 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:38 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:39 2005 debug: RBL: success for 0 of 1 queries debug: DNS: timeout for ahbl after 15 seconds debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84891f0) implements 'check_post_dnsbl' debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:39 2005 debug: waiting 2 seconds for URIDNSBL lookups to complete debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:39 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:40 2005 debug: URIDNSBL: queries completed: 0 started: 0 debug: URIDNSBL: queries active: DNSBL=2 NS=2 at Fri May 27 03:31:41 2005 debug: done waiting for URIDNSBL lookups to complete debug: URIDNSBL: aborting remaining lookups debug: running meta tests; score so far=7.024 debug: running header regexp tests; score so far=7.024 debug: running body-text per-line regexp tests; score so far=7.024 debug: running uri tests; score so far=7.024 debug: running raw-body-text per-line regexp tests; score so far=7.024 debug: running full-text regexp tests; score so far=7.024 debug: Running tests for priority: 1000 debug: running meta tests; score so far=7.024 debug: running header regexp tests; score so far=7.024 debug: running body-text per-line regexp tests; score so far=7.024 debug: running uri tests; score so far=7.024 debug: running raw-body-text per-line regexp tests; score so far=7.024 debug: running full-text regexp tests; score so far=7.024 debug: is spam? score=7.024 required=12 debug: tests=NORMAL_HTTP_TO_IP,RCVD_BY_IP debug: subtests=__CT,__CTE,__CT_TEXT_PLAIN,__HAS_MSGID,__HAS_SUBJECT,__MIME_VERSION,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__MSGID_RANDY,__SANE_MSGID X-Gmail-Received: 413ec022875a2c54bfc788864b1f9b1abb2ea4ce Received: by 10.38.70.41 with HTTP; Mon, 20 Dec 2004 13:23:57 -0800 (PST) Message-ID: 7e157c3804122013232372e49c@mail.gmail.com Date: Mon, 20 Dec 2004 14:23:57 -0700 From: [REMOVED] Reply-To: [REMOVED] To: [REMOVED] Subject: test message - please ignore Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Delivered-To: [REMOVED] X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on nylon.rope.net X-Spam-Level: ******* X-Spam-Status: No, score=7.0 required=12.0 tests=NORMAL_HTTP_TO_IP,RCVD_BY_IP autolearn=disabled version=3.0.2
http://127.0.0.2/ http://surbl-org-permanent-test-point.com.multi.surbl.org/ http://022shop.com/