I used AUTHMODULES="authdaemon" in imapd and authmodulelist="authcustom authpam" in authdaemonrc
and it worked fine and then i didn't have to add nothign extra to the pam.conf Try this out. By the way I used 127.0.0.1 as the address. -----Original Message----- From: John C. Suomi To: [EMAIL PROTECTED] Sent: 3/27/2003 5:54 PM Subject: [courier-users] 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]/> 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 ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
