stunnel3 stunnel [-c | -T] [-D [facility.]level] [-O a|l|r:option=value[:value]] [-o file] [-C cipherlist] [-p pemfile] [-v level] [-A certfile] [-S sources] [-a
Thanks to HBruijn for pointing me in the right direction. I ended up doing the following, extracted from my config: [mail2-smtp] protocol = smtp accept = 25 connect = localhost:26 [mail2-smtps] accept = 465 connect = localhost:26 [mail2-smtp-submission] protocol = smtp accept = 587 connect = localhost:26 [mail2-smtp-ssl-client] protocol = smtp accept = 26 client = yes connect =
That’s it! You should be able to send mail to anyone now. Stunnel is a great tool. It just listens on port 25. When it hears something, it adds the appropriate data around your un-encrypted email and sends it on to the mail server and port you specified in the conf file.
Nibbler tested www.stunnel.org and gave it an overall score of 7.0 out of 10. This website is rated highly for Technology but wasn't so good at Marketing.
Download the stunnel installer from www.stunnel.org; Run the installer or extract the files from into a folder using a tool such as 7zip on the Eggplant Functional system. Also install or copy the stunnel files onto the SUT (or you can use a shared network folder). The installation folder will contain an example stunnel.conf file.
The stunnel program is designed to work as SSL encryption wrapper between remote client and local (inetd-startable) or remote server. The concept is that having non-SSL aware dae- mons running on your system you can easily setup them to communicate with clients over secure SSL channel.