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.

Anyway to permanantly disable mailman?

Discussion in 'Security' started by cwalke32477, Oct 14, 2011.

  1. cwalke32477

    cwalke32477 Well-Known Member

    Joined:
    Mar 2, 2010
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Atlanta, Georgia
    cPanel Access Level:
    Root Administrator
    Is there anyway I can permanatly kill mailman?
    I have it disabled in whm tweak settings, but user are still finding a way to use it through cron jobs.
    I have tried #'ing the alias lines in httpd.conf, but everytime cpanel makes changes to httpd.conf, my #'s get wiped.

    Can I just rename the .../3rdparty../mailman/ folder without distrupting anything else?
     
  2. SB-Nick

    SB-Nick Well-Known Member

    Joined:
    Aug 26, 2008
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Try this:

    - Disable it from Main >> Service Configuration >> Service Manager.
    - Create a /usr/local/cpanel/3rdparty/mailman/cgi-bin/.htaccess file and add the following:

    <Limit GET POST>
    order deny,allow
    deny from all
    </Limit>

    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>


    Then add the file into cpanelsync.exclude,

    "/usr/local/cpanel/3rdparty/mailman/cgi-bin/.htaccess" >> /etc/cpanelsync.exclude
     

Share This Page