Hi,
I am wondering if there is a monitoring application available for Mailman3 to display statistics about the number of emails send for each maillist.
Thanks Mohsen
On 3/11/21 7:03 PM, Mohsen Masoudfar wrote:
Hi,
I am wondering if there is a monitoring application available for Mailman3 to display statistics about the number of emails send for each maillist.
The data are in Mailman's smtp.log, but I'm not aware of anyone who's written anything to analyze it. It would be fairly easy to do depending on exactly what you want.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 3/11/21 8:05 PM, Mark Sapiro wrote:
The data are in Mailman's smtp.log, but I'm not aware of anyone who's written anything to analyze it. It would be fairly easy to do depending on exactly what you want.
You inspired me. See <https://www.msapiro.net/scripts/smtp_report>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Mar 12, 2021, at 12:10 AM, Mark Sapiro <mark@msapiro.net> wrote:
On 3/11/21 8:05 PM, Mark Sapiro wrote:
The data are in Mailman's smtp.log, but I'm not aware of anyone who's written anything to analyze it. It would be fairly easy to do depending on exactly what you want.
You inspired me. See <https://www.msapiro.net/scripts/smtp_report>.
I get the following error:
File "./smtp_report", line 44 print(f' {lname}: {tot}') ^ SyntaxError: invalid syntax
I'm running python3 (3.5.3), and I'm afraid I don't know enough python to know what's wrong.
Thanks, Seth
On Mon, Mar 15, 2021, at 11:32 AM, Seth Seeger wrote:
On Mar 12, 2021, at 12:10 AM, Mark Sapiro <mark@msapiro.net> wrote:
You inspired me. See <https://www.msapiro.net/scripts/smtp_report>.
I get the following error:
File "./smtp_report", line 44 print(f' {lname}: {tot}') ^ SyntaxError: invalid syntax
I'm running python3 (3.5.3), and I'm afraid I don't know enough python to know what's wrong.
My wife fixed it! f-strings don't show up until Python 3.6. She rewrote the two print statements as:
print(' ' + lname + ': ' + str(tot))
Seth
On 3/15/21 9:57 AM, Seth Seeger wrote:
My wife fixed it! f-strings don't show up until Python 3.6. She rewrote the two print statements as:
print(' ' + lname + ': ' + str(tot))
I would have written
print(' {}: {}'.format(lname, tot))
but what she did is OK too.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro writes:
On 3/11/21 7:03 PM, Mohsen Masoudfar wrote:
Hi,
I am wondering if there is a monitoring application available for Mailman3 to display statistics about the number of emails send for each maillist.
There was a Systers "dashboard" project, but it was mostly aimed at subscribers. Statistics were mentioned, but I don't recall if they were implemented in a systematic way.
Steve
participants (4)
-
Mark Sapiro
-
Mohsen Masoudfar
-
Seth Seeger
-
Stephen J. Turnbull