8 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Quota from LDAP not t...
FromSent OnAttachments
Todd LyonsOct 10, 2006 11:46 am 
Sam VarshavchikOct 10, 2006 3:39 pm 
Todd LyonsOct 11, 2006 1:04 pm 
Sam VarshavchikOct 11, 2006 3:26 pm 
Todd LyonsOct 11, 2006 4:02 pm 
Sam VarshavchikOct 11, 2006 6:38 pm 
Todd LyonsOct 11, 2006 9:06 pm 
Todd LyonsOct 12, 2006 11:08 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Quota from LDAP not taking effectActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Oct 10, 2006 3:39:12 pm
List:net.sourceforge.lists.courier-maildrop

Todd Lyons writes:

Problem: Quota is seen by authlib, but not observed by maildrop.

System: CentOS 4.4 Software: Sendmail, Courier compiled from source: CentOS44[root@smtp1 ~]# rpm -qa courier* courier-authlib-devel-0.58-1 courier-maildrop-0.53.2-1 courier-authlib-ldap-0.58-1 courier-0.53.2-1 courier-maildrop-wrapper-0.53.2-1 courier-pop3d-0.53.2-1 courier-authlib-0.58-1 courier-imapd-0.53.2-1

All user information is in LDAP and accessible to courier-authlib: CentOS44[root@smtp1 ~]# authtest cann@misterball.com XXXXXXXXXX Authentication succeeded. Authenticated: cann@misterball.com (uid 1008, gid 1000) Home Directory: /netapp1/mail/maildirs/m/i/s/cannonball.misterball.com Maildir: (none) Quota: 629145600S <snip>

Here's the maildir file: CentOS44[root@smtp1 Maildir]# head -n 1 \ /netapp1/mail/maildirs/m/i/s/cannonball.misterball.com/Maildir/maildirsize 31457280S

It does append the size of new emails to the maildir file, so quota extensions are definitely functional: CentOS44[root@smtp1 Maildir]# maildrop -v maildrop 2.0.2 Copyright 1998-2005 Double Precision, Inc. GDBM extensions enabled. Maildir quota extension enabled.

Put "| echo $MAILDIRQUOTA >/tmp/quota.trace" in the .courier file, temporarily, and see what's in the environment variable.