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!