Solved.
I changed the user_attrs and could set user quota.
user_attrs
mailMessageStore=home,qmailUID=uid,qmailGID=gid,mailQuotaSize=quota_rule=*:bytes
On Wed, 2008-01-16 at 17:52 -0200, Raphael Bittencourt S. Costa wrote:
> Helo all,
>
> I'm trying to use Dovecot v1.1.beta13 lda with ldap. I made a tons of
> change in configurations but still can't set quota from ldap. See
> below:
>
> Log:
> Jan 16 17:37:09 mailserver-03 dovecot: auth(default):
> userdb(teste at xxx.com.br,127.0.0.1): Invalid GID value
'*:bytes=1033'
>
>
> dovecot-ldap.conf:
> user_attrs >
mailMessageStore=home,qmailUID=uid,qmailGID=gid,mailQuotaSize=quota_rule=*:bytes=%$
>
> ldap:
> dn: cn=teste,ou=xxx.com.br,ou=accounts
> mailHostAddress: 10.0.149.3
> userPassword:: e1NIQX1kNXFTUFdteTRISjBleEdYVzZocFNkNFdjRGM9
> mailQuotaSize: 10485760
> deliveryMode: nombox
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> objectClass: qmailUser
> accountStatus: active
> cn: teste
> qmailGID: 1033
> qmailUID: 1033
> mail: teste at xxx.com.br
> mailMessageStore: /data/services/dominios/xxx.com.br/t/te/teste/
> uid: teste at xxx.com.br
> sn: teste
> mailHost: mailserver03.xxx.com.br
>
> []s,
>
> Raphael Costa
Atenciosamente,
Raphael Bittencourt S. Costa
Engenharia
-----------------------------------------------------------------------
ALOG Data Centers do Brasil
Excel?ncia em Projetos de Hosting
R Volunt?rios da P?tria 360 - RJ -
CEP 22270-010
Telefone: 21 3083-3364 - Fax: 21
3083-3300 http://www.alog.com.br
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _img_ass.jpg
Type: image/jpeg
Size: 16484 bytes
Desc: not available
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20080117/948ecdd2/attachment-0002.jpg>
-------------- 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/20080117/948ecdd2/attachment-0002.bin>