Problem:
After installing mailman and posting a few messages to one of your lists, the messages do not show up in the list archives.
Solution:
- First things first, make sure “Archive Messages” is set to “Yes”; This option is located in the Archiving Options page of the lists web based administration.
- Check the error log while you post a new message:
- sudo tail -f /var/lib/mailman/logs/error
- post the new message to the list…
- look for something like “IOError: [Errno 13] Permission denied: ‘/var/lib/mailman/archives/private/”
- If you do see a Permissions error, read on to fix…
- Determine what user owns mailmans archiving process:
- sudo apt-get install htop (much better than top)
- htop
- press f5 for tree view
- Look for the “ArchRunner” process and determine its owner. “list” was the owner for me, this is user is created and associated with mailman automatically if you installed using “apt-get install mailman” Click here for Screenshot
- Recursively give ownership of the archive directory to the Archrunner process owner:
- sudo chown -R list /var/lib/mailman/archives/private
- Thats it! Post another message to your list and checkout your archives page!
- NOTE: If you want to archive all messages sent prior to this fix, just run:
- sudo /var/lib/mailman/bin/unshunt

Thank you, useful post!
Very nice! Fixed my problem fast!
Thanks a lot!
Silly Debian. Why’d they do that?
Thanks!
For the lazy ones:
sudo chown -R list /var/lib/mailman/archives/private
sudo /var/lib/mailman/bin/unshunt
fair enough
Thank you. Helped magnificently.
Thank you! Exactly what i needed
Ove
Thanks very much
Thanks very much for this – worked a treat.
Thank you! I’ve searched for times and this was what I needed