You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Real Magnet - Brett Romero <br...@realmagnet.com> on 2004/10/01 22:10:20 UTC

SPF not working

I'm using SA 3.0 on Win Server 2003.  The SPF results never show up in my reports.  It does show up in the debug information.  How do I get the SPF info to show up in the reporting info?

Thanks,
Brett

Re: SPF not working

Posted by Dermot McNally <mc...@traveldev.com>.
Daniel Quinlan wrote:

 > 2. Put this single line into init.pre which should be in
 >    /etc/spamassassin or /etc/mail/spamassassin:
 >
 > ------- start of cut text --------------
 > loadplugin Mail::SpamAssassin::Plugin::SPF
 > ------- end ----------------------------


Interesting - I'm having a similar problem as far as I can see. None of 
my incoming mail is picking up any scores that seem related to SPF, even 
when I try to provoke it with faked mails.

I _do_ have this line in init.pre. However, our SA runs out of 
MimeDefang, and I have a feeling it somehow bypasses init.pre. I 
certainly seem to get different scoring when I pass the same messages 
through the smapassassin command-line tool.

Is there any _other_ way of loading the plugin?

Dermot

Re: SPF not working

Posted by Theo Van Dinter <fe...@kluge.net>.
On Mon, Oct 04, 2004 at 01:38:35PM -0400, Brett Romero wrote:
> debug: Failed to parse line in SpamAssassin configuration, skipping: 
> 50_scores.cf:score SP
> F_PASS -0.001

what's with the newline?

> score SPF_PASS -0.001

Your install has very serious issues if it can't parse that line.

-- 
Randomly Generated Tagline:
/* dbmrefcnt--;  */     /* doesn't work, rats */
              -- Larry Wall in hash.c from the perl source code

Re: SPF not working

Posted by Brett Romero <br...@realmagnet.com>.
----- Original Message ----- 
From: "Bill Landry" <bi...@pointshare.com>
To: "Brett Romero" <br...@realmagnet.com>; <us...@spamassassin.apache.org>
Sent: Monday, October 04, 2004 1:00 PM
Subject: Re: SPF not working


> ----- Original Message ----- 
> From: "Brett Romero" <br...@realmagnet.com>
>
>> 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 


Re: SPF not working

Posted by Bill Landry <bi...@pointshare.com>.
----- Original Message ----- 
From: "Brett Romero" <br...@realmagnet.com>

> All of these entries are in the debug.  So far, everything is setup and
> running as it should.  Just nothing coming through on the reporting.  Any
> suggestions?

Sorry, don't know what else to tell you.  I spawn SA via Amavisd-New, and I
see the SPF pass/fail reports in my message headers and logs.

Bill


Re: SPF not working

Posted by Brett Romero <br...@realmagnet.com>.
----- Original Message ----- 
From: "Bill Landry" <bi...@pointshare.com>
To: "Brett Romero" <br...@realmagnet.com>; <us...@spamassassin.apache.org>
Sent: Monday, October 04, 2004 1:00 PM
Subject: Re: SPF not working


> ----- Original Message ----- 
> From: "Brett Romero" <br...@realmagnet.com>
>
>> 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
>

All of these entries are in the debug.  So far, everything is setup and 
running as it should.  Just nothing coming through on the reporting.  Any 
suggestions?

Thanks for all of the help.
Brett 


Re: SPF not working

Posted by Bill Landry <bi...@pointshare.com>.
----- Original Message ----- 
From: "Brett Romero" <br...@realmagnet.com>

> 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


Re: SPF not working

Posted by Brett Romero <br...@realmagnet.com>.
----- Original Message ----- 
From: "Bill Landry" <bi...@pointshare.com>
To: "Brett Romero" <br...@realmagnet.com>; <us...@spamassassin.apache.org>
Sent: Monday, October 04, 2004 12:19 PM
Subject: Re: SPF not working


