I've setup Courier-MTA to authenticate to an LDAP server (Novell eDirectory 8.6.2). All mail is stored on the Courier server's local drive. Accounts are created with the following commands:
maildirmake /var/maildir/USERNAME/Maildir maildirmake -q 50000000S /var/maildir/USERNAME/Maildir
Courier-IMAP correctly reports the user's quota size and warns them when their nearly full or over, however maildrop seems happy to continue delivering messages to the account. /etc/courier/courierd has the following setting:
DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"
Do I need to call deliverquota here also or does quota size have to be stored in the LDAP when using LDAP for authentication? Also, IMAP seems to allow new messages to be created past quota when fetching from POP3 accounts, can this be enforced? Thanks for your help. I'm finding Courier to be an excellent piece of software.
You need to put your quotas in LDAP, and point authldaprc at it.
pgp00000.pgp
Description: PGP signature
