I'm working on a small package to impliment a web interface for virtual 
mailboxes for TMDA.  The piece is modular, and in it's previous incarnation, 4
years ago, it simply authenticated from the PAM system using a small python 
program which queried the PAM system and authenticated using Authen::PAM.  

This works OK for system accounts, but to extend it to virtual accounts I need 
to query the courier authdaemon system.  I've read authlib(7) and can hack 
something together if necessary, but I'm wondering if anyone knows of any open 
source code out there to do this that's already written and tested.  Basically, 
I need a piece to which I can pass a user/passwd pair (php popen() call) and 
which will return data containing at least the path to the the authenticated 
user's maildir if the user is authenticated.

I can always query the database (authmysql) directly, but since I'm going to 
publish this I'd rather at least use a method which will work with courier 
across any auth mechanism supported by the current courier configuration.

-- 
Lindsay Haisley       | "Fighting against human |     PGP public key
FMP Computer Services |    creativity is like   |      available at
512-259-1190          |    trying to eradicate  | <http://pubkeys.fmp.com>
http://www.fmp.com    |        dandelions"      |
                      |      (Pamela Jones)     |

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to