[Dovecot] Dovecot LDA

Wouter van der Schagt wouter at vdschagt.com
Thu Aug 20 10:01:10 EEST 2009


> The LDA is not listed in the protocols setting, because it will never
> and could never accept a network connection.
> There is also no listen/ssl_listen setting for the protocol lda {…} 
> section.

Thank you for the prompt and concise reply. Another question I have after 
reading the quota pages on the Wiki. At the moment we're using vdelivermail 
from vpopmail as the LDA and dovecot for the pop3 / imap daemon. Quotas are 
enforced using Maildirsize files which are updated (created) by 
vdelivermail. And as far as  dovecot is concerned, the quota is unlimited 
(because vdelivermail will update the maildirsize files).

plugin {
  quota = maildir
  quota_rule = ?:storage=0
}

However, I found that in the vpopmail tables in pw_shell the quota is listed 
in maildir format. (ie: 10000000S) and on the Wiki I read that dovecot can 
understand this format, however I am not sure how to change the above quota 
rules so that I get something like:

plugin {
  quota = maildir
  quota_rule = ?:storage=%q
}

Where %q is the value in pw_shell of the corresponding vpopmail table. And 
where I think I may have to change the ? to an *. Am I correct in assuming 
that this will cause dovecot to recreate / updaate the maildirsize files?

In the examples I saw

user_query = select uid, gid, home, \
  concat('*:bytes=', quota_bytes) as quota_rule \
  from users where userid = '%u'

But im not sure how to use it since with vpopmail each domain has its own 
table. And how do I get the result from that query into the quota_rule line 
above?

Sincerely,
- Wouter van der Schagt
 



More information about the dovecot mailing list