Page 1 of 1

How to increase the score if if it sends to a specific mail address

Posted: 03 Dec 2015 16:29
by fodil1
HI,

I need your help to reduce the amount of spam I am receiving and I am not familiar with spam assassin.
I want to create a rule to increase the score(+2) email from untrusted country domain(".ru",".ch",".kz",...) to certain email address like rh@mydomain.com,info@mydomain.com.I found a couple of post saying to create a regular expression to create a rule in that file.
/var/lib/spamassassin/3.004000/updates_spamassassin_org/72_active.cf
I checked that file but I am not sure how to create it.
I have the lastest version of E.F.A

Fodil,

Re: How to increase the score if if it sends to a specific mail address

Posted: 05 Dec 2015 10:36
by shawniverson
Hello, you need to create a custom SpamAssassin rule, and/or modify the ok languages option in SpamAssassin.

This is all done in /etc/mail/spamassassin/local.cf

https://wiki.apache.org/spamassassin/WritingRules

And the ok languages option...

Code: Select all

ok_languages en, fr, de