17 Nov
2011
17 Nov
'11
2:34 a.m.
On 17.11.2011, at 2.29, Alex wrote:
Nov 15 19:51:07 mail02 dovecot: lda(alexuser): Fatal: setresgid(12(mail),12(mail),12(mail)) failed with euid=500(alexuser): Operation not permitted
Where is it trying to write that it can't?
It's trying to change the process's UID/GID to mail/mail for some reason. Have you set "mail_uid=mail" or something?
mail_uid isn't set, but I have the following in dovecot.conf:
mail_gid = mail
The error most likely happens because of this. Is there a reason why you want this?
mail_privileged_group = mail
This should be enough for creating lock files to /var/spool/mail/. Although dovecot-lda can't use this setting, since it's not started as root..