How to tell which lists on my server are being used?
Is there an easy way to tell which lists on my Mailman 3 installation are being used (i.e. received posts in the last two or three months)?
On Thu, Aug 29, 2024 at 6:16 PM Bryan Kartzman <bryan.kartzman@yu.edu> wrote:
Is there an easy way to tell which lists on my Mailman 3 installation are being used (i.e. received posts in the last two or three months)?
Yes. See https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/X...
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
Thank you. That is just what I needed.
Do you know if there is a way using the database to see how many posts a list has received (for all time or even for a specific time interval)?
Thank you, Odhiambo. I downloaded the smtp_report script. For some reason it doesn't report accurate numbers for my installation. The string it is searching for "smtp to <mailinglist>" appears a number of times for each post. In the end, I did what Ondřej suggested (in the next post):
select list_name, last_post_at from mailinglist;
And then to see how many posts each list received I did this:
select b.name,count(a.subject) from hyperkitty_email a, hyperkitty_mailinglist b where a.mailinglist_id = b.id group by b.name order by b.name;
participants (4)
-
Bryan Kartzman
-
bryan.kartzman@yu.edu
-
Odhiambo Washington
-
Ondřej Brablc