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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Totally disable Mailman?

Discussion in 'E-mail Discussions' 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,615
    Likes Received:
    51
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page