[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 20:28:19 EEST 2008


You realize that this way anyone can send email do any mailbox directly
by invoking deliver? The instructions told you to make a subdirectory,
and only give access to that subdirectory to users that need to be able
to deliver to any user. Then place a copy of deliver with setuid root in
that subdirectory.

You probably forgot to set postmaster_address in the lda section of
dovecot.conf.

Alexander

Gert Cuykens wrote:
> a thank you :) Now i learned something really important today
> 
> chmod u+s /usr/lib/dovecot/deliver
> 
> root at localhost:~# ls -al /usr/lib/dovecot/deliver
> -rwsr-xr-x 1 root root 563112 2008-03-31 21:05 /usr/lib/dovecot/deliver
> root at localhost:~#
> 
> I think i am almost there but now i get
> 
> Apr 12 19:01:40 localhost deliver(root at vlocalhost): postmaster_address
> setting not given



More information about the dovecot mailing list