[Dovecot] Quota stored in LDAP

Venilton Junior venilton.junior at sercompe.com.br
Tue Feb 27 21:04:29 UTC 2007


Tnx for your replying and concerns... my misconfiguration was in my ldap attributes. I was using quotaStorage and at my ldap was just quota... 

Guess that it was a newbie mistake hehe

Now the file is appearing and updating.

Best regards,

Venilton C. Junior

-----Original Message-----
From: Stian Jordet [mailto:liste+dovecot at jordet.net] 
Sent: terça-feira, 27 de fevereiro de 2007 17:40
To: Venilton Junior
Cc: Dovecot Mailing List
Subject: RE: [Dovecot] Quota stored in LDAP

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/%n

I 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=quota

And 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=102400

No, 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


More information about the dovecot mailing list