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 <
[email protected]> 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 -- [email protected]
> To unsubscribe send an email to [email protected]
> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
> Archived at:
> https://lists.mailman3.org/archives/list/[email protected]/message/SXLFJDCD4U7CTAINUKUXCVQ7JYCJ3EWO/
>
> This message sent to [email protected]
>
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/[email protected]/message/UMGFFIC6BWSWVEZS2ZSYTLGV3IHCTUYA/
This message sent to [email protected]