Adding custom rules - spamassassin

David Jones djones at
Tue Oct 10 11:22:40 UTC 2017

On 10/10/2017 06:13 AM, Koby Peleg Hen wrote:
> Hello All
> I Would like to add a custom rules to spamassassin to prevent specific  
> body / header content.
> Please show me a quick example.

Create a new .cf file in /etc/mail/spamassassin with your custom 
rule(s).  Run 'spamassassin --lint' to make sure SA is happy with your 
rule syntax.

> Thank you for your co operation
> Koby Peleg Hen

More information about the MailScanner mailing list