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!

modify modsecurity & spam assassin per account

Discussion in 'Security' started by James Tan, Apr 5, 2016.

  1. James Tan

    James Tan Member

    Nov 30, 2014
    Likes Received:
    Trophy Points:
    Kuala Lumpur, Malaysia
    cPanel Access Level:
    Root Administrator

    is there a way to enable / disable mod security on multiple account in a list of account?
    i would like to filter it by reseller.
    it would be great to work the same for spam assassins, i need to be able to enable/disable spam assassin for multiple account in few steps, and also able to set automatic delete email if spam score above X score for multiple account.

    is this features available?


    it would be also great to modify package to allow enable / disable mod security and also spam assassin configuration.
    i find it tedious to do one by one. im also in the middle of migrating many accounts from another provider.

    and it will be more awesome if we can actually duplicate package
    #1 James Tan, Apr 5, 2016
    Last edited by a moderator: Apr 5, 2016
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    1. You may find the following third-party application helpful for enabling/disabling Mod Security on a per-account basis from Web Host Manager:

    ConfigServer ModSecurity Control

    2. There is no supported method to enable/disable SpamAssassin on a per-account basis from Web Host Manager. However, you could remove the "/home/$username/.spamassassinenable" file from each account that you want to disable it on. Otherwise, feel free to open a feature request for the ability to enable/disable SpamAssassin on individual accounts from Web Host Manager:

    Submit A Feature Request

    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