Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Blocking an email with SpamAssassin

Discussion in 'E-mail Discussions' started by Abin C Jose, Jul 6, 2017.

Tags:
  1. Abin C Jose

    Abin C Jose Registered

    Joined:
    Jul 6, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ernakulam
    cPanel Access Level:
    Root Administrator
    Need to block Email with fully capital Subject by rule, How can i enable this in Spamassassins
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page