On 9/23/20 6:32 AM, Shashikanth Komandoor wrote:
Dear Mark,
As I already said, your suggestion worked well on one list. But when I tried to implement the same trick on another list, I
found the below error messages in the mailman.log.
2] No such file or directory: '/var/lib/mailman/mailman/var/lists/press.dpr-pb.lsmgr.nic.in/digest.mmdf <http://press.dpr-pb.lsmgr.nic.in/digest.mmdf>'*Sep 23 18:31:31 2020 (22951) Uncaught runner exception: [Errno
*Sep 23 18:31:31 2020 (22951) Traceback (most recent call last):*
File "/usr/lib64/python3.6/mailbox.py", line 581, in __init__*
f = open(self._path, 'rb+')* *FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/mailman/mailman/var/lists/press.dpr-pb.lsmgr.nic.in/digest.mmdf <http://press.dpr-pb.lsmgr.nic.in/digest.mmdf>'* *During handling of the above exception, another exception occurred:* *Traceback (most recent call last):*
File "/var/lib/mailman/mailman/src/mailman/core/runner.py", line 173, in _one_iteration*
self._process_one_file(msg, msgdata)*
File "/var/lib/mailman/mailman/src/mailman/core/runner.py", line 266, in _process_one_file*
keepqueued = self._dispose(mlist, msg, msgdata)*
File "/var/lib/mailman/mailman/src/mailman/runners/pipeline.py", line 37, in _dispose*
process(mlist, msg, msgdata, pipeline)*
File "/var/lib/mailman/mailman/src/mailman/core/pipelines.py", line 50, in process*
handler.process(mlist, msg, msgdata)*
File "/var/lib/mailman/mailman/src/mailman/handlers/to_digest.py", line 47, in process*
with Mailbox(mailbox_path, create=True) as mbox:*
File "/usr/lib64/python3.6/mailbox.py", line 893, in __init__*
_mboxMMDF.__init__(self, path, factory, create)*
File "/usr/lib64/python3.6/mailbox.py", line 585, in __init__*
f = open(self._path, 'wb+')**FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/mailman/mailman/var/lists/press.dpr-pb.lsmgr.nic.in/digest.mmdf <http://press.dpr-pb.lsmgr.nic.in/digest.mmdf>'*
I ran in both the ways you suggested i.e. through "mailman shell" and "mailman remove". But no luck.
Could you please suggest me at this point ?
Mailman is trying to add a message to the digest of the press.dpr-pb.lsmgr.nic.in list, but the /var/lib/mailman/mailman/var/lists/press.dpr-pb.lsmgr.nic.in/ directory doesn't exist, presumably because the list has been removed.
The question is why is Mailman trying to write to this list's digest.mmdf? Did the above result from unshunting something from before the list was removed?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan