On 8 Nov 2008, at 07:40, mouss wrote:

Neil wrote:
But still; how can I know that SPF and DKIM checks are working?


copy _this_ message (the one you are reading now) to a file: message.eml, then (assuming a Bourne shell, not a C shell), run

# spamassassin -D -t < message.eml 2>&1 | tee sa.out

and check sa.out for spf and dkim.


Done, (hopefully) relevant excerpts are below.

In addition, I grep'ed the entire thing for "spf" and "dkim", and turned up nothing but the usual suspects (ie. rule files' filenames, the mail header, and mail body). Then, just to be thorough, I read the entire thing, and didn't find anything myself that would indicate to me that it's doing SPF and/or DKIM checks.

Thanks for all the help,
Neil.


[23928] dbg: config: fixed relative path: /var/lib/spamassassin/ 3.002001/updates_spamassassin_org/25_dkim.cf [23928] dbg: config: using "/var/lib/spamassassin/3.002001/ updates_spamassassin_org/25_dkim.cf" for included file [23928] dbg: config: read file /var/lib/spamassassin/3.002001/ updates_spamassassin_org/25_dkim.cf [23928] dbg: config: fixed relative path: /var/lib/spamassassin/ 3.002001/updates_spamassassin_org/25_domainkeys.cf [23928] dbg: config: using "/var/lib/spamassassin/3.002001/ updates_spamassassin_org/25_domainkeys.cf" for included file [23928] dbg: config: read file /var/lib/spamassassin/3.002001/ updates_spamassassin_org/25_domainkeys.cf
...
[23928] dbg: config: fixed relative path: /var/lib/spamassassin/ 3.002001/updates_spamassassin_org/25_spf.cf [23928] dbg: config: using "/var/lib/spamassassin/3.002001/ updates_spamassassin_org/25_spf.cf" for included file [23928] dbg: config: read file /var/lib/spamassassin/3.002001/ updates_spamassassin_org/25_spf.cf
...
[23928] dbg: config: fixed relative path: /var/lib/spamassassin/ 3.002001/updates_spamassassin_org/60_whitelist_dkim.cf [23928] dbg: config: using "/var/lib/spamassassin/3.002001/ updates_spamassassin_org/60_whitelist_dkim.cf" for included file [23928] dbg: config: read file /var/lib/spamassassin/3.002001/ updates_spamassassin_org/60_whitelist_dkim.cf [23928] dbg: config: fixed relative path: /var/lib/spamassassin/ 3.002001/updates_spamassassin_org/60_whitelist_spf.cf [23928] dbg: config: using "/var/lib/spamassassin/3.002001/ updates_spamassassin_org/60_whitelist_spf.cf" for included file [23928] dbg: config: read file /var/lib/spamassassin/3.002001/ updates_spamassassin_org/60_whitelist_spf.cf
...
[23928] dbg: check: is spam? score=-6.053 required=4.5
[23928] dbg: check: tests=AWL,BAYES_00,RCVD_IN_DNSWL_MED
[23928] dbg: check: subtests=__CT,__CTE,__CT_TEXT_PLAIN,__DOS_HAS_ANY_URI,__DOS_HAS_LIST_ID,__DOS_HAS_LIST_UNSUB,__DOS_HAS_MAILING_LIST,__DOS_RCVD_SAT,__DOS_RELAYED_EXT,__FS_SUBJ_RE,__HAS_ANY_URI,__HAS_MSGID,__HAS_RCVD,__HAS_SUBJECT,__LAST_UNTRUSTED_RELAY_NO_AUTH,__MIME_VERSION,__MOZILLA_MSGID,__MSGID_OK_HOST,__NAKED_TO,__NONEMPTY_BODY,__RCVD_IN_DNSWL,__SANE_MSGID,__SUBJ_RE,__TOCC_EXISTS,__TVD_BODY,__TVD_MIME_ATT_TP,__UNUSABLE_MSGID
...

Content analysis details:   (-6.1 points, 4.5 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
                            [score: 0.0000]
-4.0 RCVD_IN_DNSWL_MED RBL: Sender listed at http:// www.dnswl.org/, medium
                             trust
                            [140.211.11.2 listed in list.dnswl.org]
0.5 AWL AWL: From: address is in the auto white- list


Reply via email to