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 02-08-2011, 10:53 AM
Active Member
 
Posts: 38
Default [SOLVED] Listen on One IP

I need zimbra's Java service that is listening on port 443 to listen on one IP address.

I currently have zmtlsctl set to redirect.

Zimbra V6.
Reply With Quote
  #2 (permalink)  
Old 02-09-2011, 08:14 AM
Active Member
 
Posts: 38
Default Work Around

Well I found aout as much for getting jetty to listen on one NIC as the community has answers to do so.

I wound up having to tell it to listen on a different port.

Done very little testing, but it seams to work.

Command to do this:
su zimbra
zmprov ms myserver.domain.com zimbraMailSSLPort [portnumber]
Reply With Quote
  #3 (permalink)  
Old 02-09-2011, 02:31 PM
Partner (VAR/HSP)
 
Posts: 10
Default

There is no native means to do this with ZCS. To accomplish it, you must edit the /opt/zimbra/jetty/etc/jetty.xml.in configuration. Save a copy of the original. In each stanza:

<Call name="addConnector">

You will add:

<Set name="host">X.Y.Z.1</Set>

with your appropriate IP address. I also recommend replicated each stanza and setting the replica to listen on 127.0.0.1 as otherwise you could have issues.

Restart mailboxd to get the changes to take effect.

A ZCS upgrade will override your changes, so you'll need to restore them. You must compare the stock jetty.xml.in of your prior version with the new version, and if there are changes, modify the new version rather than just copying your prior modified version into place.

Larry
Reply With Quote
  #4 (permalink)  
Old 02-10-2011, 06:06 AM
Active Member
 
Posts: 38
Default stanza?

Quote:
Originally Posted by lweeks View Post
There is no native means to do this with ZCS. To accomplish it, you must edit the /opt/zimbra/jetty/etc/jetty.xml.in configuration. Save a copy of the original. In each stanza:

<Call name="addConnector">

You will add:

<Set name="host">X.Y.Z.1</Set>

with your appropriate IP address. I also recommend replicated each stanza and setting the replica to listen on 127.0.0.1 as otherwise you could have issues.

Restart mailboxd to get the changes to take effect.

A ZCS upgrade will override your changes, so you'll need to restore them. You must compare the stock jetty.xml.in of your prior version with the new version, and if there are changes, modify the new version rather than just copying your prior modified version into place.

Larry
Is a stanza the config files for the URLs: zimbra.web.xml.in and zimbraAdmin.web.xml.in.

Are you saying that in those files:
<context-param>
<param-name>zimbra.soap.url</param-name>
<param-value>http://localhost:7070/service/soap</param-value>
</context-param>

Needs to be changed to:
<context-param>
<param-name>zimbra.soap.url</param-name>
<param-value>http://127.0.0.1/service/soap</param-value>
</context-param>

Honestly, I've read the forum posts on that, I wouldn't have posted if it had worked for me.

Let me know if I had misunderstood something.

I will definetly test any suggestions to see if it works.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

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.