> ----- Original Message ----- 
> From: "Brett Romero" <br...@realmagnet.com>
>
>> >> If there is no SPF result, because the domain has not
>> >> published SPF records, then no SPF header or log entry will appear.
>> >>
>> >
>> > Which means it won't appear for most mail.
>>
>> Thank you.  If I input the domain name in question and its related IP
>> address at http://www.dnsstuff.com/pages/spf.htm, the result displays a
>> "PASS".  There are also results when I run SA from the command line and
> use
>> the debug switch.
>>
>> Given the above, I still don't understand why SA will not display the SPF
>> results in the reports.  The domain does have SPF records.
>>
>> I've listed below the message header, SA debug results for the SPF area,
> and
>> dnsstuff.com SPF results.
> [SNIP]
>> Why does DNSstuff.com pass it but SA doesn't show anything in the
> reporting?
>
> Did you install the SPF plug-in as outlined in the INSTALL file?  Relevant
> part of the INSTALL instructions:
> ==========
>  - Mail::SPF::Query     (from CPAN)
>
>    Used to check DNS Sender Policy Framework (SPF) records to fight email
>    address forgery and make it easier to identify spams.
>
>    Net::DNS version 0.34 or higher is required to use Mail::SPF::Query.
> ==========
>
> You will also need to make sure that you have SPF enabled in your init.pre
> file:
>
> loadplugin Mail::SpamAssassin::Plugin::SPF
>
> Bill

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.

Thanks,
Brett 


Re: SPF not working

Posted by Bill Landry <bi...@pointshare.com>.
----- Original Message ----- 
From: "Brett Romero" <br...@realmagnet.com>

> >> If there is no SPF result, because the domain has not
> >> published SPF records, then no SPF header or log entry will appear.
> >>
> >
> > Which means it won't appear for most mail.
>
> Thank you.  If I input the domain name in question and its related IP
> address at http://www.dnsstuff.com/pages/spf.htm, the result displays a
> "PASS".  There are also results when I run SA from the command line and
use
> the debug switch.
>
> Given the above, I still don't understand why SA will not display the SPF
> results in the reports.  The domain does have SPF records.
>
> I've listed below the message header, SA debug results for the SPF area,
and
> dnsstuff.com SPF results.
[SNIP]
> Why does DNSstuff.com pass it but SA doesn't show anything in the
reporting?

Did you install the SPF plug-in as outlined in the INSTALL file?  Relevant
part of the INSTALL instructions:
==========
  - Mail::SPF::Query     (from CPAN)

    Used to check DNS Sender Policy Framework (SPF) records to fight email
    address forgery and make it easier to identify spams.

    Net::DNS version 0.34 or higher is required to use Mail::SPF::Query.
==========

You will also need to make sure that you have SPF enabled in your init.pre
file:

loadplugin Mail::SpamAssassin::Plugin::SPF

Bill


Re: SPF not working

Posted by Brett Romero <br...@realmagnet.com>.
----- Original Message ----- 
From: "Kai Schaetzl" <ma...@conactive.com>
To: <us...@spamassassin.apache.org>
Sent: Sunday, October 03, 2004 7:31 AM
Subject: Re: SPF not working


> Bill Landry wrote on Fri, 1 Oct 2004 16:03:56 -0700:
>
>> If there is no SPF result, because the domain has not
>> published SPF records, then no SPF header or log entry will appear.
>>
>
> Which means it won't appear for most mail.

Thank you.  If I input the domain name in question and its related IP 
address at http://www.dnsstuff.com/pages/spf.htm, the result displays a 
"PASS".  There are also results when I run SA from the command line and use 
the debug switch.

Given the above, I still don't understand why SA will not display the SPF 
results in the reports.  The domain does have SPF records.

I've listed below the message header, SA debug results for the SPF area, and 
dnsstuff.com SPF results.

MESSAGE HEADER:
Return-Path: <mm...@magnetdev.com>
Delivered-To: meisen@www.realmagnet.com
Received: (qmail 19026 invoked from network); 4 Oct 2004 14:35:10 -0000
Received: from mail1.magnetmail.net (64.106.137.140)
  by 64.106.156.40 with SMTP; 4 Oct 2004 14:35:10 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative; 
