12 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier-0.99 & IM...
FromSent OnAttachments
Chen ShiyuanAug 27, 2000 7:42 am 
Chen ShiyuanAug 27, 2000 4:00 pm 
Chen ShiyuanAug 28, 2000 12:47 am 
Chen ShiyuanAug 28, 2000 5:31 am 
Chen ShiyuanAug 28, 2000 3:50 pm 
Chen ShiyuanAug 28, 2000 3:56 pm 
Chen ShiyuanAug 28, 2000 7:54 pm 
Chen ShiyuanAug 28, 2000 10:02 pm 
Chen ShiyuanAug 28, 2000 10:53 pm 
Chen ShiyuanAug 28, 2000 10:55 pm 
Chen ShiyuanAug 29, 2000 2:20 am 
Chen ShiyuanSep 7, 2000 11:51 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:Re: [courier-users] Courier-0.99 & IMAP-SSLActions...
From:Chen Shiyuan (cs@hjc.edu.sg)
Date:Aug 28, 2000 12:47:04 am
List:net.sourceforge.lists.courier-users

Hi!

Quoting Sam Varshavchik <mrs@stop.mail-abuse.org>:

I doubt that your include files and libraries are in the same directory, /usr/local/ssl. More than likely your include files are in /usr/local/ssl/include, and your libraries are in /usr/local/ssl/lib.

For this situation gcc needs -I/usr/local/ssl/include for the preprocessor phase, and -L/usr/local/ssl/lib for the link phase. This translates to:

CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib" export CPPFLAGS export LDFLAGS ./configure [ options ]

After I followed the above, I did a make and all goes well but couriertls is still not compiled. I went into the tcpd directory and did a "make couriertls" and the couriertls binary appeared.

I copied the couriertls binary to /usr/lib/courier-imap/bin and typed in "/usr/lib/courier-imap/libexec/imapd-ssl.rc start" . Before that, I made use of the mkimapdcert to generate my own cert.

All appears to be going well execpt that when I tried to use Netscape Messager 4.75 to connect, it informed me that the certificate is not a "valid" one and after I accepted it, it told me that it cannot connect to the server. Does this have something to do with needing to enable the workaround to "support" the bugs listed under imap/BUGS?

I did a strace and it told me the following :-

[pid 8152] getpid() = 8152 [pid 8152] getpid() = 8152 [pid 8152] getpid() = 8152 [pid 8152] write(0, "\25\3\0\0\2\2(", 7) = 7 [pid 8152] getpid() = 8152 [pid 8152] write(2, "starttls: accept: error:0407106B"..., 98) = 98 [pid 8152] getpid() = 8152 [pid 8152] close(0) = 0 [pid 8152] _exit(1) = ?

Do you have any idea what I could have gone wrong?

BTW, do you know of any IMAPd programs that can support SSL? I was trying out MS Outlook & Outlook Express and also Eudora 4.3.2 and they don't seem to support SIMAP.

Thanks!