Title: PAM Authentication Problem (Newbie question)?

Hi,

I just installed courier-imap-1.4.3 on a Redhat 7.3 server with qmail 1.03 installed.  I'm having problems with IMAP password authentication.  Specifically, I get the following when I telnet to 0.0.0.0 on the server:

Trying 0.0.0.0
Connected to 0
Escape character is '^]'.
*Ok Courier-IMAP ready.  Copyright 1998-2002

I try to login as user hubert

a1 login Hubert
a1 NO Error in IMAP command received by server
a3 logout
* BYE Courier-IMAP server shutting down
a3 OK LOGOUT completed
Connection closed by foreign host

I've read the Courier-IMAP Install and it mentions authpam and site-specific steps in order to configure my PAM library.  I searched the courier-users archive at http://www.mail-archive.com/[EMAIL PROTECTED]/ and saw similar problems with authentication.  I also searched the PAM list at Redhat and didn't find anything related to IMAP.  I didn't see any reference to how my /etc/pam.d/imap should be configured.  The contents of it are as follows:

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've edited my imapd file.  Specifically, I changed the following:

AUTHMODULES= "authdaemon" to AUTHMODULES="authpam"

I've noticed that if I revert to the "authdaemon" setting and try to login, I get a1 NO Login failed.

I've edited my /usr/courier-imap/etc/authdaemonrc file.  Specifically, I changed the following Authmodule list to:

Authmodulelist="authpam"

Any insight would be appreciated.

John

Reply via email to