2 messages in net.sourceforge.lists.courier-users[courier-users] Netscape-IMAP, SSL, Q...
FromSent OnAttachments
Paul ZarembaOct 27, 2000 12:32 am 
Ola SamuelsonOct 27, 2000 7:00 am 
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] Netscape-IMAP, SSL, QmailActions...
From:Paul Zaremba (pe@crosswinds.net)
Date:Oct 27, 2000 12:32:33 am
List:net.sourceforge.lists.courier-users

I was looking for a solution to the port 993/immediate disconnect problem and found a log of the mailing list messages. Shortly thereafter I fixed the problem on my home server.

Basis for solution: When you run courier-imap in ssl mode, couriertcpd tries to run $BASE/bin/couriertls If this file does not exist, the immediate disconnect problem occurs.

It may not compile the file if your ssl includes/libraries are not somewhere where the default compiler/linker can find them. Here is how I fixed it:

cd to the source directory CFLAGS=-I/usr/local/ssl/include LDFLAGS=-L/usr/local/ssl/lib ./configure cd tcpd make couriertls cd .. make install [(re)start the imap-ssl server]

Replace /usr/local/ssl with the location of your ssl base directory.

Note: I had already compiled on this source tree.

couriertls would not automatically compile for me, even after I did the new configure under root. It may compile couriertls from fresh source with the modified configure command.

Also make sure that in your $BASE/etc/imapd-ssl.conf you either set IMAPDSSLSTART=NO, IMAPDSTARTTPS=YES, IMAP_TLS_REQUIRED=1 or IMAPDSSLSTART=YES, IMAPDSTARTTLS=NO, comment out IMAP_TLS_REQUIRED=1

Otherwise netscape will complain when you try to connect.

Paul