For server 2.7.x the environment variable is now MAILER_SECURITY and according to this post it can have the value "tls", "starttls" or "none"
MAILER_SECURITY