Hi

(1) Configure /usr/lib/courier/etc/authdaemonrc

* Change the following values

authmodulelist="authpam"
authmodulelistorg="authpam"

(2) Configure pam

* Create a file called imap in the folder /etc/pamd.d/ with the
following contents (all lower case)

auth            required        pam_unix.so     try_first_pass
account required        pam_unix.so     
session required        pam_permit.so   

(3) Configure /usr/lib/courier/etc/imapd

* Change the following values

IMAPDSTART=YES
ADDRESS={IP ADDRESS}

(4) Create a maildir for the user

* Execute maildirmake $HOME/Maildir as the user

or 

* Execute maildirmake /etc/skel/Maildir as root before you create the
user account



That's the easiest way of getting it going.



Since you're using Redhat, start imap as a system service. The
installation documentation includes a chkconfig file at the bottom of
the page.







-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Ilkka
Urtamo
Sent: Thursday, January 03, 2002 1:36 AM
To: [EMAIL PROTECTED]
Subject: [courier-users] imap wont accept users to connect


 Hi

I know this is a newbie question but i still am trying to get imap work
without success:

 I have a problem that my imap server wont accept any unix users  to
connect. I had done this:  1. Installed RH72  2. configured, compiled
courier imap with:  ./configure ;make;su -c "make install-strip" ; su
-c "make install-configure"  3. i run the server with :
/usr/lib/courier-imap/libexec/imapd.rc start


 Server starts, evertying looks ok. If i telnet the port the  server
answers, but it do not accept any users. The problem is that users with
normal unix accounts are unable to connect the server. it seems that the
usernames&passwords are not accepted. when i do 'ps aux' i can c that
the authdaemon is running with authdaemond.ldap. But i dont use ldap i
use plan unix users. I have tried to make authuserdb by exporting passwd
file to userdb file with pw2userdb. This does not seem to work either.
Can someone give me step by step instruction how can i build up ANY
authentication system. Only thing is that it needs to work =D ...

 Any ideas?


 Ilkka Urtamo


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to