Hello,
I've installed courier-imap (most recent stable version) (with ./configure
--enable-unicode, make, make install-strip, make install-configure)
I've changed /usr/lib/courier-imap/etc/pop3d and imapd like that:
AUTHMODULES="authuserdb"
And I've created a userdb in /etc as described in the INSTALL file.
Starting the servers works: (with ./sbin/pop3d.rc or imapd.rc start)
/var/log/messages:
Aug 6 17:56:18 bastet authdaemond.plain: authdaemon: modules="authcustom
authcram authuserdb authpam", daemons=5
BTW: Why are these scripts starting authdaemond?? I don't want to use it.
I can connect to the servers:
florian@osiris:~$ telnet example.net imap
Trying 217.160.219.55...
Connected to example.net.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright
1998-2003 Double Precision, Inc. See COPYING for distribution information.
. LOGIN florian pwd
Connection closed by foreign host
pop3 works too.
But the server does not seem to find the right auth module:
/var/log/mail:
Aug 6 17:58:42 bastet pop3d: Connection, ip=[::ffff:217.86.5.69]
Aug 6 17:58:51 bastet pop3d:
/usr/lib/courier-imap/libexec/authlib/authuserdb: No such file or directory
Aug 6 18:09:06 bastet imapd: Connection, ip=[::ffff:217.86.5.69]
Aug 6 18:09:30 bastet imapd:
/usr/lib/courier-imap/libexec/authlib/authuserdb: No such file or directory
bastet:/usr/lib/courier-imap/libexec/authlib # ls
. .. authdaemon authdaemond authdaemond.plain
What's wrong there?
Thanks for help!
Florian