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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to