[Dovecot] 2.2.4 - quota-status changing the user it is running as

Timo Sirainen tss at iki.fi
Tue Jul 30 13:28:36 EEST 2013


On 14.7.2013, at 19.54, Axel Luttgens <AxelLuttgens at swing.be> wrote:

> and messages for that user are correctly rejected by lmtp:
> 
> 	dovecot[4989]: lmtp(5069, john.doe at example.com): QWSWLgrP4lF7FAAA5Q0ykw: msgid=<20130714161643.9085DF176F2 at ALMba.local>: save failed to INBOX: Quota exceeded (mailbox for user is full)
> 
> Going on with our telnet session:
> 
> 	recipient=john.doe at example.com
> 	size=10000
> 
> 	action=OK
> 
> Hmmm... OK, this may be a config problem of mine which may require further investigation.

Did you solve this?

> and a look at the log indeed reveals that quota-status doesn't have sufficient privileges anymore:
> 
> 	dovecot[4989]: quota-status(john.doe at example.com): Error: user john.doe at example.com: Error reading configuration: net_connect_unix(/_ROOT/var/run/dovecot/config) failed: Permission denied
> 
> Is this the expected behavior, to have quota-status switch to another user?

Either one of these fixes would be sufficient:

http://hg.dovecot.org/dovecot-2.2/rev/2470bb9106b0
http://hg.dovecot.org/dovecot-2.2/rev/51b8020b29f6

Yet another possibility would be to use service { service_count=1 } to recreate the process every time.


More information about the dovecot mailing list