Re: [courier-users] [Fwd: Using LDAP quota for non-virtual users]

2005-04-26 Thread Jay Lee
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
--
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--

---
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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: Using LDAP quota for non-virtual users]

2005-04-26 Thread Gordon Messmer
Fabiano Felix wrote:
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'd guess that you're using authpam instead of authldap.  Try removing 
all of the modules except for authldap from the "authmodulelist" setting 
in the "authdaemonrc" file.

---
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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] [Fwd: Using LDAP quota for non-virtual users]

2005-04-26 Thread Fabiano Felix
Hi all,

Someone has some idea about??? I really want to use Courier, but without
this function is impracticable...

Regards,

Fabiano Felix
--- Begin Message ---
Hi All,

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...

Any help will be apreciated...

With best regards,


Fabiano Felix
--- End Message ---