Hi, I follow all this steps and found the bug.

any idea on how to solve this problem?

i am using the lates release of the qmail-ldap patch.

regards

> hi, all
>
>   I am using qmail-1.03 with qmail-ldap-20040401 patch.
>
>   The problem(always using system
> default quota) is still in auth_pop and auth_imap.
>
> First, take a look at user attributes:
> # /var/qmail/bin/qmail-ldaplookup -u bb
> Searching ldap for: (uid=bb)
> under dn: dc=test,dc=com
> Found 1 entry:
>
> dn: uid=bb,ou=test.com,ou=account,dc=test,dc=com
> -------------------------------------------------------
> objectClass: top
> objectClass: person
> objectClass: qmailuser
> objectClass: inetorgperson
> mail: [EMAIL PROTECTED]
> mailAlternateAddress: [EMAIL PROTECTED]
> uid: bb
> accountStatus: active
> mailHost: mail.test.com
> homeDirectory: /mail/mailuser/test.com/bb/
> aliasEmpty: using default
> qmailDotMode: dotonly
> qmailUID: 1057
> qmailGID: 1057
> mailQuotaSize: 1024000
> mailQuotaCount: 500
> mailSizeMax:  (unlimited)
> mailReplyText: undefined
>
> then, see maildirsize of this user:
> # cat /mail/mailuser/test.com/bb/Maildir/maildirsize
> 1024000S,500C
> 114475 67
> 610 1
>
> It is ok, but when do like this:
>
> # telnet localhost 110
> Trying 127.0.0.1...
> Connected to dev.net (127.0.0.1).
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user bb
> +OK
> pass bb
> +OK
> list
> +OK
> ...
> quit
>
> now
> # cat /mail/mailuser/test.com/bb/Maildir/maildirsize
> 1048576S,1000C
> 115085 68
>
> This is the problem!!!!!! The quota(maildirsize file) is changed to
> system default:
> # cat /var/qmail/control/defaultquotasize
> 1048576
> # cat /var/qmail/control/defaultquotacount
> 1000
>
> This problem also occurs in imap actions. I thought is was resovled as
> described in:
> http://qmail-ldap.suares.com/pipermail/qmail-ldap-archive/2004-January/011486.html
> ...........
>  auth_pop and auth_imap used always the default quota settings because
>  the quota attributes for the ldap search where missing. Thanks to Ricardo
>  Cerqueira for the report.
> ...........
> But, actually not!
> --
> Austin.Just <[EMAIL PROTECTED]>
> http://yodoo.com
>
>

-- 
[EMAIL PROTECTED]
key ID 1EF56FDC

Reply via email to