SpamAssassin can be configured from cPanel of each domain. It can be customized further by
adding rules or filters.
In order to specify custom rules for a domain, you need to create the file
~/.spamassassin/user_prefs’ for each domain.
For eg, for the domain letushare.com under the account letushare, you need to create a file /home/letushare/.spamassassin/user_prefs and add the custom rules.
A simple rule,
body LOCAL_DEMONSTRATION_RULE /test/
score LOCAL_DEMONSTRATION_RULE 0.1
This rule does a simple case-sensitive search of the body of the email for the string
“test” and adds a 0.1 to the score of the email if it finds it. It will match “test”
but also “testing” and “attest”. The describe statement contains the text which will
be placed into the verbose report, if verbose reports are used.