Description
In the underlying ns_server code for the SMTP Client, we have 3 options for TLS requirement:
- Always
- Never
- If Available (Default)
-define(DEFAULT_OPTIONS, [
|
{ssl, false}, % whether to connect on 465 in ssl mode
|
{tls, if_available}, % always, never, if_available
|
{tls_options, [{versions, ['tlsv1', 'tlsv1.1', 'tlsv1.2']}]}, % used in ssl:connect, http://erlang.org/doc/man/ssl.html
|
{auth, if_available},
|
{hostname, smtp_util:guess_FQDN()},
|
{retries, 1} % how many retries per smtp host on temporary failure
|
]).
|
In the web UI we only have a yes-no option for Require TLS?
It would be ideal if this could be changed for a dropdown selection box or some radio buttons to allow selecting the 3 underlying states individually.
There are instances where a server may report STARTTLS support in the server banner, but this is not desired and the administrator wishes to control this manually.