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!

Duplicate Mailman Config

Discussion in 'E-mail Discussion' started by jiska, May 8, 2017.

  1. jiska

    jiska Registered

    Mar 19, 2006
    Likes Received:
    Trophy Points:

    I have a need to create 20 mailman lists. Rather than setting all the options 20 times over, I want to copy the list I've setup 20 times and then just edit the members of that list.

    I can't find the list configuration files anywhere. Everywhere I look on the net says they are in /usr/local/cpanel/3rdparty/mailman but they are not there on my login

    Here is an ls of the path - any ideas?

    **@** [~]# ls /usr/local/cpanel/3rdparty/mailman -R
    ./ ../ bin/ cgi-bin/ mail/

    ./ ../

    ./ ../ admin* admindb* confirm* create edithtml* listinfo* options* private* rmlist roster* subscribe*

    ./ ../ mailman*
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Manually copying the Mailman configuration files isn't supported, however you could develop a script that utilizes the following UAPI function if you want to add new lists via the command line:

    UAPI Functions - Email::add_list - Software Development Kit - cPanel Documentation

    If you want to add users to an existing list, you'd use the following command while logged in as "root" via SSH:


    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