Do I need to ask if you have the file authpam in the directory /usr/lib/courier-imap/libexec/authlib? If it didn't get installed, you can find authpam in the authlib directory of the Courier source tree.

This is what my /etc/pam.d/imap file looks like.

#%PAM-1.0
#
# $Id: system-auth.authpam,v 1.1 2001/02/02 05:42:57 mrsam Exp $
#
# Copyright 1998-2001 Double Precision, Inc. See COPYING for
# distribution information.
#
# This is a sample authpam configuration file that uses pam_stack
# (circa linux-pam 0.72).

auth required pam_nologin.so
auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth

I'm running Courier IMAP under Mandrake 8.2. Authentication via PAM works for me although I'm using authdaemon rather than authpam directly.

Hope this helps.

Andrew


Arnold wrote:
Dear Sir:

Mandrake 9, qmail and qmail-pop3, along with
ucspi-tcp, daemontools, checkpassword, all with rpms
(www.rpmhelp.net).

Pop and SMTP works fine.

Installation courier-imap with tar.gz, all OK.
Modified my imapd my IP and AUTHMODULES="authpam"
Telnet to server OK.

But when i try to log with a user (and with a fake
user too) the server disconnect me.

The "/var/log/mail/info" say imapd: /usr/lib/courier-imap/libexec/authlib/authpam:
No such file or directory.

I tried to rename and copy the imap.authpam that is in
the untar directory to /etc/pam.d/imap
and then make a ln -s to that file but then the log
say "format error".

How can i fix it?

Thank you very much.
Sorry but i am learning, still.




-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to