authinfo spits out the following:
postnet[root:/usr/local/src/courier-imap-3.0.3/authlib]./authinfo AUTHENTICATION_MODULES="authdaemon" AUTHDAEMONMODULELIST="authuserdb" SASL_AUTHENTICATION_MODULES="CRAM-SHA1 CRAM-MD5 PLAIN LOGIN"
I then proceed to setup a /etc/userdb file (as per the INSTALL.html page in the distribution). I am sure I am doing things pretty much as intsructed. But ! When all is done I am unable to authenticate my IMAP connection. I have enabled debugging and the syslog entry complains as follow:
Apr 22 13:26:30 postnet imapd: [ID 702911 mail.info] /usr/lib/courier-imap/libexec/authlib/ authuserdb: No such file or directory
Question !
How do I point my courier-imap configuration to read authentication information from /etc/userdb ?
imapd does not read userdb but contacts authdaemond which in turn reads userdbshadow.dat and (wont log errors anyway...) /etc/userdb/* is not read by any daemons, only by the makeuserdb utility which in turn generates userdb.dat and userdbshadow.dat.
The message indicates you are not using the authdaemond-enabled imapd but an older version which was compiled --without-authdaemon.
Check the timestamp on the binary, make shure authdaemond.plain is running, and use the authtest utility.
You could also configure everything --without-authdaemon, but then you have to set userdbshadow.dat world readable for imapd.
Roland
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
