[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Cheap POP/TLS support
From: |
Oliver Kiddle |
Subject: |
Re: [Nmh-workers] Cheap POP/TLS support |
Date: |
Thu, 09 Dec 2010 16:29:39 +0100 |
You wrote:
> For those of you who would like TLS support for POP, does doing something
> like:
>
> % inc -host popserver -proxy "openssl s_client -quiet -connect %h:995" work?
>
> (I'm not sure how much that code has been exercised).
Probably not much because -proxy was a relatively recent addition by me
(based on someone else's earlier patch). It's not an uncommon idiom -
fetchmail has a plugin option that does the same thing.
I mostly used it with ssh as the proxy as a way to circumvent a firewall.
However, I'm fairly sure that I've had it do SSL with stunnel rather than
openssl. Certainly, it's a lot easier than adding TLS support directly
to nmh.
Main problem with the -proxy option is you can't really use it from
.mh_profile without a wrapper script because we don't have shell quoting
in .mh_profile.
Oliver