How do you access mail server from multi domain?

Ask questions about your setup or get help installing ZCS server (ZD section below).
yohoho
Posts: 24
Joined: Sat Mar 09, 2019 10:22 pm

How do you access mail server from multi domain?

Postby yohoho » Tue Jul 16, 2019 5:33 am

Object:
1. mail.x.com (We follow Zimbra Installation guideline and use mail.x.com as the primary domain)
2. mail.y.com

Problem:
SSL-related, everytime we try to access mail.y.com

It always says

Your connection is not private
Attackers might be trying to steal your information from mail.y.com (for example, passwords, messages, or credit cards). Learn more
NET::ERR_CERT_COMMON_NAME_INVALID

Help improve Safe Browsing by sending some system information and page content to Google. Privacy policy

Additional notes
We do still able to access the mail server from mail.y.com but it is a bit scary to see "Not secure" next to the domain.


phoenix
Ambassador
Ambassador
Posts: 26216
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: How do you access mail server from multi domain?

Postby phoenix » Tue Jul 16, 2019 5:35 am

yohoho wrote:Object:
1. mail.x.com (We follow Zimbra Installation guideline and use mail.x.com as the primary domain)
That is not 'Zimbra guidelines' and that is the FQDN of your server and your primary domain would be "y.com", you need to fix your installation before going any further.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
yohoho
Posts: 24
Joined: Sat Mar 09, 2019 10:22 pm

Re: How do you access mail server from multi domain?

Postby yohoho » Tue Jul 30, 2019 5:11 pm

phoenix wrote:
yohoho wrote:Object:
1. mail.x.com (We follow Zimbra Installation guideline and use mail.x.com as the primary domain)
That is not 'Zimbra guidelines' and that is the FQDN of your server and your primary domain would be "y.com", you need to fix your installation before going any further.


I am sorry, what I mean is to access Zimbra you need to access https://mail.x.com/
and, if you wish to send a mail to, for example to Andre, the mail address would be andre@x.com

What I wish to do is to access Zimbra from https://mail.y.com and https://mail.x.com without SSL warning.
As of right now, anyone who try to access https://mail.y.com will receive a SSL warning because the SSL was supposed to be for mail.x.com
User avatar
JDunphy
Outstanding Member
Outstanding Member
Posts: 448
Joined: Fri Sep 12, 2014 11:18 pm
Location: Victoria, BC
ZCS/ZD Version: 8.7.11_P12 RHEL6 Network Edition
Contact:

Re: How do you access mail server from multi domain?

Postby JDunphy » Tue Jul 30, 2019 7:28 pm

yohoho wrote:
What I wish to do is to access Zimbra from https://mail.y.com and https://mail.x.com without SSL warning.
As of right now, anyone who try to access https://mail.y.com will receive a SSL warning because the SSL was supposed to be for mail.x.com

Add extra names to your certs as alternative names. The browser is complaining because it wants to connect with a TLS connection to your web server which is nginx (proxy) here. It is more like a web server for those web client connections is a simplified way to think of it.

Note: if this is letsencrypt... just use another -d to get that extra name on your cert. Here is how I do it with acme.sh bash script but they all pretty much work the same way. Google SAN - Certificate Subject Alternative Name.

Code: Select all

./acme.sh --issue --force --dns dns_cf -d  mail.x.com -d mail.y.com

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 7 guests