Adding rules to spamassassin/configserver.cf have no effect.
Posted: 20 Feb 2014, 09:27
... 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.
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.