Hello !
I have question why Spamassasssin doesnt add the header SPF_FAIL in X-Spam-Status ?
s61:~# cat sa.log |grep -i spf
mar 21 22:42:40.285 [20073] dbg: config: read file /usr/share/spamassassin/25_spf.cf
mar 21 22:42:40.287 [20073] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf
mar 21 22:42:40.336 [20073] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
mar 21 22:42:40.921 [20073] dbg: plugin: did not register Mail::SpamAssassin::Plugin::SPF, already registered
mar 21 22:42:42.365 [20073] dbg: spf: checking to see if the message has a Received-SPF header that we can use
mar 21 22:42:42.386 [20073] dbg: spf: using Mail::SPF for SPF checks
mar 21 22:42:42.386 [20073] dbg: spf: checking HELO (helo=discus, ip=82.154.150.174)
mar 21 22:42:42.386 [20073] dbg: spf: cannot check HELO of 'discus', skipping
mar 21 22:42:42.389 [20073] dbg: spf: already checked for Received-SPF headers, proceeding with DNS based checks
mar 21 22:42:42.389 [20073] dbg: spf: found Envelope-From in first external Received header
mar 21 22:42:42.389 [20073] dbg: spf: checking EnvelopeFrom (helo=discus, ip=82.154.150.174, envfrom=picturesquek5@ameriton.com)
mar 21 22:42:42.390 [20073] dbg: dns: providing a callback for id: 10955/ameriton.com/SPF/IN
mar 21 22:42:42.404 [20073] dbg: spf: query for picturesquek5@ameriton.com/82.154.150.174/discus: result: none, comment: , text: No applicable sender policy available
mar 21 22:42:42.411 [20073] dbg: spf: def_spf_whitelist_from: already checked spf and didn't get pass, skipping whitelist check
mar 21 22:42:42.413 [20073] dbg: spf: whitelist_from_spf: already checked spf and didn't get pass, skipping whitelist check
mar 21 22:42:42.895 [20073] dbg: timing: total 2614 ms - init: 1502 (57.4%), parse: 1.58 (0.1%), extract_message_metadata: 82 (3.1%), poll_dns_idle: 21 (0.8%), get_uri_detail_list: 1.03 (0.0%), tests_pri_-1000: 19 (0.7%), compile_gen: 163 (6.2%), compile_eval: 55 (2.1%), tests_pri_-950: 5 (0.2%), tests_pri_-900: 6 (0.2%), tests_pri_-400: 5 (0.2%), tests_pri_0: 857 (32.8%), dkim_load_modules: 56 (2.1%), check_dkim_signature: 0.83 (0.0%), check_dkim_adsp: 150 (5.7%), check_spf: 36 (1.4%), check_pyzor: 0.40 (0.0%), tests_pri_500: 77 (3.0%)
s61:~#
I have in my config
score SPF_FAIL 8
score SPF_SOFTFAIL 6
score SPF_NEUTRAL 4
Regards,
Piotr
I have question why Spamassasssin doesnt add the header SPF_FAIL in X-Spam-Status ?
s61:~# cat sa.log |grep -i spf
mar 21 22:42:40.285 [20073] dbg: config: read file /usr/share/spamassassin/25_spf.cf
mar 21 22:42:40.287 [20073] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf
mar 21 22:42:40.336 [20073] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
mar 21 22:42:40.921 [20073] dbg: plugin: did not register Mail::SpamAssassin::Plugin::SPF, already registered
mar 21 22:42:42.365 [20073] dbg: spf: checking to see if the message has a Received-SPF header that we can use
mar 21 22:42:42.386 [20073] dbg: spf: using Mail::SPF for SPF checks
mar 21 22:42:42.386 [20073] dbg: spf: checking HELO (helo=discus, ip=82.154.150.174)
mar 21 22:42:42.386 [20073] dbg: spf: cannot check HELO of 'discus', skipping
mar 21 22:42:42.389 [20073] dbg: spf: already checked for Received-SPF headers, proceeding with DNS based checks
mar 21 22:42:42.389 [20073] dbg: spf: found Envelope-From in first external Received header
mar 21 22:42:42.389 [20073] dbg: spf: checking EnvelopeFrom (helo=discus, ip=82.154.150.174, envfrom=picturesquek5@ameriton.com)
mar 21 22:42:42.390 [20073] dbg: dns: providing a callback for id: 10955/ameriton.com/SPF/IN
mar 21 22:42:42.404 [20073] dbg: spf: query for picturesquek5@ameriton.com/82.154.150.174/discus: result: none, comment: , text: No applicable sender policy available
mar 21 22:42:42.411 [20073] dbg: spf: def_spf_whitelist_from: already checked spf and didn't get pass, skipping whitelist check
mar 21 22:42:42.413 [20073] dbg: spf: whitelist_from_spf: already checked spf and didn't get pass, skipping whitelist check
mar 21 22:42:42.895 [20073] dbg: timing: total 2614 ms - init: 1502 (57.4%), parse: 1.58 (0.1%), extract_message_metadata: 82 (3.1%), poll_dns_idle: 21 (0.8%), get_uri_detail_list: 1.03 (0.0%), tests_pri_-1000: 19 (0.7%), compile_gen: 163 (6.2%), compile_eval: 55 (2.1%), tests_pri_-950: 5 (0.2%), tests_pri_-900: 6 (0.2%), tests_pri_-400: 5 (0.2%), tests_pri_0: 857 (32.8%), dkim_load_modules: 56 (2.1%), check_dkim_signature: 0.83 (0.0%), check_dkim_adsp: 150 (5.7%), check_spf: 36 (1.4%), check_pyzor: 0.40 (0.0%), tests_pri_500: 77 (3.0%)
s61:~#
I have in my config
score SPF_FAIL 8
score SPF_SOFTFAIL 6
score SPF_NEUTRAL 4
Regards,
Piotr