Using a quota rule like "quota_rule = *:backend=1073741824S" (I'm testing it statically but the value is on LDAP) I receive an an error: Fatal: IMAP(...): Quota root QUOTA: Invalid rule: *:backend=1073741824S Accordingly with the wiki page http://wiki.dovecot.org/Quota/New "Backend-specific configuration currently is used only with Maildir++ quota backend. It means you can have the quota in Maildir++ format (e.g. "10000000S")." so I think it should work. What's wrong? Cheers, Laurento
In your LDAP configuration "user_attrs" line, use: YourLDAPQuotaAttributeName=quota_rule=*:storage=%$ I'm not sure the word "backend" is actually a valid option, -Rich Laurento Frittella wrote:> Using a quota rule like "quota_rule = *:backend=1073741824S" (I'm > testing it statically but the value is on LDAP) I receive an an error: > > Fatal: IMAP(...): Quota root QUOTA: Invalid rule: *:backend=1073741824S > > Accordingly with the wiki page http://wiki.dovecot.org/Quota/New > "Backend-specific configuration currently is used only with Maildir++ > quota backend. It means you can have the quota in Maildir++ format (e.g. > "10000000S")." so I think it should work. > > What's wrong? > > Cheers, > Laurento >
On Tue, 2008-03-18 at 16:22 +0100, Laurento Frittella wrote:> Using a quota rule like "quota_rule = *:backend=1073741824S" (I'm > testing it statically but the value is on LDAP) I receive an an error: > > Fatal: IMAP(...): Quota root QUOTA: Invalid rule: *:backend=1073741824S > > Accordingly with the wiki page http://wiki.dovecot.org/Quota/New > "Backend-specific configuration currently is used only with Maildir++ > quota backend. It means you can have the quota in Maildir++ format (e.g. > "10000000S")." so I think it should work.Fixed: http://hg.dovecot.org/dovecot-1.1/rev/1da16dbcacf7 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080319/d4d7f045/attachment-0002.bin>
Il giorno mer, 19/03/2008 alle 07.34 +0200, Timo Sirainen ha scritto:> On Tue, 2008-03-18 at 16:22 +0100, Laurento Frittella wrote: > > Using a quota rule like "quota_rule = *:backend=1073741824S" (I'm > > testing it statically but the value is on LDAP) I receive an an error: > > > > Fatal: IMAP(...): Quota root QUOTA: Invalid rule: *:backend=1073741824S > > > > Accordingly with the wiki page http://wiki.dovecot.org/Quota/New > > "Backend-specific configuration currently is used only with Maildir++ > > quota backend. It means you can have the quota in Maildir++ format (e.g. > > "10000000S")." so I think it should work. > > Fixed: http://hg.dovecot.org/dovecot-1.1/rev/1da16dbcacf7Cheers, Laurento