Hi, Unfortunately I'm already testing using only "authldap" module in authdaemon list, and the result are the same...
When we use MySQL as backend, how Courier (or Maildrop) do this function??? I believe that it's hardcoded on application, because I have this setup OK without external apps... Jay, I guess that a script may solve this problem, but I want to try to debug it before write some script (if Courier support it, we can found how to do...) The most strange is that Courier/Maildrop doesn't query the directory against quota data. These are my config files: authdaemonrc: " authmodulelist="authldap" authmodulelistorig="authldap" daemons=5 version="" authdaemonvar=/var/run/authdaemon.courier-imap " authldaprc (this file is the actual configuration, I have tested some others): " LDAP_SERVER localhost LDAP_PORT 389 LDAP_PROTOCOL_VERSION 3 LDAP_BASEDN o=test LDAP_BINDDN cn=manager, o=test LDAP_BINDPW secret LDAP_TIMEOUT 5 LDAP_AUTHBIND 1 LDAP_MAIL uid LDAP_FILTER (objectClass=CourierMailAccount) LDAP_HOMEDIR homeDirectory LDAP_MAILDIR mailbox LDAP_DEFAULTDELIVERY defaultDelivery LDAP_MAILDIRQUOTA concat(quota,'S') LDAP_FULLNAME cn LDAP_CRYPTPW userPassword LDAP_UID uidNumber LDAP_GID gidNumber LDAP_DEREF never LDAP_TLS 0 " Someone has some idea??? Regards, Fabiano Felix Em Ter, 2005-04-26 Ãs 11:58 -0400, Jay Lee escreveu: > Fabiano Felix wrote: > > >Someone has some idea about??? I really want to use Courier, but without > >this function is impracticable... > > > > > >I'm setting up a Postfix+Courier-Imap+Maildrop environment, which uses a > >pre-existent LDAP base (with Unix and Samba objects), with non-virtual > >users. Adding the courier.schema objects, I configure the system to > >send/receive messages without any problem, except that I can't have > >success using quota manager. I tested it using both courier and maildrop > >(maildrop is the postfix default delivery agent). > > > >I use the same apps configuration on an Postfix+Courier+Maildrop+MySQL > >+Virtual+Users setup, and quota works fine... someone using these apps > >with non-virtual users??? I tested many configurations, but I didn't > >obtain success... > > > > > I'm not sure if it's possible for authpam to pull the information or not > but another possibility would be to create a simple script that connects > to LDAP, retrieves the quota for each user and updates their > $HOME/Maildir/maildirsize file if the LDAP quota setting has changed. > It shouldn't require to many resources to run the script hourly so that > changes would show up within the hour. > > Jay ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
