5 messages in net.sourceforge.lists.courier-sqwebmail[sqwebmail] configuring courier-authl...
FromSent OnAttachments
Kurt BiglerApr 8, 2005 8:36 pm 
zrrApr 9, 2005 2:56 am 
Kurt BiglerApr 9, 2005 9:04 am 
Brian CandlerApr 10, 2005 6:22 am 
Kurt BiglerApr 10, 2005 9:34 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[sqwebmail] configuring courier-authlib for sqwebmail use on vpopmail systemActions...
From:Kurt Bigler (kk@breathsense.com)
Date:Apr 8, 2005 8:36:36 pm
List:net.sourceforge.lists.courier-sqwebmail

I'm upgrading SqWebMail from 3.5.0 to 5.0.1 and need to get courier-authlib working with vchkpw.

[I read the warning that "ANY vpopmail-related problems" will be ignored on courier lists. But I'd appreciate it if you made that comment clearer if indeed it applies to this situation, because vpopmail and vpopmail authentication are working fine. It is only the courier wrapper around vchkpw that I am having a problem with, so my best guess tells me that is a courier problem, and so not approprriate for the vchkpw list. But please correct me if I'm wrong. Thanks.]

My 3.5.0 SqWebMail configure was as follows:

./configure --enable-webpass=vpopmail --without-authuserdb --without-authpam --without-authpwd --without-authshadow --without-authldap --with-authvchkpw --enable-imageurl=/images --enable-hardtimeout=100000 --enable-softtimeout=100000 --enable-imagedir=/usr/local/apache/htdocs/webmail/images --enable-cgibindir=/usr/local/apache/cgi-bin --with-ispell=/usr/bin/ispell --without-authdaemon

What configure options do I need for courier-authlib? Looking throught the SqWebMail configure options and the available courier-authlib options, I tried:

--without-authuserdb --without-authpam --without-authpwd --without-authshadow --without-authldap --with-authvchkpw --without-authdaemonrc --without-authdaemonvar

I see now there are probably several more -without's I could have added, but I'm assuming this is not my primary problem.

Then there is the question of how to use authtest. Is the userid supposed to be of the form user@domain? I tried this and also user%domain. No luck. I get this output in the single-arg case with a valid user and domain:

ERR: authdaemon: s_connect() failed: Not a directory Authentication FAILED: Not a directory

Prior to adding --without-authdaemonrc and --without-authdaemonvar I was getting

ERR: authdaemon: s_connect() failed: No such file or directory Authentication FAILED: No such file or directory

Does this mean I haven't fully disabled authdaemon?

I get the same results if I specify -s authvchkpw explcitly.

Thanks for any help.