Certificate Error

I have several domains set up. I read mail through the IMAP server on each domain. When using either outlook or Thunderbird I get:

"The server you are connected to is using a security certificate that cannot be verified."

and

"The target principal name is incorrect."

How do I fix this?

Status: 
Closed (fixed)

Comments

Are you using an SSL-encrypted IMAP connection there? If so, this is expected .. the Dovecot IMAP server probably has a self-signed cert, which caused Outlook to complain. The only solutions are :

1) Don't use SSL.

2) Request a valid SSL cert for the hostname you use for IMAP connections, such as mail.yourcompany.com , and configure Dovecot to use it.