On 1/6/25 13:09, Commander456 wrote:
Hello everyone,

I recently installed the mailman-core Docker image (Version 0.5) and tried to 
create a list using the mailman commands inside the container. I used the 
--notify argument but doesn't receive any mail (I'm the list owner), However, 
inside the mailman.log I get the following error:

Jan 06 20:54:25 2025 (156) Uncaught runner exception: [Errno 13] Permission 
denied: 
'/opt/mailman/var/queue/virgin/1736196864.6488764+2c5d24f89f86715d3deb3d0032735050cb9e29f8.pck'
Jan 06 20:54:25 2025 (156) Traceback (most recent call last):
   File "/usr/lib/python3.12/site-packages/mailman/core/runner.py", line 164, 
in _one_iteration
     msg, msgdata = self.switchboard.dequeue(filebase)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/lib/python3.12/site-packages/mailman/core/switchboard.py", line 
150, in dequeue
     with open(filename, 'rb') as fp:
          ^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 
'/opt/mailman/var/queue/virgin/1736196864.6488764+2c5d24f89f86715d3deb3d0032735050cb9e29f8.pck'
Jan 06 20:54:25 2025 (156) Skipping and preserving unparseable message: 
1736196864.6488764+2c5d24f89f86715d3deb3d0032735050cb9e29f8


Did you run `mailman create` as user `mailman`? Also did the command print a `Created mailing list:` message?

In any case, it looks like the list was created and the command generated the notification which was queued in the virgin queue as 1736196864.6488764+2c5d24f89f86715d3deb3d0032735050cb9e29f8.pck, but then virgin runner was unable to read it, but if there was no `Failed to unlink/preserve backup file:` message in the log the file should have been moved to /opt/mailman/var/queue/bad/1736196864.6488764+2c5d24f89f86715d3deb3d0032735050cb9e29f8.psv. What is ownership and permissions of that file, and what is the user running the various runners?

--
Mark Sapiro <m...@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-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/XQIWP4CAE7Q7GQKCYPIZZ33KSOYDBP5E/

This message sent to arch...@mail-archive.com

Reply via email to