Blocking an email with SpamAssassin

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
Hello,

While writing a custom regular expression is outside our scope of support, the following URLs should help you get started should you decide to implement such a filter:

How to Configure Mail Filters - cPanel Knowledge Base - cPanel Documentation
Determine if string is all caps with regular expression

Should you prefer to use a custom SpamAssassin rule, you can find documentation on writing custom rules at:

WritingRules - Spamassassin Wiki

The global SpamAssassin configuration file on cPanel servers is located at:

/etc/mail/spamassassin/local.cf

Thank you.