Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-14-2008, 02:33 AM
Special Member
 
Posts: 133
Default [SOLVED] Ngnix Help

I have 2 pop/imap/http proxy servers and 4 mail stores. The problem I have been experiencing is that when I go to my url that points to the proxies - I can log in, but then the proxies try to redirect me to the mail store that the mailbox resides on instead of proxying the connection between the proxy and the mail store,

There is not a lot of documentation on this, but what my config looks like is as follows:

Proxy :
zimbraReverseProxyHttpEnabled: TRUE
zimbraReverseProxyImapSaslGssapiEnabled: FALSE
zimbraReverseProxyImapStartTlsMode: on
zimbraReverseProxyLookupTarget: FALSE
zimbraReverseProxyMailEnabled: TRUE
zimbraReverseProxyMailMode: http
zimbraReverseProxyPop3SaslGssapiEnabled: FALSE
zimbraReverseProxyPop3StartTlsMode: on

mailstore:
zimbraReverseProxyHttpEnabled: TRUE
zimbraReverseProxyImapSaslGssapiEnabled: FALSE
zimbraReverseProxyImapStartTlsMode: on
zimbraReverseProxyLookupTarget: TRUE
zimbraReverseProxyMailEnabled: FALSE
zimbraReverseProxyMailMode: http
zimbraReverseProxyPop3SaslGssapiEnabled: FALSE
zimbraReverseProxyPop3StartTlsMode: on

Any help on this would be greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old 11-14-2008, 03:05 AM
Moderator
 
Posts: 2,207
Default

There is also zimbraMailReferMode that should be "reverse-proxied" for the mailstores (as you previously specified in one of your posts).

Why are you running the proxy on the mailstores ?

Last edited by Klug; 11-14-2008 at 03:07 AM..
Reply With Quote
  #3 (permalink)  
Old 11-14-2008, 04:29 AM
Special Member
 
Posts: 133
Default

Mailstore:
$ zmprov gs mailstore | grep -i refermode
zimbraMailReferMode: wronghost

Proxy:
$ zmprov gs proxy | grep -i refermode
zimbraMailReferMode: reverse-proxied

This was working prior to our upgrade to 5.0.10 from 5.0.9 ...
Reply With Quote
  #4 (permalink)  
Old 11-14-2008, 07:05 AM
Moderator
 
Posts: 2,207
Default

Wow.

We have "reverse-proxied" for the mailstore.
The "wrong-host" is what causes the redirection.

I'll double check (no access to that ZCS infrastructure yet) but I'm quite sure it can not work with "reverse-proxied" for the proxy (as the mailstore are the one supposed to be reverse-proxied) and that "wrong-host" is the default behaviour (when you don't have a proxy, ie you're redirected to the "correct" mailstore).
Reply With Quote
  #5 (permalink)  
Old 11-16-2008, 06:44 AM
Special Member
 
Posts: 133
Default

yes. that seems to have been the issue. Setting to reverse-proxied has put everything back to normal. Not sure how it got like that though...
Reply With Quote
  #6 (permalink)  
Old 11-14-2009, 11:36 PM
Active Member
 
Posts: 40
Default

In our set up mailstore has zimbraMailReferMode: reverse-proxied
while for mta along with proxy zimbraMailReferMode: wronghost

is this fine?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.