While checking on another problem, I noticed a lot of "Permission denied" messages in a maillog file in the
/var/log
directory. The errors
were occurring whenever one particular user checked her email, which was
being checked by Microsoft Outlook on her PC.# grep "Permission denied" /var/log/maillog.1 | tail -n 3 Jun 17 18:56:08 moonpoint dovecot: pop3(nell): Error: open(/home/nell/mail/.imap /INBOX/dovecot.index.log) failed: Permission denied (euid=503(nell) egid=1002(ne ll) missing +x perm: /home/nell/mail/.imap/INBOX, dir owned by 0:0 mode=0700) Jun 17 19:26:44 moonpoint dovecot: pop3(nell): Error: open(/home/nell/mail/.imap /INBOX/dovecot.index.log) failed: Permission denied (euid=503(nell) egid=1002(ne ll) missing +x perm: /home/nell/mail/.imap/INBOX, dir owned by 0:0 mode=0700) Jun 17 19:57:29 moonpoint dovecot: pop3(nell): Error: open(/home/nell/mail/.imap /INBOX/dovecot.index.log) failed: Permission denied (euid=503(nell) egid=1002(ne ll) missing +x perm: /home/nell/mail/.imap/INBOX, dir owned by 0:0 mode=0700) #
Checking the permissions and ownership on the referenced
mail/.imap/INBOX
file for her account and comparing it to other
accounts, I saw that root was listed as the owner and the group for the file
under her home directory, but for other users the same file under their home
directory was owned by the user's account and the group matched the user name
for the user.
[ More Info ]