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!

Totally disable Mailman?

Discussion in 'E-mail Discussion' started by internetbug256, Oct 6, 2017.

Tags:
  1. internetbug256

    Joined:
    Jul 11, 2012
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hi there
    Due to a very strict annual audit, I am asked to disable any default page that Mailman could show, like /mailman/listinfo/ (try it yourself in your installation). That page also reveals the mailman version running.

    I've been digging into Mailman settings and Apache confs but couldn't hit the nail. Even renaming the listinfo.py and listinfo.pyc Python files to something else is giving me a nice "hey, we have a bug" page showing the Mailman version!

    Is there any way to totally make dissapear Mailman from a cPanel installation?

    Thanks in advance
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,664
    Likes Received:
    69
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    assuming you have all ready disabled mailmain from service manager
    Code:
    cp -a /var/cpanel/templates/apache2_4/ea4_main.default /var/cpanel/templates/apache2_4/ea4_main.local
    edit /var/cpanel/templates/apache2_4/ea4_main.local
    and remove the lines 2 lines

    Alias /mailman/archives /usr/local/cpanel/3rdparty/mailman/archives/public/
    ScriptAlias /mailman /usr/local/cpanel/3rdparty/mailman/cgi-bin/

    and run

    /scripts/rebuildhttpdconf
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,633
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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