

![]() | 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: |
5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] How-to quotas with ma...| From | Sent On | Attachments |
|---|---|---|
| Ana | May 12, 2004 2:13 am | |
| Michael McNeil | May 12, 2004 8:31 am | .config |
| Andreas Stollar | May 12, 2004 9:36 am | |
| Devin Rubia | May 12, 2004 9:36 am | |
| Tony Earnshaw | May 13, 2004 4:40 pm |

![]() | 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: | Re: [maildropl] How-to quotas with maildrop-ldap | Actions... |
|---|---|---|
| From: | Tony Earnshaw (ton...@billy.demon.nl) | |
| Date: | May 13, 2004 4:40:42 pm | |
| List: | net.sourceforge.lists.courier-maildrop | |
ons, 12.05.2004 kl. 11.17 skrev Ana:
I need help to configure quotas with maildrop-ldap. I've read a lot of messages abouts this, but I'm not able to get this works. My setup: Postfix 2.1
Check
Courier-imap 3.0
3.0.3
Maildrop 1.6.3 with suppor for LDAP
Check - but with maildrop trusted users=0 and suid/setgid root (chmod 6755)
OpenLDAP 2.1
2.2.11
I've virtual users
Check
and I've configured my maildropldap.conf to use quotas.
Check
Postfix: mailbox_command= maildrop
Yeah, mail delivered with local(8), not virtual(8). mailbox_command = /$postfix-home/bin/maildrop -d ${USER} -w 90
Courier-Imap: LDAP_MAILDIRQUOTA quota Maildropldap.conf: quota_attr quota
Check
All users authenticated OK, but quota doesn't work OK.
Works for me. I have courierMailAccount as objectclass for quotas - what do you have? I even combine this with qmailuser.schema for qmail objectclasses, because there are certain things that qmailuser does better than courierMailAccount, though its integer-based quotas can't be used with maildrop/Courier. The maildrop LDAP uid is vmail, group mail.
Hmmm ... does the following url help at all? http://deb.riseup.net/mail-server/buffy/mda/maildrop/
Must I configure maildroprc? How?
No.
homeDirectory is in LDAP.
Course it is.
Beside, If I want to send quotawarnmsg, I thint I have to use deliverquota
No. Read the maildrop docs *again*. [...]
Must I use .mailfilter for each user?
No.
How can I get create Maildir the first time user receives an e-mail?
You should not have to. If you do have to, there could be a fundamental flaw in your LDAP / maildir design. Although a partial solution for doing this for both real and virtual users was posted on the Courier IMAP list last week. Personally I use another approach for site users of all kinds in which I use system-wide LDAP authorization for everything based on dn=uid=uidno,dc=example,dn=com and adjust everything (including pam_ldap, Postfix, maildrop and Courier IMAP) to let the uidno (for example uid=9001', 'uidno=9001') authenticate using its cn (for example 'cn=j.smith'). Making entire mail directory structures for thousands of users is then as simple as a "single-line" shell script from the command line - though obviously the cns and other details have to be filled in with ldifs or with an LDAP client by hand later.
Ugh - it's been a hard day and a hard week :)
--Tonni
--
We make out of the quarrel with others rhetoric but out of the quarrel with ourselves, poetry.
mail: billy - at - billy.demon.nl http://www.billy.demon.nl








.config