Hi All,
I'm restarting the project using Postfix+Courier+Maildrop+LDAP, for
non-virtual users. As I mentioned, all functions correctly, except user's
quota. Now, if I set quota using "maildirmake -q" (using a fixed value), quota
works fine.
Questions/problems:
- Maildrop/Courier doesn't update quota information automatically???
- When a user receives an over quota message, new messages are queued with
"Unable to create a dot-lock" error. After the user adjust you mailbox, new
messages are received without problem, but the messages that are on queue
still aren't received, with the same error
- What's the correct quota format to put at LDAP quota field (only size
limit)?
My config files:
/etc/courier/authldap:
LDAP_SERVER localhost
LDAP_PORT 389
LDAP_PROTOCOL_VERSION 3
LDAP_BASEDN dc=base,dc=int,dc=br
LDAP_BINDDN cn=mail-admin,dc=base,dc=int,dc=br
LDAP_BINDPW password
LDAP_TIMEOUT 5
LDAP_MAIL uid
LDAP_FILTER (objectClass=CourierMailAccount)
LDAP_HOMEDIR homeDirectory
LDAP_MAILDIR mailbox
LDAP_DEFAULTDELIVERY defaultDelivery
LDAP_MAILDIRQUOTA quota
LDAP_FULLNAME displayName
LDAP_CRYPTPW userPassword
LDAP_UID uidNumber
LDAP_GID gidNumber
LDAP_DEREF never
LDAP_TLS 0
/etc/maildrop/maildropldap.conf:
hostname localhost
basedn dc=base,dc=int,dc=br
filter &(&(objectClass=CourierMailAccount))
binddn cn=mail-admin,dc=base,dc=int,dc=br
bindpw password
timeout 5
search_method mail
default_uidnumber 8
default_gidnumber 8
default_quota 10485760S,10000C
mail_attr mail
uid_attr uid
uidnumber_attr uidnumber
gidnumber_attr gidnumber
maildir_attr maildir
homedirectory_attr homedirectory
quota_attr quota
/etc/postfix/main.cf (only relationed portion):
mailbox_transport = maildrop
/etc/postfix/master.cf (only relationed portion):
maildrop unix - n n - - pipe
flags=Ru user=nobody argv=/usr/bin/maildrop -w 70 -d ${user} -f ${sender}
${extension}
Any help would be appreciated...
Regards,
Fabiano Felix
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users