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!

Spam filters - body contains

Discussion in 'E-mail Discussion' started by LarryAhmeen, Jan 9, 2017.

  1. LarryAhmeen

    LarryAhmeen Registered

    Jan 9, 2017
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I receive about 40 spam emails a day, I don't like it but thankfully most of them are captured by spamassassin. Still, I'd rather I didn't ever see them at all.

    Interestingly, all of the spam emails have the same sign off, they all end with:

    "This offer is brought to you by Capital Movements If you would no longer like to receive emails from To be removed from our list simply Unsubscribe. or write to us at: Capital movements , P.O box 340254, columbus,oh,43234"
    So, it should be easy to just delete them based on this recurring piece of text.

    I set up a global filter in cPanel and prioritised it above spamassassin. The rule is: IF BODY CONTAINS This offer is brought to you by Capital Movements - then discard message. When I test it, it works.

    However, it doesn't work on the spam emails themselves. They still go into my spam folder, but they slip past the first rule.

    How is the filter being bypassed? I've looked at the email raw source and the text is right there in the body of the message, so it should be caught.

    Does anyone have any suggestions on how I can block these emails entirely?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Have you considered using the "Spam Auto-Delete" feature instead? The Spam Auto-Delete feature automatically deletes messages that meet or exceed the spam score limit. It's documented at:

    Apache SpamAssassin - Documentation - cPanel Documentation

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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