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.