[Dovecot] Does a plugin can have root privileges ?

Timo Sirainen tss at iki.fi
Fri May 29 00:01:19 EEST 2009


On Thu, 2009-05-28 at 17:14 +0200, Fabien wrote:
> Hello,
> 
> I wish to get "Fetchmail Wake" works in my environment. This plugin send 
> SIGUSR1 to fetchmail so it wakes up when mail client grabs mail.
> 
> For the moment "Fetchmail Wake" is executed by mail_uid (defined in 
> dovecot.conf) which is not enough to send signal to fetchmail daemon 
> (and access to fetchmail.pidfile).

Maybe have your plugin execute a setuid-binary that sends the signal? Or
something else. In any case no, a plugin can't have root privileges.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090528/1971ecc6/attachment.bin 


More information about the dovecot mailing list