Tls Front End For E-mail Server Script (perl)

I need a snippet of Perl code that will accept a plain text connection and then switch to a TLS connection from an e-mail client.

Currently my script uses inetd and STDIN to accept connections. I’m not liking this solution because there’s no connection limiting.

I don’t need the whole negotiation script just a snippet that will accept plain text connection up to “AUTH LOGIN” request then switch to a TLS connection.

Please no weird PMs, and a purely OpenSSL solution is ok also.

To be…

Leave a Reply

Your email address will not be published. Required fields are marked *