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 ?
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, Sep 22, 2020 at 10:29 PM Shashikanth Komandoor < shashikanth.komandoor@gmail.com> wrote:
Thank you Mark a lot.
It worked awesome. You don't know how much you helped me.
Thank you once again.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#m_8502129290396208734_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Sat, Sep 19, 2020 at 8:56 PM Mark Sapiro <mark@msapiro.net> wrote:
On 9/19/20 4:32 AM, Shashikanth Komandoor wrote:
But I am trying to delete a list on an urgent basis. Because of which I
am
getting the above said errors. I tried to delete through the interface, through curl command and through "mailman shell" but nothing led me to a positive result. Is there any work around to delete the list ?
What have you tried in Mailman shell? This should do it.
$ mailman shell -l list.example.com Welcome to the GNU Mailman shell Use commit() to commit changes. Use abort() to discard changes since the last commit. Exit with ctrl+D does an implicit commit() but exit() does not. The variable 'm' is the list.example.com mailing list
getUtility(IListManager).delete(m) commit()
So should just
$ mailman remove list.example.com
What happens if you do those?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- Thanks & Regards, Shashi Kanth.K 9052671936
-- Thanks & Regards, Shashi Kanth.K 9052671936