Install OpenSSL (www.openssl.org) (try openssl version to see if its installed.)
get this patch, enter the qmail-1.03 directory, run patch -p1 < tls.patch
make an certificate (self signed) make cert
(re)build the source make
copy qmail-remote and qmail-smtp to /var/qmail/bin (or where you keep your qmail binaries)
Test it (Netscape can send Mails via SMTP over SSL to an mailsever). There should be a notice in the header :
Received: ... by hostname with EXP1024-RC4-SHA encrypted SMTP; 3 Mar 2001 16:38:02 -0000
Done!
I urge you not to use qmail anymore. It's time has come (at least if you want up-to-date stuff and don't code/patch it yourself)
postfix
old version
see here for install information
http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/
TLS (improved SSL) is now integrated within Postfix.
The debian package name is postfix-tls ...
Install OpenSSL (www.openssl.org) (try openssl version to see if its installed.)
Install mod_SSL (www.modssl.org)
ed.)
Done!
Note: this is deprecated, too. Apache2 has encryption support. There are many other good webservers out, too. Look for lighttpd or gatling.
How to get a webserver SSL ready
apache