- Plesk for Linux
Mailman is not saving received messages and sent messages are not delivered to recipients
One of the following errors is found in the log file
File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 200, in ArchiveMail
File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 169, in __archive_to_mbox
mbox = self.__archive_file(afn)
File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 157, in __archive_file
return Mailbox.Mailbox(open(afn, 'a+'))
IOError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/example.mbox/example.mbox'
CONFIG_TEXT: (1860) Archive file access failure: /var/lib/mailman/archives/private/example.mbox/example.mbox [Errno 13] Permission denied: '/var/lib/mailman/archives/private/example.mbox/example.mbox'
(1860) Uncaught runner exception: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/example.mbox/example.mbox'
The ownership of the directory
# ls -ld /var/lib/mailman/archives/private
drwxrws--- 8 mailman apache 4096 Apr 13 08:31 /var/lib/mailman/archives/private
http://lists.example.com/pipermail/list_namelink with the Archive is not accessible with the error:
CONFIG_TEXT: 403 Forbidden
Incorrect ownership on the directory
Connect to the server via SSH
Set the correct ownership for the directory
# chown apache.mailman /var/lib/mailman/archives/private
# chown -R .mailman /var/lib/mailman/archives/private/*