MacMasta Guru
Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Thu Mar 06, 2003 9:33 pm Post subject: Courier-IMAP not authenticating correctly |
|
|
I'm working through the desktop guide, trying to get courier-imap set up...
So:
Code: |
orthanc courier-imap # emerge -s courier-imap
Searching...
[ Results for search key : courier-imap ]
[ Applications found : 1 ]
* net-mail/courier-imap
Latest version available: 1.7.0
Latest version installed: 1.7.0
Size of downloaded files: 1,183 kB
Homepage: http://www.courier-mta.org/
Description: An IMAP daemon designed specifically for maildirs
|
and:
Code: |
orthanc courier-imap # cat /etc/courier-imap/authdaemonrc | grep authmodule
##NAME: authmodulelist:0
#authmodulelist="authcustom authcram authuserdb authpam"
authmodulelist="authpam"
##NAME: authmodulelistorig:1
authmodulelistorig="authcustom authcram authuserdb authpam"
|
Code: |
orthanc courier-imap # cat /etc/make.conf | grep pam
USE="3dfx 3dnow aalib acpi afs alsa apm avi cdr cups doc dvd encode gif gnome gpm gphoto2 gtk2 imap imlib java jpeg kde libg++ libwww maildir -mbox mikmod mmx motif mozilla mpeg ncurses oggvorbis opengl pam pda pdflib perl pic png python qt qtmt quicktime readline ruby samba spell sse ssl svga tetex tiff truetype usb X xml xml2 xmms xv zlib x86"
|
Code: |
orthanc pam.d # cat /etc/pam.d/imap
#%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
|
Code: |
orthanc pam.d # telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc. See COPYING for distribution information.
1 LOGIN mac ***********
1 NO Login failed.
|
Code: |
orthanc pam.d # /etc/init.d/courier-imapd status
* status: started
|
Code: |
orthanc pam.d # /etc/init.d/authdaemond status
* status: started
|
My reading of google and the forums leads to me think that this should work .
The only fancy CFLAG I have is -fomit-frame-pointer - could that be the problem?
Thanks!
~Mac~ |
|