[Dovecot] mailquota in ldap attribute 'mailQuota'
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.
On søn, 2007-05-13 at 23:45 +0800, Shahmat Dahlan wrote:
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
This seems right, but the ldap-attribute has to be in this format:
maildir:storage=10240:ignore=Trash
Regards, Stian
participants (2)
-
Shahmat Dahlan
-
Stian Jordet