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

Questions and answers about how to do stuff
Post Reply
fodil1
Posts: 5
Joined: 02 Dec 2015 21:50

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

Post 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,
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

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

Post 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
Post Reply