boundary="ThisIsMIMEBoundary538791404378"
Date: Mon, 04 Oct 2004 10:39:45 -0400
From: Mitch Eisen<me...@realmagnet.com>
Subject: Test Message
To: meisen@realmagnet.com

SA DEBUG RESULTS:
debug: all '*To' addrs: meisen@realmagnet.com meisen@www.realmagnet.com
debug: registering glue method for check_for_spf_softfail 
(Mail::SpamAssassin::Plugin::SPF
=HASH(0x2641014))
debug: SPF: checking EnvelopeFrom (helo=mail1.magnetmail.net, 
ip=64.106.137.140, envfrom=m
mreturn@magnetdev.com)
debug: SPF: query for 
mmreturn@magnetdev.com/64.106.137.140/mail1.magnetmail.net: result:
unknown, comment: SPF record error: bad argument to ip4: 66.70.82.40,
debug: registering glue method for check_for_spf_pass 
(Mail::SpamAssassin::Plugin::SPF=HAS
H(0x2641014))
debug: registering glue method for check_for_spf_helo_softfail 
(Mail::SpamAssassin::Plugin
::SPF=HASH(0x2641014))
debug: registering glue method for check_for_spf_helo_fail 
(Mail::SpamAssassin::Plugin::SP
F=HASH(0x2641014))
debug: running body-text per-line regexp tests; score so far=1.648
debug: running uri tests; score so far=1.648

DNSSTUFF.COM RESULTS:
SPF Information for 64.106.137.140
SPF lookup of sender droid@magnetdev.com from IP 64.106.137.140:
SPF string used: v=spf1 ip4:66.70.82.40, ip4:64.106.137.140, 
ip4:65.17.192.13, ip4:65.17.192.14, ip4:65.17.192.15, ip4:209.18.70.5/24 
mx:66.70.82.40, mx:64.106.137.140, mx:65.17.192.13, mx:65.17.192.14, 
mx:65.17.192.15, mx:209.18.70.5/24 include:magnetmail.net -all.
Processing SPF string: v=spf1 ip4:66.70.82.40, ip4:64.106.137.140, 
ip4:65.17.192.13, ip4:65.17.192.14, ip4:65.17.192.15, ip4:209.18.70.5/24 
mx:66.70.82.40, mx:64.106.137.140, mx:65.17.192.13, mx:65.17.192.14, 
mx:65.17.192.15, mx:209.18.70.5/24 include:magnetmail.net -all.
Testing 'ip4:66.70.82.40,' on IP=64.106.137.140, target domain 66.70.82.40,, 
CIDR 32, default=PASS.  No match.
Testing 'ip4:64.106.137.140,' on IP=64.106.137.140, target domain 
64.106.137.140,, CIDR 32, default=PASS.  MATCH!
Testing 'ip4:65.17.192.13,' on IP=64.106.137.140, target domain 
65.17.192.13,, CIDR 32, default=PASS.  Testing 'ip4:65.17.192.14,' on 
IP=64.106.137.140, target domain 65.17.192.14,, CIDR 32, default=PASS. 
Testing 'ip4:65.17.192.15,' on IP=64.106.137.140, target domain 
65.17.192.15,, CIDR 32, default=PASS.  Testing 'ip4:209.18.70.5/24' on 
IP=64.106.137.140, target domain 209.18.70.5/24, CIDR 24, default=PASS. 
Testing 'mx:66.70.82.40,' on IP=64.106.137.140, target domain 66.70.82.40,, 
CIDR 32, default=PASS.  Testing 'mx:64.106.137.140,' on IP=64.106.137.140, 
target domain 64.106.137.140,, CIDR 32, default=PASS.  Testing 
'mx:65.17.192.13,' on IP=64.106.137.140, target domain 65.17.192.13,, CIDR 
32, default=PASS.  Testing 'mx:65.17.192.14,' on IP=64.106.137.140, target 
domain 65.17.192.14,, CIDR 32, default=PASS.  Testing 'mx:65.17.192.15,' on 
IP=64.106.137.140, target domain 65.17.192.15,, CIDR 32, default=PASS. 
Testing 'mx:209.18.70.5/24' on IP=64.106.137.140, target domain 
209.18.70.5/24, CIDR 24, default=PASS.  Testing 'include:magnetmail.net' on 
IP=64.106.137.140, target domain magnetmail.net, CIDR 32, default=PASS. 
Testing 'all' on IP=64.106.137.140, target domain magnetdev.com, CIDR 32, 
default=FAIL.
Result: PASS
Known Issues:
None.

