Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
-
When establishing a secure connection using Outlook the following warning is shown:
CONFIG_TEXT: The server to which you are connected uses a security certificate that can not be verified. The main destination name is not valid
-
On other mail agents different warning may be shown, for example:
CONFIG_TEXT: Mail can't verify the identity of the server "example.com". The certificate for this server is invalid. You might be connecting to a server that is pretending to be "example.com" which could put your confidential information at risk.
OR
CONFIG_TEXT: Error communicating with the IMAP server: Certificate failure for mail.example.com: unable to get local issuer certificate
- Thunderbird may also show:
CONFIG_TEXT: Unable to obtain identification status for this site
- Mail server name specified in settings of each mail client is different from server name in the SSL/TLS certificate at Tools & Settings > SSL/TLS Certificates > Certificate for securing mail.
Cause
Wrong hostname is specified as a mail server in Mail client.
Resolution
Mail clients must use the same name for Incoming and Outgoing mail server as specified in Tools & Settings > SSL/TLS Certificates > Certificate for securing mail.
For example for Outlook under File > Account Settings > user@example.com > Change Account specify Mail server's hostname in the Incoming mail server and Outgoing mail server (SMTP) fields.
Note: the mail server hostname has to be the same as (or included) in the certificate. To know what certificate is being used by the Mail Server, on Plesk go to: Tools & Settings > SSL/TLS Certificates > Certificate for securing mail or contact your service provider.
Additional information
How to enable 587 submission port on Linux?
How to enable submission port 587 in MailEnable?
How to assign separate SSL certificates for different domains on a local mail server in Plesk?
Comments
2 comments
As I read this article, I'm understanding that my IMAP, SMTP, and Hostname all need to be the same; i.e. mail.example.com. Is that correct? I feel that something is missing because I should be able to have my hostname set to s1.example.com, IMAP to imap.example.com, and my SMTP set to smtp.example.com.
Hello @Michael Abram,
> As I read this article, I'm understanding that my IMAP, SMTP, and Hostname all need to be the same
They should be the same and you should name the same domain name, for which certificate is specified at Tools&Settings > SSL/TLS Certificates > Certificate for securing mail (for Plesk Onyx).
For Plesk Obsidian, which will be released soon, SNI for mail was implemented and different domains may have different certificates for securing mail server.
Please sign in to leave a comment.