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!

Blocking an email with SpamAssassin

Discussion in 'E-mail Discussion' 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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,400
    Likes Received:
    1,952
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice