Outlook Server Error

Started by Justin, March 13, 2019, 07:55:30 PM

Previous topic - Next topic

Justin

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!




kmisterk

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.

Justin

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.



Igor S.

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:

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:

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