16 Jan
2011
16 Jan
'11
9:09 p.m.
On Sat, 2011-01-15 at 01:42 +0100, Maarten Bezemer wrote:
Jan 15 00:55:17 srv0303 dovecot: POP3(obm03): fchown(/home/obm/obm03/mail/.imap/INBOX/dovecot.index.tmp, -1, 8(mail)) failed: Operation not permitted (egid=1033(obm), group based on /var/mail/obm03)
I know that this is because the mailbox in /var/mail has ownership username:mail. However, in this setup this is intentional, and quota-related (quota on inbox is enforced by Exim, not Dovecot, and kernel does group-quota but not for group mail). Also, group read rights for group mail are intentional.
It's fine to have mail as the group, but does the group really need to have read or write permissions? chmod 0600 /var/mail/* would solve this.