Rick Erlandson wrote:
Looks just like mine.. Unfortunately I am using mysql/authdaemon and not pam
so I don't know if it works.  However, my sshd uses pam and works and here
is what its config looks like... The biggest diff I see is the full path is
specified.  Maybe backup the imap imap file and play with making some
changes.

#%PAM-1.0
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth

Ricky

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Warren
Johnson
Sent: December 12, 2002 7:16 PM
To: Rick Erlandson
Cc: [EMAIL PROTECTED]
Subject: Re: [courier-users] Login to server <mailserver> failed


Rick Erlandson wrote:

Maybe you need to tell pam about the imap service. On my system there is a
file in /etc/pam.d/ for each service that authenticates with pam. Should
be

one for imap in there.

Ricky

-----Original Message-----

I know I've probably done something not quite right, but I can't login
to the courier-imap server I just setup.  The response I get is "Login
to server <mailserver> failed".   The message in /var/log/messages is:

imap(pam_unix)[2361]: authentication failure; logname= uid=0 euid=0 tty=
ruser= rhost=  user=warren

I have an imap file in the /etc/pam.d directory.  It's contents are:

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

Does this look ok?

-Warren
Thanks Rick, I finally figured out the problem. It was just me being stupid. I had changed the password on the account and was trying to login with an old password. Sorry for not figuring it out earlier.

-Warren



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to