There is another quota field mailQuota
in format
"mailQuotaSize"S,"mailQuotaCount"C

I have, .e.g.

mailQuota: 30000000S,5120C
mailQuotaSize: 30000000
mailQuotaCount: 5120

and while the maildirsize file in ~/Maildir
remain consistent the quota works.

Nelson



On Thu, 29 Apr 2004, Fernando Maior wrote:

%%  Date: Thu, 29 Apr 2004 09:04:34 -0300 (BRT)
%%  From: Fernando Maior <[EMAIL PROTECTED]>
%%  To: Gudleik Rasch <[EMAIL PROTECTED]>
%%  Cc: [EMAIL PROTECTED]
%%  Subject: Re: Courier-imap and mailquotas
%%
%%  Hello,
%%
%%  What about the ldap log file? What are your acl for
%%  user entries in LDAP (see slapd.conf file)?
%%
%%  --
%%  Bye,
%%  Fernando Maciel Souto Maior
%%  [EMAIL PROTECTED]
%%  http://www.araujo.com.br
%%  +55+31 3270-5886
%%  LPIC/1 # 31908
%%
%%  > Hi,
%%  >
%%  > I have a problem with mailquotas under courier-imap and qmail-ldap.
%%  >
%%  > The defaultquota settings are working, but when i try to override these
%%  > by setting mailQuotaSize/Count on a user in ldap, i get this in my
%%  > imap-log:
%%  >
%%  >  control/defaultquotasize: 1000000000
%%  >  control/defaultquotacount: 100000
%%  >  .. more output ..
%%  >  qldap_lookup: search for (&(objectClass=qmailUser)(uid=user)) succeeded
%%  >  qldap_get_attr(accountStatus): active
%%  >  .. more qldap_get_attr output ..
%%  >  qldap_get_attr(mailQuotaSize): no such attribute
%%  >  qldap_get_attr(mailQuotaCount): no such attribute
%%  >
%%  > And yes, the attributes are set in ldap:
%%  > % ldapsearch "(uid=user)" mailQuotaSize mailQuotaCount
%%  > mailQuotaSize: 10000000
%%  > mailQuotaCount: 5000000
%%  >
%%  > I'm currently using:
%%  >   qmail-ldap-1.03-20040401
%%  >   courier-imap-2.2.1
%%  >
%%  > And my imapd/run file looks like (edited for readability):
%%  >   /usr/local/bin/tcpserver ${SomeOptions} \
%%  >     /usr/local/sbin/imaplogin \
%%  >     /var/qmail/bin/auth_imap \
%%  >     /usr/local/bin/imapd ${maildir}
%%  >
%%  > My tcpserver rule file for imap looks like this (all on one line):
%%  >  :allow,IMAP_CAPABILITY="IMAP4rev1 CHILDREN NAMESPACE
%%  > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA",LOGLEVEL="255"
%%  >
%%  > Any help or directions where i should start debugging will be
%%  > appreciated.
%%  >
%%  > --
%%  > Gudleik Rasch
%%  >
%%
%%  AVISO-------------------------------------------------------------
%%  Esta mensagem pode conter informacao confidencial ou privilegiada.
%%  Se voce nao for o destinatario ou a pessoa autorizada a receber
%%  esta mensagem, nao pode usar, copiar ou divulgar as informacoes
%%  nela contidas ou tomar qualquer acao baseada nessas informacoes.
%%  Se voce recebeu esta mensagem por engano, favor avisar o remetente
%%  imediatamente, respondendo o e-mail e em seguida apagando-o.
%%  Obrigado pela cooperacao.
%%
%%  DISCLAIMER--------------------------------------------------------
%%  This message may contain confidential and/or privileged information.
%%  If you are not the addressee or authorized to receive this for the
%%  addressee, you must not use, copy, disclose or take any action based
%%  on any information herein. If you have received this message in
%%  error, please advise the sender immediately by replying to this
%%  e-mail and delete this message. Thank you for your cooperation.
%%
%%  ------------------------------------------------------------------
%%  This email was sent using SquirrelMail - http://squirrelmail.org
%%

 +------------------------------------+
 | Nelson T Yunaka  <yunakaof-AT-usp.br>{ "-AT-" = "@" }
 | Fax: +55 11 3815-5125 - SCSERED/DTO/CCE(70)/USP
 | Tel: +55 (11) 3091-6313
 |

Reply via email to