[Dovecot] [dovecot]Quota per user from openldap
Hi,
in dovecot documentation i try to implement quota per users.
i added dovecot-ldap.conf file user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid, mailbox=mail, quota=quota_rule=*:bytes=%$
and i see in logs quota(quota_rule=*:bytes=%$)=*:bytes=241800
Debug: Added userdb setting: plugin/quota_rule=*:bytes=241800
but still mail is delivering , i'not sure other settings about 20-imap.conf and 20-pop3.conf from documentation. what is the correct steps for this?
thanks in advance
-- Selçuk YAZAR
El 27/05/14 13:05, Selcuk Yazar escribió:
Hi,
in dovecot documentation i try to implement quota per users.
i added dovecot-ldap.conf file user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid, mailbox=mail, quota=quota_rule=*:bytes=%$
and i see in logs quota(quota_rule=*:bytes=%$)=*:bytes=241800
Debug: Added userdb setting: plugin/quota_rule=*:bytes=241800
but still mail is delivering , i'not sure other settings about 20-imap.conf and 20-pop3.conf from documentation. what is the correct steps for this?
My working configuration is:
pass_attrs = ...,quota=userdb_quota_rule user_attrs = ...,quota=quota_rule
And entries in ldap have attribute as:
quota: *:storage=20G
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 868888337
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 27 May 2014, Selcuk Yazar wrote:
in dovecot documentation i try to implement quota per users.
i added dovecot-ldap.conf file user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid, mailbox=mail, quota=quota_rule=*:bytes=%$
and i see in logs quota(quota_rule=*:bytes=%$)=*:bytes=241800
Debug: Added userdb setting: plugin/quota_rule=*:bytes=241800
is the quota correct at all, the limit and the current value, see:
doveadm quota get -u <user>
and it's companion "recalc".
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU5BXBnz1H7kL/d9rAQLSVQf+Imtw+iRGs/upcKJV3QzR8fIVU5Sykt5z smyKTINS54WS7oaErL4hPy3Si0r3XModQaQFTA30e4DzZTOix7bQh4+Xpc0p4yHM YsnXNBEWZy+/vQblLqqbEYKBkEfUGW7yYQ1dw1vztKfYtqN07DU0jvd7SMD1W/Ra tVYOAy/0AFG58qTAYG/kk93Qr+pZ/HZlSpOy+wQRta8LK6u5lpJdPP8yTXGrQSV/ fcNKl0kmHVk/er498ecSvPmUoPKPG9mSpqXhZNC0jhlV+XIfSZbx4gPpdZ8++At4 ACOhH1Bw//6QIgtWCfABgnJExZJeiUNAprpGAeDYhfwngdqO2LTV5Q== =F4Le -----END PGP SIGNATURE-----
participants (3)
-
Angel L. Mateo
-
Selcuk Yazar
-
Steffen Kaiser