[Dovecot] Getting started with sieve and conversion from procmail

Timo Sirainen tss at iki.fi
Thu Nov 17 02:34:31 EET 2011


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..



More information about the dovecot mailing list