Having upgraded to Mailman version 3.2.0 (official version) on my testserver, I am still having problems with daily digests (not digests by file size).
My test list was set to 30 KB digests which worked fine and I received mails with (small) digests right after posting to the list. Having set the list to 500KB (to avoid immediate digests on posting) digests are piled up in the digest.mmdf file as expected.
But running docker exec mailman-core mailman digests --periodic --verbose still only renames the digest.mmdf to digest.[volume].[digest]. No file is sent according to the smtp.log (and my mail box) - see below.
Before running /usr/bin/docker exec mailman-core mailman digests --periodic --verbose
Every 2.0s: ls -l;grep "Test 20181011" digest.mmdf;tail /var/log/mailman/core/smtp.log Thu Oct 11 12:23:32 2018
-rw-rw---- 1 100 nogroup 103433 Oct 10 14:36 digest.1.7.mmdf -rw-rw---- 1 100 nogroup 155540 Oct 11 11:29 digest.1.8.mmdf -rw-rw---- 1 100 nogroup 104002 Oct 11 12:21 digest.mmdf Thread-Topic: Test 201810111220 Subject: [test] Test 201810111220 Thread-Topic: Test 201810111221 Subject: [test] Test 201810111221 Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) Data: b'MAIL FROM:<me@foo.bar>' Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) sender: me@foo.bar Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) Data: b'RCPT TO:<test@lists.example.com>' Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) recip: test@lists.example.com Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) Data: b'DATA' Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) Data: b'QUIT' Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) connection lost Oct 11 10:21:26 2018 (36) Connection lost during _handle_client() Oct 11 10:21:27 2018 (38) <6DCC3E5DA06FE346B4DE4876C4F2713D01E00C2C1B@P2KITMBX06WC03.unicph.domain> smtp to test @lists.example.com for 1 recips, completed in 0.16465544700622559 seconds Oct 11 10:21:27 2018 (38) <6DCC3E5DA06FE346B4DE4876C4F2713D01E00C2C1B@P2KITMBX06WC03.unicph.domain> post to test @lists.example.com from test@lists.example.com, 52588 bytes
After running /usr/bin/docker exec mailman-core mailman digests --periodic --verbose
Every 2.0s: ls -l;grep "Test 20181011" digest.mmdf;tail /var/log/mailman/core/smtp.log Thu Oct 11 12:44:45 2018
total 372 -rw-rw---- 1 100 nogroup 103433 Oct 10 14:36 digest.1.7.mmdf -rw-rw---- 1 100 nogroup 155540 Oct 11 11:29 digest.1.8.mmdf -rw-rw---- 1 100 nogroup 104002 Oct 11 12:21 digest.1.9.mmdf grep: digest.mmdf: No such file or directory Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) Data: b'MAIL FROM:<her@adm.ku.dk>' Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) sender: her@adm.ku.dk Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) Data: b'RCPT TO:<hertest2@mm3test.ku.dk>' Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) recip: hertest2@mm3test.ku.dk Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) Data: b'DATA' Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) Data: b'QUIT' Oct 11 10:21:26 2018 (36) ('172.19.199.5', 36282) connection lost Oct 11 10:21:26 2018 (36) Connection lost during _handle_client() Oct 11 10:21:27 2018 (38) <6DCC3E5DA06FE346B4DE4876C4F2713D01E00C2C1B@P2KITMBX06WC03.unicph.domain> smtp to hertest2 @mm3test.ku.dk for 1 recips, completed in 0.16465544700622559 seconds Oct 11 10:21:27 2018 (38) <6DCC3E5DA06FE346B4DE4876C4F2713D01E00C2C1B@P2KITMBX06WC03.unicph.domain> post to hertest2 @mm3test.ku.dk from hertest2@mm3test.ku.dk, 52588 bytes
Henrik Rasmussen