You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Tarak Ranjan <co...@yahoo.co.in> on 2008/03/11 09:35:42 UTC

SPF with spamassassin

Hi, 

I need to understand how to implement and test spf with spamassassin. I 
have not found much information on the internet. Can anybody please help
with directions and/or practical tips. 

Thanks, 

/
Tarak



Re: SPF with spamassassin

Posted by Matt Kettler <mk...@verizon.net>.
Tarak Ranjan wrote:
> Hi, 
>
> I need to understand how to implement and test spf with spamassassin. I 
> have not found much information on the internet. Can anybody please help
> with directions and/or practical tips. 
>   
1) install the perl module Mail::SPF, or Mail::SPF::Query

2) make sure this line of init.pre is not commented out (should be 
uncommented by default):

loadplugin     Mail::SpamAssassin::Plugin::SPF


After that, SA should start using SPF.

If you need to tweak some of the more advanced settings:

http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Plugin_SPF.html

Also, if you get strange behaviors, check your trusted_networks. SA 
tends to get confused if your MX is NAT mapped, as it assumes the first 
public IP is part of your network.