[Dovecot] Does a plugin can have root privileges ?

Fabien wizwiz50 at free.fr
Fri May 29 00:19:45 EEST 2009


Timo Sirainen a écrit :
> 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.
>
>   
Ok, thank you. Then may be I'll use fetchmail user for both Dovecot and 
fetchmail.


More information about the dovecot mailing list