Hello, I tried to make use of the authlib to create a new version of checkpassword for qmail. The purpose of this is to let all email users send their email through our mail server without having an open relay, without POP-before-SMTP etc. but by authenticating the SMTP. Therefore I am using qmail with the auth patch. Everything works fine so far with unix system accounts but of course not with the virtual email users I have in the userdb. qmail-smtp makes use of checkpassword and thus I wanted to create a checkpassword which can check both system and userdb accounts. Unfortunately I couldn't yet figure out how to use authlib to authenticate against userdb. The docs seem slightly out of date and RTFS didn't take me very far.
Can anyone tell me the right way to use the authlib API? So far I only found some functions like authmod(), authmodclient() or authmod_login() (which are also in the docs) but couldn't yet figure out how to use them. They seem to depend heavily on a certain configuration of environment variables like AUTHUSER and argv/argc assigment .. thanks for your help -- Oliver _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
