Error: fchown (ChgrpNoPerm)

DhoTjai

Verified User
Joined
Apr 23, 2006
Messages
80
Location
Netherlands
I keep getting these messages (the emailaddress and path in the output are modified). It's trying to set the group of the user, but shouldn't it set to the group "mail"?

Code:
Jun  1 17:05:34 s020 dovecot[30631]: imap(info@website.com): Error: fchown(/home/website/imap/website.com/info/Maildir/.Sent Messages/dovecot.index.cache.tmp, group=1070(website)) failed: Operation not permitted (egid=8(mail), group based on /home/website/imap/website.com/info/Maildir/.Sent Messages - see http://wiki2.dovecot.org/Errors/ChgrpNoPerm)
Jun  1 17:19:41 s020 dovecot[30631]: pop3(info@anotherweb.com): Error: fchown(/home/anotherweb/imap/anotherweb.com/info/Maildir/dovecot-uidlist.tmp, group=1069(anotherweb)) failed: Operation not permitted (egid=8(mail), group based on /home/anotherweb/imap/anotherweb.com/info/Maildir - see http://wiki2.dovecot.org/Errors/ChgrpNoPerm)
Code:
-rw-rw---- 1 website mail     0 Jun 22  2011 dovecot-uidvalidity.4e01ac62
-rw-rw---- 1 website mail    13 Sep  9  2013 dovecot-keywords
-rw-rw---- 1 website mail    44 May  1  2014 subscriptions
-rw-rw---- 1 website mail    96 May  1  2014 dovecot.mailbox.log
-rw-rw---- 1 website mail     8 May  1  2014 dovecot-uidvalidity
-rw-rw---- 1 website mail   472 Dec 12 09:37 dovecot.index
drwxrwx--- 3 website mail  4096 May 29 10:45 ..
drwxrwx--- 5 website mail  4096 May 29 10:45 .Drafts
drwxrwx--- 5 website mail  4096 Jun  1 17:16 .Sent Messages
drwxrwx--- 5 website mail  4096 Jun  1 21:12 .Notes
drwxrwx--- 2 website mail  4096 Jun  2 08:27 tmp
drwxrwx--- 2 website mail  4096 Jun  2 08:39 new
-rw-rw---- 1 website mail   487 Jun  2 08:39 dovecot-uidlist
-rw-rw---- 1 website mail  8868 Jun  2 09:40 dovecot.index.cache
drwxrwx--- 2 website mail  4096 Jun  2 09:40 cur
drwxrwx--- 5 website mail  4096 Jun  2 09:40 .Deleted Messages
-rw-rw---- 1 website mail 18184 Jun  2 09:54 dovecot.index.log

I have run ./set_permissions email

In dovecot.conf:
mail_access_groups = mail
 
Top