Running without anvil?

Timo Sirainen tss at iki.fi
Mon Jan 18 09:35:15 UTC 2016


On 17 Jan 2016, at 23:19, Dave Abrahams <dave at boostpro.com> wrote:
> 
> Hi,
> 
> I'm using dovecot as a local mail store on my laptop using preauth
> tunneling.  It turns out I almost don't even need to start dovecot at
> all; the only reason it needs to be running is so that FTS indexing can
> be invoked.  And because I don't want it to run any services, I can run
> it as an unprivileged user, so long as I turn them all off:
> 
>  # We don't want to serve any protocols, so we don't bind to any ports.
>  # We can run everything as me.
>  protocols = 
>  default_login_user = dave
>  default_internal_user = dave
> 
> The only thing is, I keep getting these in var/log/mail.log:
> 
>  anvil: Fatal: chroot(/Users/dave/brew/var/run/dovecot/empty) failed: Operation not permitted
>  master: Error: service(anvil): command startup failed, throttling for 60 secs
>  auth: Error: read(anvil-auth-penalty) failed: EOF
> 
> Any suggestions?

http://wiki2.dovecot.org/HowTo/Rootless



More information about the dovecot mailing list