Adding second mailstores server

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
Gladkovsky
Posts: 3
Joined: Wed Apr 03, 2019 11:51 am

Adding second mailstores server

Post by Gladkovsky »

Hello.
I have multiserver installation with one mailstore.
Now installed second mailstore server. Works fine.

Problem with webclient on proxy-server:

Proxy-server url: https://mail.example.com
1st Mailstore-server https://zds01.example.com
2nd Mailstore-server https://zds02.example.com

When I logged with account which created on new mailstore, proxy-server redirect me to mailstore address (POST request going to https://zds02.example.com from https://mail.example.com). But i want work only with proxy-server.
When I logged with account which created on first mailstore, proxy-server dont redirect and stay on http://mail.example.com. Thats perfect.

Whats wrong?
Zimbra version 8.7.10
Thanks for help.
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Adding second mailstores server

Post by fs.schmidt »

Hello,

You need to set the zimbraMailReferMode parameter to reverse-proxied on your new mailstore:

Code: Select all

# su - zimbra
$ zmprov ms `zmhostname` zimbraMailReferMode reverse-proxied
Best regards.
Fabio S. Schmidt
Gladkovsky
Posts: 3
Joined: Wed Apr 03, 2019 11:51 am

Re: Adding second mailstores server

Post by Gladkovsky »

Thanks, it's magic :) Work like a charm.
Post Reply