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 - Force Global ON for all accounts but one

Discussion in 'E-mail Discussion' started by Legendary, Sep 23, 2015.

  1. Legendary

    Legendary Member

    Joined:
    Aug 13, 2015
    Messages:
    24
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Is this possible? If so, how do I do it via cPanel/WHM?

    One more thing: If SA is disabled for a specific account and I have "Scan outgoing messages for spam" enabled, would their outgoing emails be scanned or not?
     
    #1 Legendary, Sep 23, 2015
    Last edited by a moderator: Sep 23, 2015
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    1. You can enable the following option under the "Apache SpamAssassin" tab in "WHM Home » Service Configuration » Exim Configuration Manager":

    "Apache SpamAssassin™: Forced Global ON"

    However, note that you can't disable SpamAssassin for individual accounts when this is enabled.

    2. Yes, the outgoing email is scanned by SpamAssassin when "Scan outgoing messages for spam and reject based on the Apache SpamAssassin™ internal spam_score setting" is enabled, even if SpamAssassin is disabled for incoming email for the account.

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

    Legendary Member

    Joined:
    Aug 13, 2015
    Messages:
    24
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Thanks.

    Is there a way to set SpamAssassin to ON by default, but allow users to disable/enable SA whenever they want?
     
  4. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    21
    Trophy Points:
    143
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hello:

    There is no supported way to do this in the WHM or cPanel interface. However, if a user removes the .spamassassinenable file in the user's home directory, that will disable SpamAssassin for that particular account. That offers a manual way to do what you want. If you would like to see an option for SpamAssassin to default to enabled for new accounts, I recommend that you submit a feature request. You can do that here:

    https://features.cpanel.net/

    The only similar feature request I found in a quick search was the following:

    https://features.cpanel.net/topic/enable-spam-box-by-default-for-all-domains-if-spamassassin-spam-box-delivery-for-messages-marked-as-spam-is-enabled

    That is a little different from what you want, though, so I suggest that you make a separate feature request for SpamAssassin to default to enabled for new accounts.
     
    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