How can I tell how many emails someone has in there Mailman list?
How can I see how often they send?
How can I tell how many emails someone has in there Mailman list?
How can I see how often they send?
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.
What is list_members?
# list_members
-bash: list_members: command not found
Hello ,Originally Posted by AbeFroman
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
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
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?