7 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] problem with mail quota
FromSent OnAttachments
Goutam BaulAug 27, 2007 9:35 pm 
Tony EarnshawAug 27, 2007 10:05 pm 
Goutam BaulAug 27, 2007 10:33 pm 
Tony EarnshawAug 27, 2007 11:01 pm 
Tony EarnshawAug 27, 2007 11:17 pm 
Goutam BaulAug 28, 2007 12:01 am 
Tony EarnshawAug 28, 2007 1:43 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] problem with mail quotaActions...
From:Tony Earnshaw (ton@hetnet.nl)
Date:Aug 27, 2007 10:05:38 pm
List:net.sourceforge.lists.courier-maildrop

Goutam Baul skrev, on 28-08-2007 06:36:

I am not too sure whether this is the correct list to post for my problem. In case it is not, please excuse me.

We are trying to configure a mailing system using RHEL 4, postfix, courier and openldap. The system should autheticate users using openldap and mailing quota is to be implemented. The message store is in maildir format and all the individual mail stores are under the user and group vmail. The ldap schema has an attribute mailQuotaSize and we are putting appropriate data here to control the individual storage quota.

The problem with this is (I tried it myself, way back), is that this attribute from the qmailuser objectClass is an integer and maildrop wants a string. I advise you to use authldap.schema included with courier-authlib and the quota attribute. You can still carry on using the qmail schema for other things (like mailMessageStore, f. ex.), I use both.

The following packages are

installed using rpms:

Postfix-2.3.8-4.rhel4

courier-authlib-debuginfo-0.58-1.4AS courier-imap-4.1.1-1.4AS courier-authlib-0.58-1.4AS courier-authlib-devel-0.58-1.4AS courier-imap-debuginfo-4.1.1-1.4AS courier-authlib-ldap-0.58-1.4AS

mod_authz_ldap-0.26-2 openldap-2.2.13-6.4E nss_ldap-226-13 python-ldap-2.0.1-2 openldap-clients-2.2.13-6.4E php-ldap-4.3.9-3.15 openldap-devel-2.2.13-6.4E openldap-servers-2.2.13-6.4E

We have compiled pcre-7.2 with the default options and maildrop-2.0.3 have been compiled with the following options:

--without-db --enable-maildrop-uid=vmail --enable-maildrop-gid=vmail --enabl e-maildropquota --with-etcdir=/etc/maildrop --with-devel

Additionally squirrelmail has been installed.

The mails are running properly. The only issue we are facing is with the quota. The mail store is in maildir format and we are not having the maildirsize file created. If the file is created with the command maildirmake -q command, the file is working properly with IMAP but any change in the ldap quota information is not getting reflected here. When we connect the server with POP clients like Outlook, the maildirsize file is not getting updated.

Can you please give us some hints regarding the probable cause of this? Search in google has not helped much.

That's what the list's for :)

--Tonni