I wasn't able to find any indication on the mailing list of getting
tmda-cgi to interact with virtual users in Courier.

Courier already can funnel all authentication (PAM, passwd, shadow,
userdb, vpopmail/chkpw, mysql, postgres, ldap, custom) through an
authentication daemon, authdaemond, which can then be accessed through
the authdaemon library, as documented at:

   http://www.courier-mta.org/authlib.html

"This library is used for two purposes:

"1. Read an E-mail address that is supposed to be for a local account.
Determine the local account's home directory, and system userid and
groupid.

"2. Read a login id and a password. If valid, determine the account's
home directory, system userid, and groupid."

It seems like #1 covers exactly what tmda-cgi's virtual user stub needs.

Has anyone already created a stub to use this? If not, is there anyone
who could help me do so? I don't know how to go about invoking a C
library from a Python script.

thanks,
Charles

-- 
Why work up
A daily lather
Once you've tried
We're sure
You'd rather
Burma-Shave
http://frogcircus.org/burmashave/1948/why_work_up
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to