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 can I tell how many emails someone has in there Mailman list?

Discussion in 'E-mail Discussion' started by AbeFroman, Aug 25, 2004.

  1. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    How can I tell how many emails someone has in there Mailman list?

    How can I see how often they send?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cyberspirit

    cyberspirit BANNED

    Joined:
    Jun 27, 2003
    Messages:
    293
    Likes Received:
    0
    Trophy Points:
    166
    Mailman is not very good when it comes to site administration and statistics.
    You can do a list_members via ssh on the command line and have it piped into a file and then count the lines. Or you can go into every list's Gui and look at the numbers. I remember there is a command to be sent by email to get the information but I am not sure if this works with the site admin credentials.
    You might want to look at the mailman faq on the mailman site.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    What is list_members?

    # list_members
    -bash: list_members: command not found
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. vivek

    vivek Well-Known Member

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

    To Find a Members list of a Mailing list on the server you can use this command to find it
    "/usr/local/cpanel/3rdparty/mailman/bin/list_members List name (user_domainname.com)".
    This will display the members list of that mailing list.

    Enjoy !!

    Vivek
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    Thanks!

    How can I get this in a readable format, with the list name next to the number?

    [/usr/local/cpanel/3rdparty/mailman/lists]# for i in `ls -a`;do `/usr/local/cpanel/3rdparty/mailman/bin/list_members $i | wc -l`;done;
    No such list: ./
    -bash: 0: command not found
    No such list: ../
    -bash: 0: command not found
    -bash: 155: command not found
    -bash: 205: command not found
    -bash: 810: command not found
    -bash: 7106: command not found
    -bash: 0: command not found
    -bash: 547: command not found
    -bash: 16: command not found
    -bash: 0: command not found
    -bash: 3170: command not found
    -bash: 0: command not found
    -bash: 24: command not found
    -bash: 22: command not found
    -bash: 0: command not found
    -bash: 1485: command not found
    -bash: 4: command not found
    -bash: 0: command not found
    -bash: 149: command not found
    -bash: 1: command not found
    -bash: 0: command not found
    -bash: 142: command not found
    -bash: 50: command not found
    -bash: 0: command not found
    -bash: 0: command not found
    -bash: 165: command not found
    -bash: 0: command not found
    -bash: 1: command not found
    -bash: 149: command not found
    -bash: 91: command not found
    -bash: 9: command not found
    -bash: 2: command not found
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    This works:
    #!/bin/bash

    for A in /usr/local/cpanel/3rdparty/mailman/lists/*; do
    echo $A
    echo `/usr/local/cpanel/3rdparty/mailman/bin/list_members $A | wc -l`
    done


    How can I get them to print side by side?
     
    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