The OpenSSL Developers have already done this.
Look at the smime command for the openssl program at
http://www.openssl.org/docs/apps/smime.html#

Also look at

http://www.openssl.org/docs/crypto/SMIME_write_PKCS7.html

You can sign messages using your private key which allows recipients to
verify the message came from you.  To encrypt messages the recipient must
have a public key.

Just sign or encrypt the message then send it like regular mail.  See the
attached file for a simple example.

----- Original Message -----
From: "Mark H. Wood" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 7:25 AM
Subject: RE: introduction


> On Thu, 13 Mar 2003, Boyle Owen wrote:
> > SSL and mail? Usually, SSL is used to secure the communications between
> > a webserver and its clients. I guess you could encrypt SMTP traffic but
> > I've never done it (no doubt someone else will comment on this).
>
> The SMTP verb is STARTTLS.  See RFC 3207.  Something like this is also
> defined for POP, IMAP, ACAP, and some others.
>
> I've been toying with the idea of inventing a new UUCP protocol to provide
> authentication and secure transport using TLS (but there's no code yet).
> There are lots of uses for something like TLS, beyond web stuff, and
> probably many more yet to be discovered.
>
> --
> Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
> MS Windows *is* user-friendly, but only for certain values of "user".
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

Attachment: Mail.cpp
Description: Binary data

Reply via email to