Email certificate warning: SSL for mail.example.com (IMAP, SMTP)

Updated 2026-10-29

On this page
  1. How mail certificates work here
  2. Which server name to use
  3. Fix a certificate warning
  4. Good to know
  5. Common questions

Mail apps (Outlook, Apple Mail, Thunderbird, phones) connect to the mail server with SSL/TLS and check its certificate. If the certificate is not valid for the server name you entered, the app warns or refuses to connect.

How mail certificates work here

  • The mail server answers each domain with that domain's own certificate (SNI). A mail app set up with mail.example.com sees a valid certificate for mail.example.com.
  • mail.example.com is included in your website's free certificate as soon as it points to this server (and your email is received here).
  • Without such a certificate, the mail server shows the certificate of the server's hostname.

Which server name to use

  1. Log in to the control panel (https://your-server:2083).
  2. Open Email Accounts (section Email).
  3. Look at Mail client settings. It shows the server name to use for Incoming (IMAP) (port 993), Incoming (POP3) (port 995) and Outgoing (SMTP) (port 465 or 587).

That name is mail.example.com when the mail server has a valid certificate for it, otherwise the server's hostname. Both work without warnings.

Fix a certificate warning

  1. In your mail app, change the incoming and outgoing server to the name shown in Mail client settings.
  2. If you want to use mail.example.com but the page shows the hostname, check that mail has an A record pointing to this server (in Zone Editor it is created by default). Then open SSL/TLS and click Renew now next to the domain.
  3. Restart the mail app.

Good to know

  • Webmail (port 2096) uses the server hostname's certificate, not the domain's.
  • Mail certificates are updated automatically whenever a website's certificate is issued or renewed.
  • An own certificate you install is used for mail too, if it covers mail.example.com (or is a wildcard for the domain).

Common questions

My phone says "Cannot verify server identity".

The server name in the phone does not match the certificate. Use the exact name from Mail client settings.

Can I use my domain itself (example.com) as the mail server name?

Yes, if your website's certificate covers example.com and the domain points to this server. The mail server then answers with that certificate.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.