I've had this issue popup with a couple of users recently. I manually go in and fix the permissions but then a couple of hours/day/weeks later it reverts...
Here's some output from /var/log/maillog
Looking at those files, they're owned by another user.
I've run the ./set_permissions.sh script and this is still happening.
Quite bizarre. Any help is appreciated.
Here's some output from /var/log/maillog
Code:
Dec 21 09:38:51 server dovecot[21571]: IMAP([email protected]): open() failed with index file /home/domuser/imap/domain.dom/user/Maildir/.Azorie Blue/dovecot.index: Permission denied
Dec 21 09:38:51 server dovecot[21571]: IMAP([email protected]): open() failed with index file /home/domuser/imap/domain.dom/user/Maildir/.Duke Video/dovecot.index: Permission denied
Looking at those files, they're owned by another user.
Code:
ls -la Maildir/
-rw------- 1 user2 mail 5184 Dec 21 08:14 dovecot.index
-rw------- 1 user2 mail 313344 Dec 21 07:23 dovecot.index.cache
-rw------- 1 user2 mail 2472 Dec 21 08:14 dovecot.index.log
-rw-rw---- 1 domuser mail 85 Oct 22 13:55 dovecot-keywords
-rw------- 1 user2 mail 20973 Dec 21 07:20 dovecot-uidlist
I've run the ./set_permissions.sh script and this is still happening.
Quite bizarre. Any help is appreciated.