Mail system not working even thought I tested it with telnet and other platforms

Right, the server is configured to work with explicit TLS on submission port (587). Now what does one need to do in Discourse configuration to make it work over 587 with TLS? Should/shouldn’t it work OOB?