Why does DNSstuff.com pass it but SA doesn't show anything in the reporting?

Thanks,
Brett 


Re: SPF not working

Posted by Kai Schaetzl <ma...@conactive.com>.
Bill Landry wrote on Fri, 1 Oct 2004 16:03:56 -0700:

> If there is no SPF result, because the domain has not
> published SPF records, then no SPF header or log entry will appear.
>

Which means it won't appear for most mail.


Kai

-- 

Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org




Re: SPF not working

Posted by Bill Landry <bi...@pointshare.com>.
----- Original Message ----- 
From: "Brett Romero" <br...@realmagnet.com>

> I've tried this but still don't get the SPF results.  Any other
suggestions?
>
> Does it only appear if the header info is non SPF?  Or, when does it
appear?

No, the header and log entries will only appear if there is either a pass or
fail result.  If there is no SPF result, because the domain has not
published SPF records, then no SPF header or log entry will appear.

Bill


Re: SPF not working

Posted by Brett Romero <br...@realmagnet.com>.
----- Original Message ----- 
From: "Raymond Dijkxhoorn" <ra...@prolocation.net>
To: "Daniel Quinlan" <qu...@pathname.com>
Cc: "Real Magnet - Brett Romero" <br...@realmagnet.com>; 
<us...@spamassassin.apache.org>
Sent: Friday, October 01, 2004 5:12 PM
Subject: Re: SPF not working


> Hi!
>
>>> Naturally these scores are something you could alter, and most likely 
>>> you
>>> should ;)
>>
>> Sorry, that is bad advice.  Do not do that.
>>
>> 1. Make sure you have the required modules as specified in the INSTALL
>>   document (Net::DNS and Mail::SPF::Query)
>
> You are right. I noticed they were added to the default scores in 3.0.x
>
> 50_scores.cf:score SPF_PASS -0.001
> 50_scores.cf:score SPF_FAIL 0 0 0 0.875
> 50_scores.cf:score SPF_SOFTFAIL 0.500 0.842 0.500 0.500
> 50_scores.cf:score SPF_HELO_PASS -0.001
> 50_scores.cf:score SPF_HELO_FAIL 0 0.405 0 0.001
> 50_scores.cf:score SPF_HELO_SOFTFAIL 0 1.002 0 3.140
>
>> 2. Put this single line into init.pre which should be in
>>   /etc/spamassassin or /etc/mail/spamassassin:
>>
>> ------- start of cut text --------------
>> loadplugin Mail::SpamAssassin::Plugin::SPF
>> ------- end ----------------------------
>
> Thanks.
> Raymond.

I've tried this but still don't get the SPF results.  Any other suggestions?

Does it only appear if the header info is non SPF?  Or, when does it appear?

Thanks,
Brett 


Re: SPF not working

Posted by Raymond Dijkxhoorn <ra...@prolocation.net>.
Hi!

>> Naturally these scores are something you could alter, and most likely you
>> should ;)
>
> Sorry, that is bad advice.  Do not do that.
>
> 1. Make sure you have the required modules as specified in the INSTALL
>   document (Net::DNS and Mail::SPF::Query)

You are right. I noticed they were added to the default scores in 3.0.x

50_scores.cf:score SPF_PASS -0.001
50_scores.cf:score SPF_FAIL 0 0 0 0.875
50_scores.cf:score SPF_SOFTFAIL 0.500 0.842 0.500 0.500
50_scores.cf:score SPF_HELO_PASS -0.001
50_scores.cf:score SPF_HELO_FAIL 0 0.405 0 0.001
50_scores.cf:score SPF_HELO_SOFTFAIL 0 1.002 0 3.140

