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!

SpamAssassin not blocking emails with invalid SPF?

Discussion in 'E-mail Discussion' started by Vipin Haridas, Aug 10, 2018.

  1. Vipin Haridas

    Vipin Haridas Member

    Joined:
    Aug 3, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Sorry for re-opening this old thread. But need some clarifications here. It seems, just enabling spamassassin is not blocking the emails with invalid SPF - even if we setup Hardfail.

    To make this work, I had to setup "Apache SpamAssassin™ reject spam score threshold" on WHM Tweak settings and set a "SPF_FAIL" score on the "spam filters" option on cPanel.

    Is this how we need to set this up? Is there any way to reject emails with invalid SPF records globally (Server wide rather than setting the "SPF_FAIL" score on cPanel spam filter)?.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,204
    Likes Received:
    228
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @Vipin Haridas


    Would it be possible to provide the headers including spam scoring of a message that was allowed through SpamAssassin with an invalid SPF? The SPF check is part of the SpamAssassin configuration:

    Code:
    # grep SPF /etc/mail/spamassassin/init.pre
    # SPF - perform SPF verification.
    loadplugin Mail::SpamAssassin::Plugin::SPF
    So it does indeed verify.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    linux4me2 likes this.
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