hi, I run qmail and I would like to have a secure imap server as I would like to use my account password for logging in or a public key.
I also intend to install squirelMail on top of imaps. I have been trying for 2 weeks now and I am close to give up. I can't manage to find any documentation telling me how to get imaps authentication running. I used ./configure make to build C-imap. running nmap gives me Starting nmap V. 2.54BETA31 ( www.insecure.org/nmap/ ) Interesting ports on (192.168.1.3): Port State Service 993/tcp open imaps Telnet to 993 echoes: [root@khemir nadim]# telnet 192.168.1.3 993 Trying 192.168.1.3... Connected to 192.168.1.3. Escape character is '^]'. So it seems it's there and running. I would like to use Kmail to read my mail from the server. Some points I go set: /var/log/maillog.2:Sep 17 23:46:22 khemir imapd-ssl: couriertls: /usr/lib/courier-imap/share/imapd.pem: error:02001002:system library:fopen:No such file or directory I copied the file I use for my https server and the message desapeared. in /etc/rc.d/init.d/imapd-ssl LIBAUTHMODULES="". I changed it to LIBAUTHMODULES="authpam authshadow authpwd" I also did 'mkdir /var/run/authdaemon.courier-imap' as described in http://www.inter7.com/courierimap/authlib.html Then things started to move a bit. When setting the imap server in Kmail, I choose to press on the button that queries the server what the server supports. I actualy got the server certificate for the the first time. I then tried to connect to the server and my machine blocked. It seems that Kmail generates a lot of error boxes and I can't gain control anymore. The only solution was to reset the machine. here is log dump with at least two intressting errors (5 and 8). 1/ /var/log/maillog:Sep 29 22:16:30 khemir imapd-ssl: Connection, ip=[::ffff:192.168.1.3] 2/ /var/log/maillog:Sep 29 22:17:49 khemir imapd-ssl: Connection, ip=[::ffff:192.168.1.3] 3/ /var/log/maillog:Sep 29 22:17:49 khemir imapd-ssl: Unexpected SSL connection shutdown. 4/ /var/log/maillog:Sep 29 22:18:16 khemir imapd-ssl: Connection, ip=[::ffff:192.168.1.3] 5/ /var/log/maillog:Sep 29 22:18:16 khemir imapd-ssl: authpam: No such file or directory 6/ /var/log/maillog:Sep 29 22:28:54 khemir imapd-ssl: couriertls: connect: Connection reset by peer 7/ /var/log/maillog:Sep 29 22:30:05 khemir imapd-ssl: Connection, ip=[::ffff:192.168.1.3] 8/ /var/log/maillog:Sep 29 22:30:15 khemir imapd-ssl: couriertls: accept: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol 9/ /var/log/maillog:Sep 29 22:30:15 khemir imapd-ssl: couriertls: accept: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol 10/ /var/log/maillog:Sep 29 22:30:19 khemir imapd-ssl: Connection, ip=[::ffff:192.168.1.3] 11/ /var/log/maillog:Sep 29 22:30:22 khemir imapd-ssl: couriertls: accept: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol Nadim. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
