

![]() | 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: |
8 messages in net.sourceforge.lists.courier-users[courier-users] Re: [Fwd: Using LDAP ...| From | Sent On | Attachments |
|---|---|---|
| Fabiano Felix | Apr 26, 2005 8:34 am | |
| Gordon Messmer | Apr 26, 2005 8:58 am | |
| Jay Lee | Apr 26, 2005 9:01 am | |
| Fabiano Felix | Apr 27, 2005 8:34 am | |
| Mark Bucciarelli | Apr 27, 2005 8:58 am | |
| Gordon Messmer | Apr 27, 2005 9:15 am | |
| Fabiano Felix | Apr 27, 2005 10:17 am | |
| Edwin L. Culp | Apr 27, 2005 10:37 am |

![]() | 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: | [courier-users] Re: [Fwd: Using LDAP quota for non-virtual users] | Actions... |
|---|---|---|
| From: | Fabiano Felix (fel...@getnet.com.br) | |
| Date: | Apr 27, 2005 8:34:42 am | |
| List: | net.sourceforge.lists.courier-users | |
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







