On Tue, January 13, 2009 04:46, Nelson Serafica wrote: > I want to enable spf.
so far so good :) > AFAIK, it was enabled by default. > However, I want to change the score. Instead of -0.001, > I want it to change to -2. no no, see below > So I edit local.cf and put: > > header SPF_PASS eval:check_for_spf_pass() > describe SPF_PASS SPF: sender matches SPF record > score SPF_PASS -2 this way spammer can benefit for -2 in score by add there sending domain with spf, was this wanted ? > Then I update rules by doing spamassassin -D --lint. The debug says > there are 1 issues detected. > When I check the output of the debug, it says: > > [1217] warn: rules: failed to run SPF_PASS test, skipping: > [1217] warn: (Can't locate object method "check_for_spf_pass" via > package > "Mail::SpamAssassin::PerMsgStatus" at (eval 1248) line 1288. > [1217] warn: ) is spf plugin loaded in init.pre ? (same dir as local.cf) do "spamassassin 2>&1 -D --lint" reveals more missing perl modules ? > I have 25_spf.cf in my spamassassin default rules directory. Does > this mean that spf is not really enabled at all? Please advise how > to enable it if not and what is the proper way to change the > score if my way is not correct. you should not change default score as you did above but white list_auth the sender good way is so: whitelist_auth f...@example.net def_whitelist_auth *...@example.com then maybe change the scores for USER-IN-* that way spammer can add spf as thay wish, and you are still in control :) > I tried to check Mail::SpamAssassin::PerMsgStatus in > http://search.cpan.organd it point me to > Mail-SpamAssassin-3.2.5.tar.gz. However, I'm already > using SpamAssassin Server version 3.2.5 newer mix cpan with distro install of packages, so if your spamassassin is rpm based use cpan2rpm -- Benny Pedersen Need more webspace ? http://www.servage.net/?coupon=cust37098