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!

HOW TO ... Retrieve Email addresses of MailMan -- Maillist

Discussion in 'E-mail Discussion' started by vivek, Aug 26, 2004.

  1. vivek

    vivek Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    India
    Hello Friends,

    You can retrieve the list of email address of a particular mailman maillist by the following commands :

    Following is the path where you can find the MailMan lists on the WHM/Cpanel server

    cd /usr/local/cpanel/3rdparty/mailman/lists
    ./ ../ test_list_domain.com/

    Then go to the following path :
    cd /usr/local/cpanel/3rdparty/mailman/bin

    And fire the script list_members to get all the email addresses in a test.txt file.

    root[/usr/local/cpanel/3rdparty/mailman/bin]# ./list_members test_list_domain.com > test.txt

    When you cat the file you will find the email address of the maillist of test_list_domain.com

    root@server3 [/usr/local/cpanel/3rdparty/mailman/bin]# cat test.txt
    support@test.org
    test@test.com
    testing@testing.com


    Enjoy !!!

    :D Vivek :D
     
    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