Testing inbound STARTTLS involves various methods, ranging from user-friendly online tools to command-line utilities that provide detailed control. Online tools like CheckTLS, MXToolbox, and Wormly offer easy checks. Command-line methods include OpenSSL's `s_client`, SWAKS, and manual Telnet connections. Nmap provides the `smtp-starttls.nse` script for automated testing. The core recommendation across many sources is to use OpenSSL with the command `openssl s_client -starttls smtp -connect your_server:25`. Certificate verification with `-verify 9` and analyzing server responses are important aspects of comprehensive testing.
7 marketer opinions
Testing inbound STARTTLS with a given external IP address can be achieved using various methods. Online tools like CheckTLS and MXToolbox offer automated checks. Command-line tools like OpenSSL and Telnet provide more granular control, allowing manual negotiation and inspection of the TLS handshake. OpenSSL's `s_client` command is frequently recommended with variations for certificate verification. Telnet involves manually connecting, sending EHLO, then STARTTLS, and observing the server's response.
Marketer view
Email marketer from MXToolbox shares that MXToolbox offers a STARTTLS test tool where you can enter a domain name or IP address and it will check if the server supports and properly implements STARTTLS.
26 Jan 2022 - MXToolbox
Marketer view
Email marketer from Reddit explains that you can manually test STARTTLS using telnet by connecting to port 25, issuing the EHLO command, then the STARTTLS command, and observing the server's response to verify support.
13 Mar 2024 - Reddit
3 expert opinions
All provided answers recommend using OpenSSL's `s_client` command to test inbound STARTTLS. The command `openssl s_client -starttls smtp -connect your_server:25` is the base suggestion, allowing inspection of ciphers and other details. Removing the `-brief` flag provides even more information. Word to the Wise provides context around the command and interprets results.
Expert view
Expert from Email Geeks shares that if you need more info than swaks gives you, then you can use `openssl s_client -brief -starttls smtp -connect ip_address:25` to get detailed information about the ciphers used and so on. Removing `-brief` will give you far more information.
22 Mar 2022 - Email Geeks
Expert view
Expert from Email Geeks provides an example of using openssl to test inbound starttls. They also link to a resource with further information <https://wordtothewise.com/2023/10/can-you-starttls/>.
9 Jan 2025 - Email Geeks
3 technical articles
The provided documentation references three tools for testing inbound STARTTLS: SWAKS, OpenSSL's `s_client`, and Nmap's `smtp-starttls.nse` script. SWAKS uses the `--server` and `--tls` options. OpenSSL's `s_client` uses the `-starttls smtp` option. Nmap utilizes a dedicated NSE script to automatically test STARTTLS support.
Technical article
Documentation from Jetmore.org explains that SWAKS (Swiss Army Knife for SMTP) can be used to test STARTTLS by specifying the server address and port with the `--server` option, and enabling TLS with `--tls`. It also details options for specifying the TLS version.
9 Mar 2024 - Jetmore.org
Technical article
Documentation from Nmap explains that the `smtp-starttls.nse` script can be used to check if a mail server supports STARTTLS. The script attempts to negotiate a STARTTLS connection and reports if it succeeds or fails.
14 Jun 2025 - Nmap
Can a dedicated IP address be configured to identify email as transactional?
Can I use DMARC with shared IP addresses?
Can you rely on the From address when receiving mailto unsubscribes?
Does a sending IP address need to accept incoming SMTP connections for email deliverability?
Does using TLS matter for email deliverability or inbox placement?
How can I contact BT Internet about deliverability issues and what should I expect?
How can I test email deliverability to mailboxes protected by Mimecast?
How do I check if the sending IP address matches the IP address of the hostname specified in the Pointer (PTR) record?
How do I perform a reverse DNS lookup and interpret the results?
How does TLS inbound affect email deliverability and sender confidence?
What services can I use to test email deliverability and simulate bounce responses?