MailScanner Stuck
Quintin Giesbrecht
q at snj.ca
Mon Dec 11 21:48:49 GMT 2006
Here is output from 'MailScanner --debug --debug-sa' as requested. TIA.
In Debugging mode, not forking...
[6254] dbg: logger: adding facilities: all
[6254] dbg: logger: logging level is DBG
[6254] dbg: generic: SpamAssassin version 3.1.7
[6254] dbg: config: score set 0 chosen.
[6254] dbg: util: running in taint mode? no
[6254] dbg: message: ---- MIME PARSER START ----
[6254] dbg: message: main message type: text/plain
[6254] dbg: message: parsing normal part
[6254] dbg: message: added part, type: text/plain
[6254] dbg: message: ---- MIME PARSER END ----
[6254] dbg: dns: is Net::DNS::Resolver available? yes
[6254] dbg: dns: Net::DNS version: 0.59
[6254] dbg: ignore: test message to precompile patterns and load modules
[6254] dbg: config: using "/etc/mail/spamassassin" for site rules pre
files
[6254] dbg: config: read file /etc/mail/spamassassin/init.pre
[6254] dbg: config: read file /etc/mail/spamassassin/v310.pre
[6254] dbg: config: read file /etc/mail/spamassassin/v312.pre
[6254] dbg: config: using "/usr/share/spamassassin" for sys rules pre
files
[6254] dbg: config: using "/usr/share/spamassassin" for default rules
dir
[6254] dbg: config: read file /usr/share/spamassassin/10_misc.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_anti_ratware.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_compensate.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_drugs.cf
[6254] dbg: config: read file
/usr/share/spamassassin/20_fake_helo_tests.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_phrases.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_porn.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_ratware.cf
[6254] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf
[6254] dbg: config: read file /usr/share/spamassassin/23_bayes.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf
[6254] dbg: config: read file
/usr/share/spamassassin/25_body_tests_es.cf
[6254] dbg: config: read file
/usr/share/spamassassin/25_body_tests_pl.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_dcc.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_dkim.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_razor2.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_replace.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_spf.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_textcat.cf
[6254] dbg: config: read file /usr/share/spamassassin/25_uribl.cf
[6254] dbg: config: read file /usr/share/spamassassin/30_text_de.cf
[6254] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf
[6254] dbg: config: read file /usr/share/spamassassin/30_text_it.cf
[6254] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf
[6254] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf
[6254] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf
[6254] dbg: config: read file /usr/share/spamassassin/50_scores.cf
[6254] dbg: config: read file /usr/share/spamassassin/60_awl.cf
[6254] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf
[6254] dbg: config: read file /usr/share/spamassassin/60_whitelist_dk.cf
[6254] dbg: config: read file
/usr/share/spamassassin/60_whitelist_dkim.cf
[6254] dbg: config: read file
/usr/share/spamassassin/60_whitelist_spf.cf
[6254] dbg: config: read file
/usr/share/spamassassin/60_whitelist_subject.cf
[6254] dbg: config: using "/etc/mail/spamassassin" for site rules dir
[6254] dbg: config: read file /etc/mail/spamassassin/local.cf
[6254] dbg: config: read file /etc/mail/spamassassin/mailscanner.cf
[6254] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from
@INC
[6254] dbg: plugin: registered
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa911e20)
[6254] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from
@INC
[6254] dbg: plugin: registered
Mail::SpamAssassin::Plugin::Hashcash=HASH(0xa92dbbc)
[6254] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[6254] dbg: plugin: registered
Mail::SpamAssassin::Plugin::SPF=HASH(0xa94fa8c)
[6254] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[6254] dbg: pyzor: network tests on, attempting Pyzor
[6254] dbg: plugin: registered
Mail::SpamAssassin::Plugin::Pyzor=HASH(0xa953dbc)
[6254] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from
@INC
[6254] dbg: reporter: network tests on, attempting SpamCop
[6254] dbg: plugin: registered
Mail::SpamAssassin::Plugin::SpamCop=HASH(0xa9b4b74)
[6254] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[6254] dbg: plugin: registered
Mail::SpamAssassin::Plugin::AWL=HASH(0xa9b970c)
[6254] dbg: plugin: loading
Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
[6254] dbg: plugin: registered
Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0xa9bf458)
[6254] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject
from @INC
[6254] dbg: plugin: registered
Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0xa96d6e0)
[6254] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from
@INC
[6254] dbg: plugin: registered
Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0xaa99714)
[6254] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from
@INC
[6254] dbg: plugin: registered
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xab31da8)
[6254] dbg: config: adding redirector regex:
/^http:\/\/chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i
[6254] dbg: config: adding redirector regex:
/^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
[6254] dbg: config: adding redirector regex:
/^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
[6254] dbg: config: adding redirector regex:
/^http:\/\/redir\.internet\.com\/.+?\/.+?\/(.*)$/i
[6254] dbg: config: adding redirector regex:
/^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
[6254] dbg: config: adding redirector regex:
m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&#])'i
[6254] dbg: config: adding redirector regex:
m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
[6254] dbg: config: adding redirector regex:
m'/(?:index.php)?\?.*(?<=[?&])URL=(.*?)(?:$|[&#])'i
[6254] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/url\?.*?(?<=[?&])q=(.*?)(?:
$|[&#])'i
[6254] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*
?(?<=%20|..[=+\s])site:(.*?)(?:$|%20|[\s+&#])'i
[6254] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*
?(?<=%20|..[=+\s])(?:"|%22)(.*?)(?:$|%22|["\s+&#])'i
[6254] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/translate\?.*?(?<=[?&])u=(.
*?)(?:$|[&#])'i
[6254] dbg: plugin:
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xab31da8) implements
'finish_parsing_end'
[6254] dbg: replacetags: replacing tags
[6254] dbg: replacetags: done replacing tags
[6254] dbg: bayes: no dbs present, cannot tie DB R/O:
/root/.spamassassin/bayes_toks
[6254] dbg: config: score set 1 chosen.
[6254] dbg: message: ---- MIME PARSER START ----
[6254] dbg: message: main message type: text/plain
[6254] dbg: message: parsing normal part
[6254] dbg: message: added part, type: text/plain
[6254] dbg: message: ---- MIME PARSER END ----
[6254] dbg: bayes: no dbs present, cannot tie DB R/O:
/root/.spamassassin/bayes_toks
[6254] dbg: dns: dns_available set to yes in config file, skipping test
[6254] dbg: metadata: X-Spam-Relays-Trusted:
[6254] dbg: metadata: X-Spam-Relays-Untrusted:
[6254] dbg: metadata: X-Spam-Relays-Internal:
[6254] dbg: metadata: X-Spam-Relays-External:
[6254] dbg: message: no encoding detected
[6254] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa911e20)
implements 'parsed_metadata'
[6254] dbg: uridnsbl: domains to query:
[6254] dbg: dns: checking RBL sbl-xbl.spamhaus.org., set
sblxbl-lastexternal
[6254] dbg: dns: checking RBL sa-accredit.habeas.com., set
habeas-firsttrusted
[6254] dbg: dns: checking RBL sbl-xbl.spamhaus.org., set sblxbl
[6254] dbg: dns: checking RBL sa-other.bondedsender.org., set
bsp-untrusted
[6254] dbg: dns: checking RBL combined.njabl.org., set
njabl-lastexternal
[6254] dbg: dns: checking RBL combined.njabl.org., set njabl
[6254] dbg: dns: checking RBL
combined-HIB.dnsiplists.completewhois.com., set whois
[6254] dbg: dns: checking RBL list.dsbl.org., set dsbl-lastexternal
[6254] dbg: dns: checking RBL bl.spamcop.net., set spamcop
[6254] dbg: dns: checking RBL sa-trusted.bondedsender.org., set
bsp-firsttrusted
[6254] dbg: dns: checking RBL
combined-HIB.dnsiplists.completewhois.com., set whois-lastexternal
[6254] dbg: dns: checking RBL dnsbl.sorbs.net., set sorbs-lastexternal
[6254] dbg: dns: checking RBL dnsbl.sorbs.net., set sorbs
[6254] dbg: dns: checking RBL iadb.isipp.com., set iadb-firsttrusted
[6254] dbg: check: running tests for priority: 0
[6254] dbg: rules: running header regexp tests; score so far=0
[6254] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[6254] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit:
"1165852068"
[6254] dbg: rules: ran header rule __SANE_MSGID ======> got hit:
"<1165852068.9447 at spamassassin_spamd_init>
[6254] dbg: rules: "
[6254] dbg: rules: ran header rule NO_REAL_NAME ======> got hit:
"ignore at compiling.spamassassin.taint.org
[6254] dbg: rules: "
[6254] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit:
"@spamassassin_spamd_init>"
[6254] dbg: spf: no suitable relay for spf use found, skipping SPF-helo
check
[6254] dbg: eval: all '*From' addrs:
ignore at compiling.spamassassin.taint.org
[6254] dbg: eval: all '*To' addrs:
[6254] dbg: spf: no suitable relay for spf use found, skipping SPF check
[6254] dbg: rules: ran eval rule NO_RELAYS ======> got hit
[6254] dbg: spf: cannot get Envelope-From, cannot use SPF
[6254] dbg: spf: def_spf_whitelist_from: could not find useable envelope
sender
[6254] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit
[6254] dbg: rules: ran eval rule MISSING_HEADERS ======> got hit
[6254] dbg: spf: spf_whitelist_from: could not find useable envelope
sender
[6254] dbg: rules: running body-text per-line regexp tests; score so
far=0.738
[6254] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[6254] dbg: uri: running uri tests; score so far=0.738
[6254] dbg: rules: running raw-body-text per-line regexp tests; score so
far=0.738
[6254] dbg: rules: running full-text regexp tests; score so far=0.738
[6254] dbg: pyzor: pyzor is available: /usr/bin/pyzor
[6254] dbg: info: entering helper-app run mode
[6254] dbg: pyzor: opening pipe: /usr/bin/pyzor check <
/tmp/.spamassassin6254O8KqKQtmp
[6255] dbg: util: setuid: ruid=0 euid=0
[6254] dbg: pyzor: [6255] finished: exit=0x0100
[6254] dbg: pyzor: got response: 66.250.40.33:24441 (200, 'OK') 0 0
[6254] dbg: info: leaving helper-app run mode
[6254] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa911e20)
implements 'check_tick'
[6254] dbg: check: running tests for priority: 500
[6254] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa911e20)
implements 'check_post_dnsbl'
[6254] dbg: rules: running meta tests; score so far=0.738
[6254] info: rules: meta test DIGEST_MULTIPLE has undefined dependency
'RAZOR2_CHECK'
[6254] info: rules: meta test DIGEST_MULTIPLE has undefined dependency
'DCC_CHECK'
[6254] dbg: rules: running header regexp tests; score so far=2.216
[6254] dbg: rules: running body-text per-line regexp tests; score so
far=2.216
[6254] dbg: uri: running uri tests; score so far=2.216
[6254] dbg: rules: running raw-body-text per-line regexp tests; score so
far=2.216
[6254] dbg: rules: running full-text regexp tests; score so far=2.216
[6254] dbg: check: running tests for priority: 1000
[6254] dbg: rules: running meta tests; score so far=2.216
[6254] dbg: rules: running header regexp tests; score so far=2.216
[6254] dbg: rules: running body-text per-line regexp tests; score so
far=2.216
[6254] dbg: uri: running uri tests; score so far=2.216
[6254] dbg: rules: running raw-body-text per-line regexp tests; score so
far=2.216
[6254] dbg: rules: running full-text regexp tests; score so far=2.216
[6254] dbg: check: is spam? score=2.216 required=5
[6254] dbg: check:
tests=MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME,NO_RECEIVED,NO_RELAYS
,TO_CC_NONE
[6254] dbg: check:
subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,_
_SANE_MSGID,__UNUSABLE_MSGID
Undefined subroutine &MailScanner::CustomConfig::SQLWhitelist called at
/usr/lib/MailScanner/MailScanner/Config.pm line 121, <GEN35> line 31.
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Steve
Freegard
Sent: Monday, December 11, 2006 3:31 PM
To: MailScanner discussion
Subject: Re: MailScanner Stuck
Hi Quintin,
Quintin Giesbrecht wrote:
> Further to this, I have done some testing, and if I turn Spam Check
> off, then it seems to work, so it seems to be something with
> SpamAssassin - although, a spamassassin --lint produces no errors.
Switch Spam Checks back on and run 'MailScanner --debug --debug-sa' and
see what it outputs.
Kind regards,
Steve.
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list