OS version 7.5.1
Hello,
I am trying to successfully make custom spamassassin rules in accordance with the documentation found here
http://wiki.contribs.org/Email. Here is the excerpt for doing so as follows:
*********************************************************************************
Custom Rule Scores
You can customize the score assigned by a specific Spamassassin rule (SARE_ADULT2 in this case) as follows:
mkdir -p /etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf
cd /etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf
echo "score SARE_ADULT2 20.000" >> 20localscores
signal-event email-update
You can now add additional tests and custom scores by editing the newly-created template fragment 20localscores and adding new custom scores using:
pico -w /etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf/20localscores
signal-event email-update
*********************************************************************************
This does not work for me as I have tried several times. I am simply trying to change the MISSING_SUBJECT rule to a score of 20. My command string was as follows:
mkdir -p /etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf
cd /etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf
echo "score MISSING_SUBJECT 20.000" >> 20localscores
signal-event email-update
This went through with no errors but does not work. I can edit spamassassin directly and get this to work with perl commands but not through the template system. I am trying to ban empty or blank subject emails. I might possibly have the wrong rule or maybe I am missing something here. Any help is appreciated.