Hi Mark,

I managed yesterday to compile imap 4.7 with OpenSSL 0.9.4 
using a little 'glue' (stdio2ssl.c). I put the glue sources in src/ssl
and made a link ssl -> src/ssl. Modified just a lillte bit imapd.c

To compile imap+SSL go to the 'ssl' directory and perform a make.

I tested it against Netscape Communicator 4.5 and everything 
worked well (of course the secure IMAP port required by Netscape 
is 993).

If you are interested in this patch/enhancement then please 
integrate it better with your software (I mean I did not have time to 
modify all the Makefile's and  a 'make clean' in the imap root 
directory does not clean the glue stuff).

The glue software needs a directory /etc/imap4.SSL where two 
SSL cert files are required:
        plain-cert.pem
        plain-key.pem

All the stuff is a quick and dirty stuff but it works :)

Have fun!

Vladimir

PS It is obvious that this glue can be used for the 
POP3 server but Ntescape is not able to use it so I did 
not bother :)

PPS OpenSSL guys, the example in 
<SSL_root>/demos/ssl/inetdsrv.cpp is not in a working 
state. However I modified it in order to merge it with 
imap. Dont't kill me for the q&d programming :) 
---
WWW Page(s): http://www.csm.ro/~ulianov
             http://asemath.ase.ro/~ulianov
E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
        [EMAIL PROTECTED]
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  imap4-sec.diff.gz
     Date:  27 Dec 1999, 23:43
     Size:  3246 bytes.
     Type:  Unknown

imap4-sec.diff.gz

Reply via email to