SpamAssassin Rules - What services need to be restarted
Posted: 06 Jan 2017 03:56
Hello All,
Bit of a noob question here.
But when you write a custom SA rule in /etc/mail/spamassassin/local.cf what do you need to run/restart to update the rules.
I have tried
I notice that spamd doesn't run as a service. (assuming called by MailScanner on demand/child process)
If I reboot the new rule comes into effect. But don't really want to be rebooting while I am writing new rules.
On another note, I am writing rules for offensive words in subject header, are rules still the best way for this, I noticed a post mentioning MCP isn't advised by MailScanner anymore and SA Rules are best. Accurate?
Bit of a noob question here.
But when you write a custom SA rule in /etc/mail/spamassassin/local.cf what do you need to run/restart to update the rules.
I have tried
Code: Select all
sudo service MailScanner restart
If I reboot the new rule comes into effect. But don't really want to be rebooting while I am writing new rules.
On another note, I am writing rules for offensive words in subject header, are rules still the best way for this, I noticed a post mentioning MCP isn't advised by MailScanner anymore and SA Rules are best. Accurate?