> 2. Put this single line into init.pre which should be in
>   /etc/spamassassin or /etc/mail/spamassassin:
>
> ------- start of cut text --------------
> loadplugin Mail::SpamAssassin::Plugin::SPF
> ------- end ----------------------------

Thanks.
Raymond.

Re: SPF not working

Posted by Brett Romero <br...@realmagnet.com>.
----- Original Message ----- 
From: "Dermot McNally" <de...@traveldev.com>
To: "Daniel Quinlan" <qu...@pathname.com>
Cc: "Raymond Dijkxhoorn" <ra...@prolocation.net>; "Real Magnet - Brett 
Romero" <br...@realmagnet.com>; <us...@spamassassin.apache.org>
Sent: Tuesday, October 05, 2004 5:03 AM
Subject: Re: SPF not working


> Daniel Quinlan wrote:
>
> > 2. Put this single line into init.pre which should be in
> >    /etc/spamassassin or /etc/mail/spamassassin:
> >
> > ------- start of cut text --------------
> > loadplugin Mail::SpamAssassin::Plugin::SPF
> > ------- end ----------------------------
>
>
> Interesting - I'm having a similar problem as far as I can see. None of my 
> incoming mail is picking up any scores that seem related to SPF, even when 
> I try to provoke it with faked mails.
>
> I _do_ have this line in init.pre. However, our SA runs out of MimeDefang, 
> and I have a feeling it somehow bypasses init.pre. I certainly seem to get 
> different scoring when I pass the same messages through the smapassassin 
> command-line tool.
>
> Is there any _other_ way of loading the plugin?
>
> Dermot

According to the debug output, my SPF plugin is loading.  I'm concerned 
about the line parsing errors I see for the scores I've entered in local.cf. 
That might be why SPF is not running.  Not sure though.

Brett 


Re: SPF not working

Posted by Daniel Quinlan <qu...@pathname.com>.
>> Yes, I did install the module.  How do I makes sure the scores are enabled 
>> inside the local.cf file?  What exactly am I looking for?
 
Raymond Dijkxhoorn <ra...@prolocation.net> writes:

> Well. Put something inside like:
> 
> score SPF_PASS -0.974
> score SPF_FAIL 0 0.974 0 0.875
> score SPF_SOFTFAIL 0.500
> score SPF_HELO_PASS -0.25
> score SPF_HELO_FAIL 0.500
> score SPF_HELO_SOFTFAIL 0 0.907 0 3.140
> 
> Naturally these scores are something you could alter, and most likely you 
> should ;)

Sorry, that is bad advice.  Do not do that.

1. Make sure you have the required modules as specified in the INSTALL
   document (Net::DNS and Mail::SPF::Query)

2. Put this single line into init.pre which should be in
   /etc/spamassassin or /etc/mail/spamassassin:

------- start of cut text --------------
loadplugin Mail::SpamAssassin::Plugin::SPF
------- end ----------------------------

3. If you are using spamd or another daemon, restart it.

Daniel

