[Dovecot] mailquota in ldap attribute 'mailQuota'

Shahmat Dahlan shahmatd at sains.com.my
Sun May 13 18:45:23 EEST 2007


I've tried having the ldap quota in an ldap attribute, which still 
doesn't work.

/etc/dovecot.conf

protocols = imap pop3
mail_location = maildir:/data/mail/%u/Maildir
protocol imap {
  mail_plugins = quota imapquota
}
plugin {
  quota = maildir:ignore=Trash
}

the rest are defaults

added an attribute 'mailQuota' with value '10240' kbytes or 10Mbytes

as for /etc/dovecot-ldap.conf

user_attrs = 
mail,homeDirectory=home,uidNumber=uid,gidNumber=gid,quotaStorage=mailQuota

Would appreciate if anyone could assist on this.

I'd prefer to use the above than setting the mail quota manually:
quota = maildir:storage=10240:ignore=Trash

We are actually in the planning stage of migrating all of current our 
mailboxes from Netscape to Dovecot, instead of upgrading it to those new 
Sun.


More information about the dovecot mailing list