Results 1 to 6 of 6

Thread: [SOLVED] Ngnix Help

  1. #1
    bonoboslr's Avatar
    bonoboslr is offline Special Member
    Join Date
    Jan 2008
    Location
    Pretoria
    Posts
    133
    Rep Power
    7

    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.

  2. #2
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,315
    Rep Power
    13

    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 04:07 AM.

  3. #3
    bonoboslr's Avatar
    bonoboslr is offline Special Member
    Join Date
    Jan 2008
    Location
    Pretoria
    Posts
    133
    Rep Power
    7

    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 ...

  4. #4
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,315
    Rep Power
    13

    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).

  5. #5
    bonoboslr's Avatar
    bonoboslr is offline Special Member
    Join Date
    Jan 2008
    Location
    Pretoria
    Posts
    133
    Rep Power
    7

    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...

  6. #6
    chelea is offline Active Member
    Join Date
    Oct 2009
    Posts
    40
    Rep Power
    5

    Default

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

    is this fine?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •