2 messages in net.sourceforge.lists.courier-users[courier-users] Re: imap - with only ...
FromSent OnAttachments
ArnoldNov 5, 2002 10:08 am 
AndrewNov 5, 2002 3:28 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: imap - with only authpam -- No such fileActions...
From:Andrew (and@arda.homeunix.net)
Date:Nov 5, 2002 3:28:42 pm
List:net.sourceforge.lists.courier-users

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.

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.