Mark Sapiro wrote:
On 3/9/22 00:58, Stephan Krinetzki wrote:
Hello all, our Mailman3 has over 7GB of bounces in its bouncedir. I noticed that some messages there are already over 3 years old. Now my question: Is there a way to remove the old bounces? I don't know what you mean by bouncedir. If you are referring to the bounceevent table in the database, it would be OK to remove all the entries for which processed is True.
Ok, so i can remove there entries which are processed. For a smaller database ;)
If you are referring to messages in Mailman's bounces queue, if these are not processed and removed within 15 minutes of arrival, Mailman's bounce runner is not running.
Well, it is the queue.Our var directory is under /opt/mailman/var and the /opt/mailman/var/queue/bounces is over 8GB big. There are *.pck messages and some of them are very old (>3 Years). The bounce seems to be running:
Mar 10 09:24:53 2022 (376) Member xxx@xxx already scored a bounce on list list.lists.example.com today.
Mar 10 09:25:00 2022 (376) Member xxx@xxx already scored a bounce on list list.lists.example.com today.
Mar 10 09:25:06 2022 (376) Member xxx@xxx already scored a bounce on list list.lists.example.com today.
Mar 10 09:25:12 2022 (376) Member xxx@xxx already scored a bounce on list list.lists.example.com today.
Mar 10 09:25:18 2022 (376) Member xxx@xxx already scored a bounce on list list.lists.example.com today.
Mar 10 09:25:24 2022 (376) Member xxx@xxx already scored a bounce on list list.lists.example.com today.
Mar 10 09:25:30 2022 (376) Member xxx@xxx already scored a bounce on list list.lists.example.com today.
Mar 10 09:25:36 2022 (376) Member xxx@xxx already scored a bounce on list list.lists.example.com today.
Mar 10 09:25:43 2022 (376) Member xxx@xxx already scored a bounce on list list.lists.example.com today.
Mar 10 09:25:49 2022 (376) Member xxx@xxx already scored a bounce on list list.lists.example.com today.
The process it self is there
mailman 376 99.4 19.1 6578312 6279000 ? R 09:17 10:52 venv/bin/python3 venv/bin/runner -C mailman.cfg --runner=bounces:0:1
(Pathes are shorted)
So i guess, there is everything fine. But the files are not deleted.
If you are referring to bounce messages in the message store (var/messages/), there have been issues with those not being removed, but Mailman core >= 3.3.5 should clean those up.
SInce the messages are hashed or otherwise stored, i can't verify or deny this.