
Hi Odhiambo,
Here is an example, it would need to be adjusted to another environment:
root@lists:/etc/logrotate.d# cat mailman3-core
## ## This file is maintained by Ansible - CHANGES WILL BE OVERWRITTEN ##
/var/log/mailman3/*.log { weekly rotate 4 compress maxsize 100M missingok notifempty sharedscripts delaycompress postrotate su - list -s /bin/sh -c "/opt/mailman3/bin/mailman -C /etc/mailman3/mailman.cfg reopen" endscript }
On Thu, Oct 9, 2025 at 4:00 AM Odhiambo Washington via Mailman-users < mailman-users@mailman3.org> wrote:
Did people agree on the accepted (standard) way for rotating mailman.log? I request that it be added to the official documentation.
-- 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]
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to samuel.d.darwin@gmail.com