courier-authlib can not load auth modules
I install courier-authlib many times but it still won't work after I issue the command (with root, all the commands below used root also):
/usr/local/sbin/authdaemond start
I've tried several configure options for compiling, such as:
./configure \
--prefix=/usr/local/courier-imap \
--without-authpam \
--with-authldap \
--with-authpwd \
--without-authmysql \
--without-authpgsql \
--with-authshadow \
--without-authuserdb \
--without-authcustom \
--without-authcram \
--with-authdaemon \
--without-authvchkpw \
--with-ssl \
--with-redhat
and then "make & make install & make install-configure" (didn't see any error messages)
Everytime the authdaemond restarted, I checked the /var/log/maillog and /var/log/debug (I set authdaemond to log to this file), there will be an entry saying:
Aug 27 14:20:00 localhost authdaemond: modules="(none)", daemons=5
Obviously, no modules was loaded, and "authtest" can not work, when root issues the commands:
authtest someuser (other usages also tested)
there will be an message saying:
Authentication FAILED: Operation not permitted
authdaemonrc has set the list of the modules to be used, but still can not load anyone of them everytime I restart authdaemon.
I want to set up a simple mail server using courier-imap, exim, and squirrelmail(needs courier-auth), using Redhat 9, the first time I installed them all it works just fine, but after I turned off the computer and woke up next morning, squirrelmail only said unknown username and password.
Thank you in advance!
Neily
Last edited by neily; 08-27-2007 at 02:16 PM.
|