Title: authentication

Hi,

I recently installed postfix and courier IMAP onto my Gentoo linux distribution.  I created a testuser and tried telneting to port 143 and try to login.  Here is what I get:

ice courier-imap # telnet localhost 143

Trying 127.0.0.1...

Connected to localhost.

Escape character is '^]'.

* OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  See

COPYING for distribution information.

. login testuser testpass

. NO Login failed.

Any suggestions on getting this to authenticate?  My pam.d files for imap and pop3 look like this:

#%PAM-1.0

#

# $Id: imapd.authpam,v 1.2 2001/02/02 05:42:57 mrsam Exp $

#

# Copyright 1998-2001 Double Precision, Inc.  See COPYING for

# distribution information.

#

# To use the authpam authentication module with imapd, you must

# configure your PAM library to authenticate the "imap" service.

# See your system documentation for information on how to configure your

# PAM services. In most cases, all you need to do is to install this file

# as /etc/pam.d/imapd, but check your system documentation to make sure.

auth       required     pam_pwdb.so shadow nullok

account    required     pam_pwdb.so

session    required     pam_pwdb.so

#%PAM-1.0

#

# $Id: pop3d.authpam,v 1.1 2000/10/06 02:19:19 mrsam Exp $

#

# Copyright 1998 - 1999 Double Precision, Inc.  See COPYING for

# distribution information.

#

# To use the authpam authentication module with courierpop3d, you must

# configure your PAM library to authenticate the "pop3" service.

# See your system documentation for information on how to configure your

# PAM services. In most cases, all you need to do is to install this file

# as /etc/pam.d/pop3, but check your system documentation to make sure.

auth       required     pam_pwdb.so shadow nullok

account    required     pam_pwdb.so

session    required     pam_pwdb.so

Reply via email to