Page 1 of 1

How to increase score for SPF Fail emails in SpamAssasin

Posted: 27 May 2015 13:34
by maxkmv
There are thousands of fake invoices hitting our server every day. I noticed nearly 99% of them are sent from IPs with SPF Fail. Is it possible to reconfigure SpamAssasin to give bigger score (and therefore either totally block as spam or mark and forward to user as "possibly spam"?) to all received emails with SPF Fail?
Thanks!

Re: How to increase score for SPF Fail emails in SpamAssasin

Posted: 27 May 2015 13:42
by maxkmv
I noticed it always gives a score of 0.67 to all SPF SOFT Fail emails. Can this be increased, say to 4 or 5?

Re: How to increase score for SPF Fail emails in SpamAssasin

Posted: 27 May 2015 14:40
by pdwalker
The wiki (https://efa-project.org/wiki/HowTos) has some links back to the forums for these kinds of things.

In your case, you should look at these links
viewtopic.php?f=14&t=814&p=2612&hilit=local.cf#p2612
viewtopic.php?f=13&t=827&p=3252#p2546

Re: How to increase score for SPF Fail emails in SpamAssasin

Posted: 27 May 2015 14:41
by pdwalker
Just be aware that a lot of legimate mail may also have spf failures as well.

Monitor your changes closely to be sure you're happy with the result.