

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
8 messages in net.sourceforge.lists.courier-maildrop[maildropl] Quota from LDAP not takin...| From | Sent On | Attachments |
|---|---|---|
| Todd Lyons | Oct 10, 2006 11:46 am | |
| Sam Varshavchik | Oct 10, 2006 3:39 pm | |
| Todd Lyons | Oct 11, 2006 1:04 pm | |
| Sam Varshavchik | Oct 11, 2006 3:26 pm | |
| Todd Lyons | Oct 11, 2006 4:02 pm | |
| Sam Varshavchik | Oct 11, 2006 6:38 pm | |
| Todd Lyons | Oct 11, 2006 9:06 pm | |
| Todd Lyons | Oct 12, 2006 11:08 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [maildropl] Quota from LDAP not taking effect | Actions... |
|---|---|---|
| From: | Todd Lyons (tly...@ivenue.com) | |
| Date: | Oct 10, 2006 11:46:33 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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.
Here's the strace of maildrop manipulating the maildirsize file from a
manual 'cat /some/file | maildrop -d cann...@misterball.com':
16672
open("/netapp1/mail/maildirs/m/i/s/cannonball.misterball.com/Maildir//maildirsize",
O_RDWR|O_NONBLOCK|O_APPEND) = 6
16672 fcntl64(6, F_SETFL, O_RDONLY|O_APPEND) = 0
16672 fstat64(6, {st_mode=S_IFREG|0640, st_size=3468, ...}) = 0
16672
lstat64("/netapp1/mail/maildirs/m/i/s/cannonball.misterball.com/Maildir//maildirsize",
{st_mode=S_IFREG|0640, st_size=3468, ...}) = 0
16672 read(6, "31457280S\n 10544675 2"..., 5120) = 3468
16672 read(6, "", 1652) = 0
16672 fstat64(6, {st_mode=S_IFREG|0640, st_size=3468, ...}) = 0
16672 write(6, " 909 1\n", 26) = 26
16672 close(6) = 0
The /etc/authlib/authldaprc has: LDAP_MAIL uid LDAP_HOMEDIR homeDirectory LDAP_DEFAULTDELIVERY defaultDelivery LDAP_MAILDIRQUOTA quota LDAP_FULLNAME cn LDAP_UID uidNumber LDAP_GID gidNumber I've left out the bind and password information since it's apparently working properly.
I'd appreciate any suggestions for what to change or troubleshoot in order to make it observe the quota setting in LDAP.
History: We had an older version of courier, with maildrop 1.5.3 on Gentoo built in Nov 2004. That version used its own maildropldap.cf. It worked fine for a long time, but we wanted to convert to CentOS. We upgraded to CentOS last month and using the latest version of courier on the site, we built the rpms from the tarball, which leaves us running maildrop 2.0.2. We just noticed that quota is no longer taking effect. Authlib can see it, but I'm not sure why maildrop is ignoring that quota information.
It's not $ARCH related, as it does the same on our x86 and our x86_64 boxen (2 of each for the smtp servers).
Oddball question: Why do the rpm version numbers vary so widely from the actual version numbers of the software? - -- Regards... Todd Chris: grep 500 sendmail.mc undefine(`FAIL_MAIL_OVER_500_MILES')dnl Chris: just in case ... Linux kernel 2.6.12-18mdksmp 2 users, load average: 0.16, 0.12, 0.10 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFFK+qgY2VBGxIDMLwRAlYIAJ9ayyIrdUbU3LbEV7BQb2qfzcdz1ACeL8m3 bIfaDBm0+Orb6gAGC/XzzQY= =vwel -----END PGP SIGNATURE-----







