Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Zimbra http proxy not working

  1. #1
    i2ambler is offline Special Member
    Join Date
    Jan 2010
    Posts
    161
    Rep Power
    5

    Default Zimbra http proxy not working

    I have followed the zimbra proxy installation and configuration - but it does not seem to be working for http/https. The Imap / POP proxy works fine. However, http. Not so much. I followed the following instructions:

    Configuring ZCS HTTP Proxy

    here are the commands I used for web proxy:

    /opt/zimbra/libexec/zmproxyconfig -w -e -a 8080:80:8443:443 -H `zmhostname` -x both


    when I try to connect to the proxy node - it fails. I cannot telnet to either 80 or 443 on the proxy node. However, the 8080 port is accessable on the mailbox servers..

    any ideas?

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Have you set zimbraPublicServiceHostname to be the name of the server facing the internet ?

  3. #3
    i2ambler is offline Special Member
    Join Date
    Jan 2010
    Posts
    161
    Rep Power
    5

    Default

    Quote Originally Posted by uxbod View Post
    Have you set zimbraPublicServiceHostname to be the name of the server facing the internet ?
    No.. but Shouldnt the proxy box be listening on port 80 and redirecting traffic to the mailstore on port 8080 regardless? This appears to be the case with imap and pop traffic.. the proxy is now listening on 110 and 143 and redirecting that traffic to the mailbox servers to 7110 and 7143

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Have you checked your logs to see what NGINX is not binding ?

  5. #5
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    On the front end proxy server did you run
    Code:
    zmproxyconfig -e -w -a 0:80:0:443 -x both -H `zmhostname`

  6. #6
    i2ambler is offline Special Member
    Join Date
    Jan 2010
    Posts
    161
    Rep Power
    5

    Default

    Quote Originally Posted by uxbod View Post
    On the front end proxy server did you run
    Code:
    zmproxyconfig -e -w -a 0:80:0:443 -x both -H `zmhostname`
    Yep.. I ran

    Code:
     /opt/zimbra/libexec/zmproxyconfig -w -e -a 0:80:0:443 -x both -H `zmhostname`
    thats directly cut and pasted from my commandline history. As for logs - theres not alot of info in the nginix log..

    Here is a snippet:

    2010/05/13 09:29:07 [notice] 26698#0: OS: Linux 2.6.18-194.el5
    2010/05/13 09:29:07 [notice] 26698#0: sysctl(KERN_RTSIGMAX): 0
    2010/05/13 09:29:07 [notice] 26698#0: getrlimit(RLIMIT_NOFILE): 524288:524288
    2010/05/13 09:29:07 [notice] 26699#0: start worker processes
    2010/05/13 09:29:07 [info] 26700#0: memcache: 1/1 connections initialized
    2010/05/13 09:29:07 [notice] 26699#0: start worker process 26700
    2010/05/13 09:29:07 [notice] 26699#0: start worker process 26702
    2010/05/13 09:29:07 [info] 26702#0: memcache: 1/1 connections initialized
    2010/05/13 09:29:07 [notice] 26699#0: start worker process 26703
    2010/05/13 09:29:07 [notice] 26699#0: start worker process 26704
    2010/05/13 09:29:07 [info] 26703#0: memcache: 1/1 connections initialized
    2010/05/13 09:29:07 [info] 26704#0: memcache: 1/1 connections initialized

  7. #7
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Did you completely shutdown ZCS after making the changes and restart; on both the front-end and back-end ?

  8. #8
    i2ambler is offline Special Member
    Join Date
    Jan 2010
    Posts
    161
    Rep Power
    5

    Default

    Yep.. I issued zmcontrol stop;zmcontrol start on both proxy and the two mailbox servers. I have also made sure that there is no communication block between the proxy and the mailbox servers.. there isnt. Its rather frustrating, as it shouldnt be any more difficult than the imap/pop proxy setup (which works)

  9. #9
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Hmmm, would you run this on the front-end and back-end please and post the results so I can compare to my installation
    Code:
    zmprov gs `zmhostname` | egrep "ProxyPort|BindPort"

  10. #10
    i2ambler is offline Special Member
    Join Date
    Jan 2010
    Posts
    161
    Rep Power
    5

    Default

    Proxy Server:
    zimbraImapBindPort: 7143
    zimbraImapProxyBindPort: 143
    zimbraImapSSLBindPort: 7993
    zimbraImapSSLProxyBindPort: 993
    zimbraLmtpBindPort: 7025
    zimbraMailProxyPort: 80
    zimbraMailSSLProxyPort: 443
    zimbraMemcachedBindPort: 11211
    zimbraNotifyBindPort: 7035
    zimbraNotifySSLBindPort: 7036
    zimbraPop3BindPort: 7110
    zimbraPop3ProxyBindPort: 110
    zimbraPop3SSLBindPort: 7995
    zimbraPop3SSLProxyBindPort: 995

    Mailbox Server:
    zimbraImapBindPort: 7143
    zimbraImapProxyBindPort: 143
    zimbraImapSSLBindPort: 7993
    zimbraImapSSLProxyBindPort: 993
    zimbraLmtpBindPort: 7025
    zimbraMailProxyPort: 80
    zimbraMailSSLProxyPort: 443
    zimbraMemcachedBindPort: 11211
    zimbraNotifyBindPort: 7035
    zimbraNotifySSLBindPort: 7036
    zimbraPop3BindPort: 7110
    zimbraPop3ProxyBindPort: 110
    zimbraPop3SSLBindPort: 7995
    zimbraPop3SSLProxyBindPort: 995

    mailbox server 2:
    zimbraImapBindPort: 7143
    zimbraImapProxyBindPort: 143
    zimbraImapSSLBindPort: 7993
    zimbraImapSSLProxyBindPort: 993
    zimbraLmtpBindPort: 7025
    zimbraMailProxyPort: 80
    zimbraMailSSLProxyPort: 443
    zimbraMemcachedBindPort: 11211
    zimbraNotifyBindPort: 7035
    zimbraNotifySSLBindPort: 7036
    zimbraPop3BindPort: 7110
    zimbraPop3ProxyBindPort: 110
    zimbraPop3SSLBindPort: 7995
    zimbraPop3SSLProxyBindPort: 995

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Important Mta Issue!!!!!!!!
    By borngunners in forum Migration
    Replies: 2
    Last Post: 01-05-2010, 06:44 AM
  2. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  3. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 09:56 PM
  4. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  5. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 AM

Posting Permissions

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