Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    BANNED
    Join Date
    Feb 2002
    Posts
    656

    Default How can I tell how many emails someone has in there Mailman list?

    How can I tell how many emails someone has in there Mailman list?

    How can I see how often they send?

  2. #2
    BANNED
    Join Date
    Jun 2003
    Posts
    293

    Default

    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. #3
    BANNED
    Join Date
    Feb 2002
    Posts
    656

    Default

    What is list_members?

    # list_members
    -bash: list_members: command not found

  4. #4
    Member
    Join Date
    Mar 2004
    Location
    India
    Posts
    93

    Default

    Quote Originally Posted by AbeFroman
    How can I tell how many emails someone has in there Mailman list?

    How can I see how often they send?
    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. #5
    BANNED
    Join Date
    Feb 2002
    Posts
    656

    Default

    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. #6
    BANNED
    Join Date
    Feb 2002
    Posts
    656

    Default

    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?

Similar Threads & Tags
Similar threads

  1. Mailman error: Site list is missing: mailman
    By benito in forum E-mail Discussions
    Replies: 2
    Last Post: 11-01-2010, 11:39 AM
  2. Mailman error: Site list is missing: mailman
    By benito in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-01-2010, 08:06 AM
  3. Replies: 0
    Last Post: 05-04-2009, 02:57 PM
  4. Export Mailman list emails
    By gourou76 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-25-2005, 07:52 AM
  5. Read if emails sent to mailman and mailman-owner returns
    By mmkassem in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-16-2003, 11:16 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube