Mailman issue - permissions?

Discussion in 'ISPConfig 3 Priority Support' started by craig baker, Jan 26, 2016.

  1. craig baker

    craig baker Member HowtoForge Supporter

    I'm seeing a couple of emails bouncing back to mailman with errors:
    --snip--
    List: theeldestgeek: problem processing /var/lib/mailman/lists/theeldestgeek/digest.mbox:
    [Errno 13] Permission denied: '/var/lib/mailman/archives/private/theeldestgeek/attachments'
    --snip--

    now I read up and see folks running check_perms.
    it gives: (removed some lines)
    [root@ns9 bin]# ./check_perms
    /var/lib/mailman/archives/private bad group (has: apache, expected mailman)
    /var/lib/mailman/archives/private/theeldestgeek bad group (has: apache, expected mailman)
    /var/lib/mailman/archives/private/theeldestgeek.mbox bad group (has: apache, expected mailman)
    /var/lib/mailman/archives/private/theeldestgeek/index.html bad group (has: apache, expected mailman)
    /var/lib/mailman/archives/public/theeldestgeek bad group (has: apache, expected mailman)
    directory must be at least 02775: /usr/lib/mailman
    directory permissions must be 02775: /usr/lib/mailman/icons
    directory permissions must be 02775: /usr/lib/mailman/tests
    /usr/lib/mailman/Mailman bad group (has: root, expected mailman)
    directory permissions must be 02775: /usr/lib/mailman/Mailman
    directory permissions must be 02775: /usr/lib/mailman/messages
    directory permissions must be 02775: /usr/lib/mailman/pythonlib
    directory permissions must be 02775: /usr/lib/mailman/bin
    directory permissions must be 02775: /usr/lib/mailman/messages/nl
    directory permissions must be 02775: /usr/lib/mailman/messages/zh_TW
    directory permissions must be 02775: /usr/lib/mailman/messages/ia/LC_MESSAGESdirectory permissions must be 02775: /usr/lib/mailman/messages/ko/LC_MESSAGES
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/lib
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/korean
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/japanese
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/lib/python2.6
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/lib/python2.6/site-packages
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/korean/mappings
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/korean/c
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/korean/python
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/japanese/mappings
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/japanese/c
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/japanese/python
    directory permissions must be 02775: /usr/lib/mailman/pythonlib/japanese/aliases
    /etc/mailman/aliases.db owned by root (must be owned by mailman
    /etc/mailman/aliases.db permissions must be 066x (got 0100640)
    /etc/mailman/virtual-mailman.db owned by root (must be owned by mailman
    /etc/mailman/virtual-mailman.db permissions must be 066x (got 0100644)
    Problems found: 157
    Re-run as mailman (or root) with -f flag to fix
    ---snip--

    now running check_perms -f fixed much of it but I am concerned on the aliases and virtual-mailman db it changed owner to mailman and in the archives it changed owner from apache to mailman.
    running under ispconfig do these need to be owned by root? or is this all ok?
     
    Last edited: Jan 26, 2016
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I'am not using mailman so I must admit that I cant tell you the exact permissions, ispconfig is not altering them, so they are the defaultsr from mailman, ISPConfig just calls the newlist command to add a new list. I would just try if it works now.
     

Share This Page