[Dovecot] Override quota settings with LDAP

Timo Sirainen tss at iki.fi
Wed Mar 20 20:04:23 EET 2013

On 20.3.2013, at 15.25, Hanno Hirschberger <hannohirschberger at googlemail.com> wrote:

> Mar 20 13:37:04 lmtp(2494, username): Warning: quota: Namespace '' is not Maildir, skipping for Maildir++ quota
> Mar 20 13:37:04 lmtp(2494, username): Error: opendir(/var/empty/.imap) failed: No such file or directory
> ... which is only logical, because there's no maildir for that user. I want to get rid of these error messages and like to ask you if there's a way to override the "quota = maildir:User quota" setting in my Dovecot configuration for the 3 /var/mail users. For example with an extra LDAP field?
> Sadly I don't really know how to realize this. Or is there any other / better way?

Yes, you can override either mail_plugins setting or (probably better) the "quota" setting. If the LDAP value doesn't exist the default is used, if it's empty it overrides the default with an empty setting.

More information about the dovecot mailing list