Re: [Dovecot] Per user mail quota via LDAP [SOLVED]

2008-10-21 Thread Proskurin Kirill
Timo Sirainen wrote: By mail_uid, mail_gid and mail_location I meant the settings in dovecot.conf. And by "attribute templates" I also didn't mean adding a new field but kind of kludging around with the user_attrs syntax. So you don't need to add any more fields to LDAP. Oh - then i last time

Re: [Dovecot] Per user mail quota via LDAP

2008-10-20 Thread Timo Sirainen
On Oct 20, 2008, at 7:37 PM, Proskurin Kirill wrote: Timo Sirainen wrote: On Oct 20, 2008, at 7:27 PM, Proskurin Kirill wrote: Timo Sirainen wrote: I edit my static db to this(from wiki): You need to use userdb ldap then. I actual use it and it work well. But do you now have both static an

Re: [Dovecot] Per user mail quota via LDAP

2008-10-20 Thread Proskurin Kirill
Timo Sirainen wrote: On Oct 20, 2008, at 7:27 PM, Proskurin Kirill wrote: Timo Sirainen wrote: I edit my static db to this(from wiki): You need to use userdb ldap then. I actual use it and it work well. But do you now have both static and ldap userdb? You can only use one (for one user).

Re: [Dovecot] Per user mail quota via LDAP

2008-10-20 Thread Timo Sirainen
On Oct 20, 2008, at 7:27 PM, Proskurin Kirill wrote: Timo Sirainen wrote: I edit my static db to this(from wiki): You need to use userdb ldap then. I actual use it and it work well. But do you now have both static and ldap userdb? You can only use one (for one user). If you've static use

Re: [Dovecot] Per user mail quota via LDAP

2008-10-20 Thread Proskurin Kirill
Timo Sirainen wrote: I edit my static db to this(from wiki): You need to use userdb ldap then. I actual use it and it work well. # LDAP database userdb ldap { args = /usr/local/etc/dovecot-ldap.conf } # grep -v # /usr/local/etc/dovecot-ldap.conf | egrep -v '^$' hosts = 127.0.0.1

Re: [Dovecot] Per user mail quota via LDAP

2008-10-20 Thread Timo Sirainen
On Mon, 2008-10-20 at 19:42 +0400, Proskurin Kirill wrote: > Hello all. > > Ok im now trying to make per user quota via LDAP. OK. > In LDAP im have attr: mailQuotaSize=210 > > Default dovecot quota=201M > > I edit my static db to this(from wiki): You need to use userdb ldap then. signature

[Dovecot] Per user mail quota via LDAP

2008-10-20 Thread Proskurin Kirill
Hello all. Ok im now trying to make per user quota via LDAP. In LDAP im have attr: mailQuotaSize=210 Default dovecot quota=201M I edit my static db to this(from wiki): userdb static { args = uid=1002 gid=1002 home=/var/spool/dovecot/domains/%d/%n mailQuotaSize=quota_rule=*:storage=%$M } Bu