Author Topic: Outlook Server Error  (Read 618 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Outlook Server Error
« on: March 13, 2019, 07:55:30 PM »
Hey Guys,

I'm kinda new to email hosting but have some previous experience managing cPanel. I've setup a server for work, for testing. Trying to save $70 a month for GSuite, by hosting emails on our own VPS. I have 2 domains. cardinaltransportation.ca is the main domain. The hostname is server.cardinaltransportation.ca

I purchased another domain (protracks.ca). I setup an account for this domain, SPF and DKIM.

I'm getting this error in outlook:


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



This error goes away if i set the incoming/outgoing server to my hostname(server.cardinaltransportation.ca).

How can I fix this?

Thanks!




Offline
*
Re: Outlook Server Error
« Reply #1 on: April 05, 2019, 04:54:23 AM »
I'm investigating this same issue. I would like to try and move my individual domains able to send from their MX record, if at all possible, and still work as expected.

As of now, it only works properly from the hostname.

Offline
*
Re: Outlook Server Error
« Reply #2 on: April 05, 2019, 01:12:47 PM »
Hey,

I never ended up figuring it out. Am now just using the host name in the incoming and outgoing server in outlook. Wrks fine.

I believe it has to do with the way CWP applies SSL certificates.



Offline
*****
Re: Outlook Server Error
« Reply #3 on: April 05, 2019, 03:49:45 PM »
Hi, all.

You can manually edit /etc/postfix/main.cf and /etc/dovecot/dovecot.conf and add the CA Bundle (you'll see it)
for Postfix it looks like:

Code: [Select]
smtpd_tls_key_file = /etc/pki/tls/private/hostname.key
smtpd_tls_cert_file = /etc/pki/tls/certs/hostname.crt
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt

must be changed with:

Code: [Select]
smtpd_tls_key_file = /etc/pki/tls/private/hostname.key
smtpd_tls_cert_file = /etc/pki/tls/certs/hostname.crt
smtp_tls_CAfile = /etc/pki/tls/certs/hostname.bundle
smtpd_tls_CAfile = /etc/pki/tls/certs/hostname.bundle

(please note: the file names will be other!)
and something like that for Dovecot

You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services