# How to Diagnose a Mail Server Certificate Name Warning

https://ferkesh.net/uk/baza-znan/stattia/mail-client-certificate-name-mismatch

![Diagram linking Identify connection type, Read configured name, Compare certificate and Retest documented host.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-05.svg#mail-client-certificate-name-mismatch)

A mail client verifies the identity of the hostname it connects to. A mailbox address such as team@example.com does not automatically make example.com a valid name for the provider’s SMTP or IMAP service. The documented server hostname and the configured connection determine what certificate name is expected.

## Verify the warning without accepting it

1. Identify whether the error concerns incoming IMAP or outgoing SMTP. Record the configured server name, port, encryption selection and exact warning. Do not transmit account secrets to an unverified server.
2. Compare the hostname with the provider’s current secure client setup instructions. Where the client exposes safe certificate details, check its listed names, validity dates and trust information. Note whether the client is checking a literal IP or an alternate hostname.
3. Restore the provider’s documented hostname if the settings are wrong. If that hostname still presents an invalid certificate, report it through the provider’s verified support channel.

Do not disable certificate checks. Test from a second approved device or network if you suspect a local interception, clock problem or trust-store issue, and preserve the exact differences.

## Related guides

- [How to Diagnose a Mailbox That Receives but Cannot Send](https://ferkesh.net/knowledgebase/article/mail-receives-but-cannot-send)
- [SMTP Ports 25, 465 and 587 Explained](https://ferkesh.net/knowledgebase/article/smtp-submission-ports)
- [How to Diagnose an HTTPS Certificate Warning](https://ferkesh.net/knowledgebase/article/https-certificate-warning)
- [Email Hosting and Deliverability category](https://ferkesh.net/knowledgebase/category/email-hosting-and-deliverability)

## Official references

- [RFC 9525 on service identity in TLS](https://www.rfc-editor.org/rfc/rfc9525)
- [RFC 8314 on secure mail submission and access](https://www.rfc-editor.org/rfc/rfc8314)

Ferkesh Hosting. Last reviewed November 26, 2026.