-- 
Daniel Quinlan                     ApacheCon! 13-17 November (3 SpamAssassin
http://www.pathname.com/~quinlan/  http://www.apachecon.com/  sessions & more)

Re: SPF not working

Posted by Brett Romero <br...@realmagnet.com>.
----- Original Message ----- 
From: "Raymond Dijkxhoorn" <ra...@prolocation.net>
To: "Real Magnet - Brett Romero" <br...@realmagnet.com>
Cc: <us...@spamassassin.apache.org>
Sent: Friday, October 01, 2004 4:19 PM
Subject: Re: SPF not working


> Hi!
>
>>>> I'm using SA 3.0 on Win Server 2003.  The SPF results never show up in 
>>>> my reports.  It does show up in the debug information.  How do I get 
>>>> the SPF info to show up in the reporting info?
>
>>> Did you install the needed perl module to do that, and did you also 
>>> enable the scores inside your local.cf ?
>
>> Yes, I did install the module.  How do I makes sure the scores are 
>> enabled inside the local.cf file?  What exactly am I looking for?
>
> Well. Put something inside like:
>
> score SPF_PASS -0.974
> score SPF_FAIL 0 0.974 0 0.875
> score SPF_SOFTFAIL 0.500
> score SPF_HELO_PASS -0.25
> score SPF_HELO_FAIL 0.500
> score SPF_HELO_SOFTFAIL 0 0.907 0 3.140

Is there a specific place in the file where these need to be added?  Where 
is this information referenced on the website?

Also, do I need to do any type of command line initialization for the 
effects to take place?  What exactly would that be?

Thanks,
Brett 


Re: [sa-list] Re: SPF not working

Posted by "Dan Mahoney, System Admin" <da...@prime.gushi.org>.
On Fri, 1 Oct 2004, Raymond Dijkxhoorn wrote:

Are there recommended values for these?

-Dan


> Hi!
>
>>>> I'm using SA 3.0 on Win Server 2003.  The SPF results never show up in 
>>>> my reports.  It does show up in the debug information.  How do I get 
>>>> the SPF info to show up in the reporting info?
>
>>> Did you install the needed perl module to do that, and did you also 
>>> enable the scores inside your local.cf ?
>
>> Yes, I did install the module.  How do I makes sure the scores are enabled 
>> inside the local.cf file?  What exactly am I looking for?
>
> Well. Put something inside like:
>
> score SPF_PASS -0.974
> score SPF_FAIL 0 0.974 0 0.875
> score SPF_SOFTFAIL 0.500
> score SPF_HELO_PASS -0.25
> score SPF_HELO_FAIL 0.500
> score SPF_HELO_SOFTFAIL 0 0.907 0 3.140
>
> Naturally these scores are something you could alter, and most likely you 
> should ;)
>
> Bye,
> Raymond.
>

--

"I'll commit ritual suicide before I whore myself out to Disney."

--Emi Bryant
   April 26, 2004
   On the animation industry

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------


Re: SPF not working

Posted by Raymond Dijkxhoorn <ra...@prolocation.net>.
Hi!

>>> I'm using SA 3.0 on Win Server 2003.  The SPF results never show up in my 
>>> reports.  It does show up in the debug information.  How do I get the SPF 
>>> info to show up in the reporting info?

>> Did you install the needed perl module to do that, and did you also enable 
>> the scores inside your local.cf ?

> Yes, I did install the module.  How do I makes sure the scores are enabled 
> inside the local.cf file?  What exactly am I looking for?

Well. Put something inside like:

score SPF_PASS -0.974
score SPF_FAIL 0 0.974 0 0.875
score SPF_SOFTFAIL 0.500
score SPF_HELO_PASS -0.25
score SPF_HELO_FAIL 0.500
score SPF_HELO_SOFTFAIL 0 0.907 0 3.140

Naturally these scores are something you could alter, and most likely you 
should ;)

Bye,
Raymond.

Re: SPF not working

Posted by Real Magnet - Brett Romero <br...@realmagnet.com>.
----- Original Message ----- 
From: "Raymond Dijkxhoorn" <ra...@prolocation.net>
To: "Real Magnet - Brett Romero" <br...@realmagnet.com>
Cc: <us...@spamassassin.apache.org>
Sent: Friday, October 01, 2004 4:14 PM
Subject: Re: SPF not working


> Hi!
>
>> I'm using SA 3.0 on Win Server 2003.  The SPF results never show up in my 
>> reports.  It does show up in the debug information.  How do I get the SPF 
>> info to show up in the reporting info?
>
> Did you install the needed perl module to do that, and did you also enable 
> the scores inside your local.cf ?
>
> Bye,
> Raymond.

Yes, I did install the module.  How do I makes sure the scores are enabled 
inside the local.cf file?  What exactly am I looking for?

Thanks,
Brett 


Re: SPF not working

Posted by Raymond Dijkxhoorn <ra...@prolocation.net>.
Hi!

> I'm using SA 3.0 on Win Server 2003.  The SPF results never show up in 
> my reports.  It does show up in the debug information.  How do I get the 
> SPF info to show up in the reporting info?

Did you install the needed perl module to do that, and did you also enable 
the scores inside your local.cf ?

Bye,
Raymond.