The Dovecot version is 1.2.8 and i am using an LDAP for a user database. The problem is following... i would like to use a quota dictionary backend from file rather than sql proxy for some reasons. Is it possible to get the full path for dovecot-quota file location from LDAP like from mail variable (/mailboxes/storage_01/domain.org/u/us/use/user/dbox/dovecot-quota)? /etc/dovecot/dovecot-ldap.conf user_attrs storageBase=home,mailMessageStore=mail=dbox:~/%$/dbox/,mailQuota=quota_rule=*:bytes=%$,mailQuotaMessageLimit=quota_rule2=*:messages=%$ Also is it also possible the same for sieve location? I can solve the problem by adding in dovecot.conf sieve = /var/sieve/%Ld/%Ln/dovecot.sieve but i would like to have it all in one place ... t -- View this message in context: http://old.nabble.com/Dovecot-1.2.%2B-tp26803721p26803721.html Sent from the Dovecot mailing list archive at Nabble.com.
On Tue, 2009-12-15 at 16:42 -0800, Tom Mihalicek wrote:> /etc/dovecot/dovecot-ldap.conf > > user_attrs > storageBase=home,mailMessageStore=mail=dbox:~/%$/dbox/,mailQuota=quota_rule=*:bytes=%$,mailQuotaMessageLimit=quota_rule2=*:messages=%$What's the difference between storageBase and mailMessageStore? To me it seems like you should be setting mailMessageStore=home and then make everything use ~/ instead of absolute paths. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091216/e5d4f446/attachment-0002.bin>
I forgot to mention that the storageBase is intended to be a SAN mounted point (/mailboxes/storage_01,/mailboxes/storage_02) so i can add them as they grow in size (i dont like resizing), and that the mail part appends (domain.org/u/us/use/user). I could do this with the sepparate LDAP attribute that actually joins that two attributes but i tried to make it this way. Timo Sirainen wrote:> > On Tue, 2009-12-15 at 16:42 -0800, Tom Mihalicek wrote: >> /etc/dovecot/dovecot-ldap.conf >> >> user_attrs >> storageBase=home,mailMessageStore=mail=dbox:~/%$/dbox/,mailQuota=quota_rule=*:bytes=%$,mailQuotaMessageLimit=quota_rule2=*:messages=%$ > > What's the difference between storageBase and mailMessageStore? To me it > seems like you should be setting mailMessageStore=home and then make > everything use ~/ instead of absolute paths. > > > >-- View this message in context: http://old.nabble.com/Dovecot-1.2.%2B-dictionary-quota-file-tp26803721p26818173.html Sent from the Dovecot mailing list archive at Nabble.com.