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

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

  1. AbeFroman

    AbeFroman BANNED

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

    How can I see how often they send?
     
  2. cyberspirit

    cyberspirit BANNED

    Joined:
    Jun 27, 2003
    Messages:
    293
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  3. AbeFroman

    AbeFroman BANNED

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

    # list_members
    -bash: list_members: command not found
     
  4. vivek

    vivek Well-Known Member

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

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    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
     
  6. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    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?
     
Loading...

Share This Page