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.

SpamAssassin - Force Global ON for all accounts but one

Discussion in 'E-mail Discussions' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    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/e...livery-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.
     
Loading...

Share This Page