Re: [maildropl] per user quota with qmail-ldap + maildrop
Brought to you by:
mrsam
From: Emili B. <eb...@ti...> - 2003-10-28 11:20:29
|
Sorry, I found the problem myself. The "import MAILDIRQUOTA" works fine, the problem was the definition of the atributte "mailquota" in the LDAP entry. It has to be "mailquotasize" or "mailquotacount" for the qmail-ldap version running. Regards At 17:54 27/10/2003, you wrote: >Hi all, > >I have qmail-ldap-20031001 running and I am trying to set up maildrop >1.6.2 for maildir delivery. >We have all virtual users in LDAP with the atributte "mailquota=xxxxx" >and we want per user quotas. > >The way we start qmail to deliver with maildrop is: qmail- >start "/var/qmail/bin/maildrop -d". >We have a global /etc/maildroprc file for all users and we can only set >up the default quota for all users (with import MAILDIRQUOTA ). We want >the quota data being stored in each LDAP entry in case is different to >the default. >We could create the maildirfile with maildirmake, but we'd rather have >mailquota information in the LDAP entry and maildirsize being checked >against this atributte whe is created or updated. > >We configured maildrop with "--enable-maildropldap" and set up the >maidlropldap.config file to retirieve quota information from LDAP >with "quota_attr mailquota" (that's what we think it is for). This >configuration doesn't have any effect. We need that maildirzise >reflects any change we do in our LDAP entries. We need that any mailbox >when is created has to look for the quota information in LDAP and if it >doesn't have especific entry, set the default. >Is it possible to do? How can we set this info for the user before >delivering the message? >If "quota_attr" is not to retrieve per user quota information from >LDAP, what is it for? > >Regards > > > > >------------------------------------------------------- >This SF.net email is sponsored by: The SF.net Donation Program. >Do you like what SourceForge.net is doing for the Open >Source Community? Make a contribution, and help us add new >features and functionality. Click here: http://sourceforge.net/donate/ >_______________________________________________ >Courier-maildrop mailing list >Cou...@li... >https://lists.sourceforge.net/lists/listinfo/courier-maildrop |