On this page
What this issue is
An MX record is a DNS entry that says which server receives email for your domain. When another mail server wants to deliver to you, it connects to that host on port 25 and asks if it supports STARTTLS. STARTTLS is the command that switches the connection to encrypted TLS.
This issue means the MX host does not answer with STARTTLS, or offers it with a broken or expired certificate. The email is then sent in plain text, or not delivered at all, depending on the sender's policy.
Why it costs you leads or sales
Most of the time, nothing visibly breaks. Many senders fall back to plain text, so the impact is rated low. But plain text means anyone on the network path could read the message, which matters for lead details, quotes and password resets.
The real risk is senders that insist on encryption. If a customer's company, or a service using MTA-STS or a strict TLS policy, cannot negotiate TLS with you, it delays or bounces the message. A customer reply or a partner's email then never reaches your inbox.
- Customer sends emailTheir server looks up your MX
- Connects to MXPort 25 connection opens
- STARTTLS requestedYour server does not offer it
- Message deliveredBounced or delayed
- You read the replyNever arrives
A sender that requires TLS gives up when your MX does not offer STARTTLS.
How to check if your site has it
Find your MX host
Run the command below, or use a DNS lookup tool, to see the mail server names for your domain.
Test STARTTLS on port 25
Use openssl to connect to each MX host and look for a certificate in the output. If it prints no certificate or fails the handshake, TLS is not offered.
Check the certificate
Confirm it has not expired and that the name matches the MX hostname. Many senders accept a mismatch, but strict ones do not.
Try an online SMTP TLS checker
Public tools such as Hardenize or CheckTLS run the same test and explain the result. Your own network may block port 25, so an online tool is often easier.
# 1. List your MX hosts
dig +short MX example.com
# 2. Test STARTTLS on one of them
openssl s_client -starttls smtp -connect mail.example.com:25 -servername mail.example.com
# Good: prints a certificate chain and 'Verify return code'
# Bad: connection closes or says 'didn't find STARTTLS'How to fix it
The fix depends on who runs your mail server. If it is a hosted provider, the fix is usually a setting or a support ticket. If it is your own server, you install a certificate and switch TLS on.
Get a certificate for the MX hostname
Issue a certificate for the exact host in your MX record, for example with Let's Encrypt (certbot).
Turn on STARTTLS in your mail server
In Postfix, set smtpd_tls_cert_file, smtpd_tls_key_file and smtpd_tls_security_level = may. In Exim or others, use the equivalent TLS settings.
Reload and re-test
Reload the mail service, then run the openssl test again. Set up automatic certificate renewal so it does not expire.
Know that WordPress does not receive mail
WordPress sends email but your MX is set at your DNS and mail host. Check where your MX records point.
Contact the mail host
If the MX is your web host's mail server, ask support to enable STARTTLS with a valid certificate, or move to a hosted mailbox provider.
Not applicable
Google Tag Manager has no part in receiving email. Fix this at your mail host or DNS.
Here is a minimal Postfix example for opportunistic TLS, which means TLS is used whenever the sender supports it.
smtpd_tls_cert_file = /etc/letsencrypt/live/mail.example.com/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/mail.example.com/privkey.pem
smtpd_tls_security_level = may
smtpd_tls_protocols = >=TLSv1.2Before
- MX host does not offer STARTTLS
- Mail arrives in plain text
- Strict senders bounce or delay messages
After
- MX host offers STARTTLS with a valid certificate
- Mail is encrypted in transit
- Strict senders deliver normally
How to confirm it's fixed
- openssl s_client -starttls smtp shows a certificate chain
- The certificate is not expired and covers the MX hostname
- An online SMTP TLS checker reports STARTTLS supported on every MX host
- A test email from Gmail shows the padlock (encrypted) detail in its message info
- Every MX host passes, not only the primary one
How to prevent it happening again
- Automate certificate renewal and monitor the expiry date
- Re-test STARTTLS after any mail server upgrade, migration or MX change
- Make sure backup MX hosts also support TLS
- Consider MTA-STS and TLS-RPT once TLS is stable, to enforce and report on encryption
- Prefer a hosted mail provider if you do not want to maintain a server
How FunnelGuard handles this
This is outside what FunnelGuard checks. FunnelGuard runs robot visits through your website's lead forms, checkouts and tracking, and checks whether test leads reach the inbox. It does not test the TLS settings of your mail server.
The kind of tool that fits is an email and DNS diagnostics tool, such as an SMTP TLS checker, or an MTA-STS and TLS-RPT reporting service. Use one of these for the MX host, and use FunnelGuard for the website journey that sends the lead.
The free read-only website audit and the Free plan (1 site, 2 journeys, daily checks, no card) are there if you also want to watch your forms.
Questions people ask
Why does my MX server not support STARTTLS?
Usually the mail server has no certificate installed, TLS is switched off in its config, or it is an old host that never enabled it. Hosted providers like Google Workspace and Microsoft 365 support it by default.
How do I test if my MX supports TLS?
Find your MX host with dig, then run openssl s_client -starttls smtp -connect yourhost:25. If a certificate chain prints, TLS is offered. You can also use an online SMTP TLS checker.
Is it a problem if my mail server has no TLS?
It is rated low impact because many senders fall back to plain text. But mail is readable in transit, and senders that require encryption may bounce or delay messages to you.
Will missing TLS make emails go to spam?
Not directly. Missing TLS is mainly an encryption and delivery-policy issue. Spam filtering depends more on SPF, DKIM, DMARC and sender reputation.
What is the difference between STARTTLS and MTA-STS?
STARTTLS lets a mail connection upgrade to encryption when both sides agree. MTA-STS is a policy you publish that tells senders to require TLS with a valid certificate when delivering to you.
Does my expired certificate count as TLS not offered?
Not exactly, but the effect is similar. Strict senders may refuse to deliver if the certificate is expired or does not match the MX hostname, so renew it and re-test.
Can FunnelGuard check my MX server's TLS?
No. FunnelGuard checks website journeys, tracking and whether test leads arrive. For MX TLS, use an SMTP TLS checker or an MTA-STS and TLS-RPT reporting tool.
Related issues
- DLV-055MX records missing or pointing at an old host, owner mail bouncesFix guide
- DLV-056MX record changed during a website migrationFix guide
- DLV-053DMARC record missing (Gmail/Yahoo bulk sender requirement)Fix guide
- DLV-052DKIM selector record missing or wrong keyFix guide
- DLV-048Domain has no SPF recordFix guide
- DLV-059Reverse DNS (PTR) missing on self-hosted mail serverFix guide