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.

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

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

  1. vivek

    vivek Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    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
     
Loading...

Share This Page