Markus Borst wrote:
Could you provide a configuration example? For example, if I have configured my local imap server to listen on port 8143 (instead of 143), would this be a valid stunnel configuration?
[imap] accept = 143 connect = 8143 protocol = imap
That's correct. It's pretty trivial, isn't it?
Can I enforce starttls? i.e. if the client tries to authenticate to imap
without first issuing starttls, it should be denied and/or the connection should be terminated.
What you just described is the only action supported by stunnel. 8-)
Mike