[Pkg-mailman-hackers] Bug#990336: This still affects the current bullseye package
Athanasius
debian at miggy.org
Wed Jun 7 16:38:46 BST 2023
On Wed, Jun 07, 2023 at 03:32:00PM +0200, Olivier Berger wrote:
> Hi
>
> Le Thu, Jul 28, 2022 at 12:59:18PM +0100, Athanasius a écrit :
> > I've just noticed this myself. Our smtp.log is from 2020-08-08
> > onwards, so almost 2 years worth of logging. It's 28 MiB in size, so
> > not disasterously big.
> >
> > I've added specific rotation of the other logfiles manually for now.
> >
>
> Would you mind sharing the snippet that you used for the logrotate config ?
>
> It seems that maybe the smtp.log file might need special treatment, if I refer to the discussion at https://gitlab.com/mailman/mailman/-/issues/931 (following https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/RRFWGZY56OHAXPRCIQD5RLU3SLW5W2LH/ )
---------------------------------------------------------------------------
/var/log/mailman3/bounce.log /var/log/mailman3/debug.log /var/log/mailman3/plugins.log /var/log/mailman3/smtp.log /var/log/mailman3/mailman.log {
daily
rotate 5
compress
delaycompress
missingok
notifempty
create 640 list list
postrotate
if /etc/init.d/mailman3 status >/dev/null; then \
/usr/bin/mailman-wrapper reopen >/dev/null; \
fi;
endscript
}
---------------------------------------------------------------------------
Which has currently resulted in:
---------------------------------------------------------------------------
root at river:/var/log/mailman3;
16:31:17 0$ ls -lart
total 352
-rw-r----- 1 list list 0 Aug 8 2020 plugins.log
-rw-r----- 1 list list 0 Aug 8 2020 debug.log
-rw-r----- 1 list list 184 May 16 16:41 bounce.log.5.gz
-rw-r----- 1 list list 877 May 18 05:02 bounce.log.4.gz
-rw-r----- 1 list list 278 May 19 22:07 bounce.log.3.gz
-rw-r----- 1 list list 133 May 20 09:23 bounce.log.2.gz
-rw-r----- 1 list list 356 May 23 20:48 bounce.log.1
-rw-r----- 1 list list 0 May 24 06:25 bounce.log
-rw-r----- 1 list list 1238 Jun 3 05:30 smtp.log.5.gz
-rw-r----- 1 list list 18977 Jun 3 06:25 mailman.log.5.gz
-rw-r----- 1 list list 997 Jun 4 04:30 smtp.log.4.gz
-rw-r----- 1 list list 18824 Jun 4 06:25 mailman.log.4.gz
drwxr-xr-x 36 root root 16384 Jun 5 02:33 ../
-rw-r----- 1 list list 1019 Jun 5 06:25 smtp.log.3.gz
-rw-r----- 1 list list 18743 Jun 5 06:25 mailman.log.3.gz
-rw-r----- 1 list list 781 Jun 6 06:25 smtp.log.2.gz
-rw-r----- 1 list list 18652 Jun 6 06:25 mailman.log.2.gz
-rw-r----- 1 list list 4336 Jun 7 06:00 smtp.log.1
-rw-r----- 1 list list 196373 Jun 7 06:25 mailman.log.1
drwxr-xr-x 2 list list 4096 Jun 7 06:25 ./
-rw-r----- 1 list list 2009 Jun 7 15:12 smtp.log
-rw-r----- 1 list list 7738 Jun 7 16:00 mailman.log
---------------------------------------------------------------------------
The current last line in smtp.log.1 is timestamped `Jun 07 06:00:10 2023`,
so it doesn't *look* like the upstream bug/fix you linked to affects this
setup.
But thanks for the heads up. That fix being from only 4 days ago no
doubt means it won't be in bookworm's packages, at least not at
promotion to stable this weekend. Hopefully it will be backported in
ASAP.
--
- Athanasius (he/him) = Athanasius(at)miggy.org / https://miggy.org/
GPG/PGP Key: https://miggy.org/gpg-key
"And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20230607/3ee22365/attachment.sig>
More information about the Pkg-mailman-hackers
mailing list