----- Original Message ----- From: "Bill Landry" <[EMAIL PROTECTED]>
To: "Brett Romero" <[EMAIL PROTECTED]>; <users@spamassassin.apache.org>
Sent: Monday, October 04, 2004 1:00 PM
Subject: Re: SPF not working



----- Original Message ----- From: "Brett Romero" <[EMAIL PROTECTED]>

Yes - everything is installed and the init.pre has the correct entry for
SPF..  How can I double check that it is working?  Especially -
Mail::SPF::Query.

Try piping a message directly through SA with the following:

spamassassin -dtD < /path/to/test-message

Look for specific SFP output like the following:
=====
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x8c8859c)

debug: registering glue method for check_for_spf_helo_pass
(Mail::SpamAssassin::Plugin::SPF=HASH(0x8c85a20))
debug: SPF: checking HELO (helo=mail.apache.org, ip=209.237.227.199)
debug: SPF: trimmed HELO down to 'apache.org'
debug: SPF: query for /209.237.227.199/apache.org: result: none, comment:
SPF: domain of sender apache.org does not designate mailers

debug: registering glue method for check_for_spf_softfail
(Mail::SpamAssassin::Plugin::SPF=HASH(0x8c85a20))
debug: SPF: relayed through one or more trusted relays, cannot use
header-based Envelope-From, skipping
debug: registering glue method for check_for_spf_pass
(Mail::SpamAssassin::Plugin::SPF=HASH(0x8c85a20))
debug: registering glue method for check_for_spf_helo_softfail
(Mail::SpamAssassin::Plugin::SPF=HASH(0x8c85a20))
debug: registering glue method for check_for_spf_helo_fail
(Mail::SpamAssassin::Plugin::SPF=HASH(0x8c85a20))
=====

Bill


These entries are also in the debug:

debug: Failed to parse line in SpamAssassin configuration, skipping: 50_scores.cf:score SP
F_PASS -0.001
debug: Failed to parse line in SpamAssassin configuration, skipping: 50_scores.cf:score SP
F_FAIL 0 0 0 0.875
debug: Failed to parse line in SpamAssassin configuration, skipping: 50_scores.cf:score SP
F_SOFTFAIL 0.500 0.842 0.500 0.500
debug: Failed to parse line in SpamAssassin configuration, skipping: 50_scores.cf:score SP
F_HELO_PASS -0.001
debug: Failed to parse line in SpamAssassin configuration, skipping: 50_scores.cf:score SP
F_HELO_FAIL 0 0.405 0 0.001
debug: Failed to parse line in SpamAssassin configuration, skipping: 50_scores.cf:score SP
F_HELO_SOFTFAIL 0 1.002 0 3.140
debug: Score set 1 chosen.


Here are  the lines in 50_scores.cf.score:

ifplugin Mail::SpamAssassin::Plugin::SPF
score SPF_PASS -0.001
score SPF_FAIL 0 0.000 0 0.875
score SPF_SOFTFAIL 0.500 0.842 0.500 0.500
score SPF_HELO_PASS -0.001
score SPF_HELO_FAIL 0 0.405 0 0.001
score SPF_HELO_SOFTFAIL 0 1.002 0 3.140
endif # Mail::SpamAssassin::Plugin::SPF




Reply via email to