Running without anvil?

Dave Abrahams dave at boostpro.com
Mon Jan 18 15:50:09 UTC 2016


on Mon Jan 18 2016, Timo Sirainen <tss-AT-iki.fi> wrote:

> 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

Thanks; that's wonderful!  You think of everything :-)



More information about the dovecot mailing list