MailScanner with postfix SPF checks problem
ram
ram at netcore.co.in
Mon Jul 2 07:46:05 IST 2007
I am using postfix 2.3 with MailScanner 4.59 and spamassassin 3.1.5
In postfix I have added X-envelope-sender to the headers
The mail when scanned thru MailScanner does not seem to get the header.
But When I see the mail in the quarantine the header is very much there
When I take the same mail from quarantine and run spamassassin -D <
$file I can see the SPF checks happenning fine.
Unfortunately this doesnt seem to happen everytime. A lot of time SPF
checks do go on fine.
Have I misconfigured something ?
The relevant line are here ( from MailScanner in debug mode )
------------------
23773] dbg: dns: checking RBL zen.spamhaus.org., set zen
[23773] dbg: dns: checking RBL iadb.isipp.com., set iadb-firsttrusted
[23773] dbg: check: running tests for priority: 0
[23773] dbg: rules: running header regexp tests; score so far=0
[23773] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[23773] dbg: rules: ran header rule __SANE_MSGID ======> got hit:
"<1183358182.09113 at spamassassin_spamd_init>
[23773] dbg: rules: "
[23773] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit:
"@spamassassin_spamd_init>"
[23773] dbg: rules: ran header rule NO_REAL_NAME ======> got hit:
"ignore at compiling.spamassassin.taint.org
[23773] dbg: rules: "
[23773] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit:
"1183358182"
[23773] dbg: spf: no suitable relay for spf use found, skipping SPF-helo
check
[23773] dbg: eval: all '*From' addrs:
ignore at compiling.spamassassin.taint.org
[23773] dbg: eval: all '*To' addrs:
[23773] dbg: spf: no suitable relay for spf use found, skipping SPF
check
[23773] dbg: rules: ran eval rule NO_RELAYS ======> got hit
[23773] dbg: spf: cannot get Envelope-From, cannot use SPF
[23773] dbg: spf: def_spf_whitelist_from: could not find useable
envelope sender
[23773] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit
[23773] dbg: spf: spf_whitelist_from: could not find useable envelope
sender
[23773] dbg: rules: running body-text per-line regexp tests; score so
far=0.96
[23773] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[23773] dbg: uri: running uri tests; score so far=0.96
[23773] dbg: rules: running raw-body-text per-line regexp tests; score
so far=0.96
[23773] dbg: rules: running full-text regexp tests; score so far=0.96
[23773] dbg: info: entering helper-app run mode
Jul 02 12:06:25.298183 check[23773]: [ 2] [bootup] Logging initiated
LogDebugLevel=3 to stdout
Jul 02 12:06:26.372740 check[23773]: [ 3] mail 1 is not known spam.
[23773] dbg: info: leaving helper-app run mode
[23773] dbg: razor2: part=0 engine=4 contested=0 confidence=0
[23773] dbg: razor2: results: spam? 0
[23773] dbg: razor2: results: engine 8, highest cf score: 0
[23773] dbg: razor2: results: engine 4, highest cf score: 0
[23773] dbg: pyzor: use_pyzor option not enabled, disabling Pyzor
More information about the MailScanner
mailing list