[Dovecot] localhost deliver(root at vlocalhost): setgid(5001) failed with euid=8, gid=8, egid=8: Operation not permitted

Alexander Prinsier dovecot at aphexer.mailhaven.com
Sat Apr 12 17:30:40 EEST 2008


I meant _setuid_ root, not owner root. You better lookup what this means
on google before doing it.

Reread the instructions on http://wiki.dovecot.org/LDA (section Multiple
UIDs). Set the group of the directory deliver is in to the same user
that postfix will use to run deliver. (You appear to be using 'mail').

See the manual page of chmod to know how to set a program setuid root.

Alexander

Gert Cuykens wrote:
> but deliver is already root ?
> 
> and master is set as
> 
>   master {
>    path = /var/run/dovecot/auth-master
>    mode = 0600
>    user = mail
>    group = mail
>   }
> 
> root at localhost:~# ls -al /usr/lib/dovecot/deliver
> -rwxr-xr-x 1 root root 563112 2008-03-31 21:05 /usr/lib/dovecot/deliver
> root at localhost:~#
> 
> i am sorry i dont understand what i need to do ?
> 
> On Sat, Apr 12, 2008 at 4:03 PM, Alexander Prinsier
> <dovecot at aphexer.mailhaven.com> wrote:
>> Install it setuid root as described here http://wiki.dovecot.org/LDA.
>>
>>  Alexander
>>
>>
>>
>>  Gert Cuykens wrote:
>>  > How can i give lda dovecot permision to set user and goup id to 5001
>>  >
>>  > dovecot      unix  -       n       n       -       -       pipe
>>  >  flags=DRhu user=mail:mail argv=/usr/lib/dovecot/deliver -f ${sender}
>>  > -d ${recipient}
>>
>>



More information about the dovecot mailing list