Hie folks, Does anyone have any experiences using dovecot + per user quota + ldap? I've configured my settings as this example: # quotaStorage must be in the format mentioned above # For example: dirsize:storage=10240 user_attrs = uid,homeDirectory,,,uidNumber,gidNumber,quotaStorage=quota But, Dovecot isn't creating maildirsize file. Any guesses? PS: I've already instaled 1.0rc24 Venilton C. Junior HPS Sercompe Computadores Ltda. Office: +55 47 3431-9700 Fax: +55 47 3431-9747 Mobile: +55 47 9653-5872 www.sercompe.com.br <http://www.sercompe.com.br/> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20070226/b15192a8/attachment-0001.html>
Venilton Junior wrote:> > Hie folks, > > Does anyone have any experiences using dovecot + per user quota + ldap? > > I?ve configured my settings as this example: > > # quotaStorage must be in the format mentioned above > > # For example: dirsize:storage=10240 > > user_attrs = uid,homeDirectory,,,uidNumber,gidNumber,quotaStorage=quota > > But, Dovecot isn?t creating maildirsize file. >What does your ldap attribute look like? They should look something like this: quotaStorage: maildir:storage=2048000 -Stian
On tir, 2007-02-27 at 13:12 -0300, Venilton Junior wrote:> default_mail_env = maildir:/var/lib/imap/vmail/domains/%d/%n/mail::INDEX=/var/run/dovecot/indexes/%nI don't really know, but have you checked whether the maildirsize file is in the index-location?> plugin { > convert_mail = maildir:/var/lib/imap/vmail/%d/%u/mail > #quota = maildir:storage=102400 (If I uncomment this line, quota start to work, but for everyone equally) > quota = maildir (After putting this line, all messages starts to get at the filename the ,S=) > }You don't need to have a quota line in the plugin section.> Here follows my dovecot-ldap.conf: > > user_attrs = mail,homeDirectory,,,,quotaStorage=quotaAnd your ldap attribute is called quotaStorage?> But it's not creating the control file... should I use dirsize instead of Maildir++ ? > My quota ldap entry is: maildir:storage=102400No, you should not use dirsize. That's terribly slow (and does for sure not make the maildirsize-file). The only thing I'm unsure of is whether your ldap attribute is called quotaStorage? You could post some debug output from the log, with debug enabled. -Stian