Adding rules to spamassassin/configserver.cf have no effect.

Discuss the ConfigServer MailScanner Front-End script
Post Reply
jols
Junior Member
Posts: 111
Joined: 08 May 2007, 04:43

Adding rules to spamassassin/configserver.cf have no effect.

Post by jols »

... but it's probably just me.

I am trying to not block, but just elevate the overall score if email is sent from certain TLDs.

I've read all the form/group posts and spamassassin instructions pages I can find, but still there's no mention of these new scores in any new headers that I can find (that is sending from one of these domains).

Here are the new rules I have added to:

/etc/mail/spamassassin/configserver.cf

header LOCAL_LS_FROM_DOT_ME ALL =~ /*\.me/i
score LOCAL_LS_FROM_DOT_ME 2.1

header LOCAL_LS__FROM_DOT_US ALL =~ /*\.us/i
score LOCAL_LS_FROM_DOT_US 1.6

header LOCAL_LS_FROM_DOT_RU ALL =~ /*\.ru/i
score LOCAL_LS_FROM_DOT_RU 2.2

header LOCAL_LS_FROM_DOT_RO ALL =~ /*\.ro/i
score LOCAL_LS_FROM_DOT_RO 2.2



Do these look okay? Should I restart spamassassin somehow in order for these to take effect, if so, then how would I do this, out side of restarting WHMCS --> Mailscanner

Thanks much.
jols
Junior Member
Posts: 111
Joined: 08 May 2007, 04:43

Re: Adding rules to spamassassin/configserver.cf have no eff

Post by jols »

Also, I found instructions to run the following after making a rule change to check for errors:

spamassassin --lint

But this does not work at shell. I've searched for a spamassassin binary, so that I may run this command, but can find none.
Post Reply