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 (16) Thread Tools Display Modes
  #21 (permalink)  
Old 09-04-2007, 10:13 PM
Member
 
Posts: 12
Default

Mr. Digi.

I tried the instructions you gave so eloquently. Alas, now I am having major issues with tomcat.

I even took the server down and re-installed. No problems until I edited the tomcat file and added the address= line.

The error is a java connect Connection refused error. Now I can't execute zmprov commands.

Any thoughts anyone?

Thanks

LP
Reply With Quote
  #22 (permalink)  
Old 09-05-2007, 12:53 AM
Active Member
 
Posts: 29
Default

See my post a couple up (You need 7101/tcp listening on localhost). Apparently it works if you use zmprov -l but I've not tried it.
Reply With Quote
  #23 (permalink)  
Old 09-15-2007, 08:00 AM
Starter Member
 
Posts: 2
Default

I submitted bug 20329 for the problem with the basic client and bind IP. The workaround of marcello would not cut it for me. Like you say it's a dirty hack and I'm not sure of the scalability of such a hack.

Anyway figured was better to report the problem and get it fixed at the source..

Vote for it!

Eric
Reply With Quote
  #24 (permalink)  
Old 09-15-2007, 08:44 AM
Member
 
Posts: 13
Default

I am having a bit of trouble getting mail through after using this method. After completing this, i am not longer able to receive mail, everything is being deferred. For some reason it is trying to connect to www.dvterry.com rather than mail.dvterry.com. Where can i change with? The logs of this are:

Sep 15 08:35:05 www postfix/qmgr[26921]: 91D881F84D5: to=<lists@dvterry.com>, relay=none, delay=7956, status=deferred (delivery temporarily suspended: connect to www.dvterry.com[64.34.197.115]: Connection refused)

Sep 15 08:35:05 www postfix/qmgr[26921]: C38751F84BF: to=<lists@dvterry.com>, relay=none, delay=15764, status=deferred (delivery temporarily suspended: connect to www.dvterry.com[64.34.197.115]: Connection refused)

Anyone have any ideas? Is it possible to go through and remove everything relating to www.dvterry.com and change it to mail.dvterry.com? Why can't you choose the binding IP/hostname during the initial install? That would be awesome and a much needed feature!

Last edited by magikman : 09-15-2007 at 10:10 AM.
Reply With Quote
  #25 (permalink)  
Old 10-25-2007, 01:34 PM
Special Member
 
Posts: 125
Default

I am trying to get zimbra to bind to a specific ip and have followed the steps on the first page. However, we use zimbra 5 rc1 and zimbra 5 rc1 does no use tomcat, it uses jetty. So, how do users on zimbra 5 rc1 get jetty to bind to a specific ip?
Reply With Quote
  #26 (permalink)  
Old 03-12-2008, 11:09 PM
Intermediate Member
 
Posts: 18
Default

Quote:
Originally Posted by dijichi2 View Post
Great job, MrDigi! This is invaluable for many situations. It would be great to get this added to the wiki and refined over time.

Thanks for your work.
Could you please tell me where I can find the updated process compatible with Zimbra 5.0.

Thanks,
Tuan
Reply With Quote
  #27 (permalink)  
Old 05-05-2008, 09:32 AM
Junior Member
 
Posts: 7
Default

I would also like to find information on binding zimbra to a specific IP, so that I can also run apache on this box with a different IP. mod_proxy just isn't working for me at all. I am running Debian Etch i386. Any help?????

*EDIT*

let me charify, i want to run ALL services on a seperate IP. if I can't do that, then just the webmail interface on a seperate IP. I would be alright with that, since the webadmin is on a non-standard port to begin with.

Last edited by OneLoveAmaru : 05-05-2008 at 09:37 AM.
Reply With Quote
  #28 (permalink)  
Old 05-05-2008, 10:10 AM
Special Member
 
Posts: 125
Default

Quote:
Originally Posted by OneLoveAmaru View Post
I would also like to find information on binding zimbra to a specific IP, so that I can also run apache on this box with a different IP. mod_proxy just isn't working for me at all. I am running Debian Etch i386. Any help?????

*EDIT*

let me charify, i want to run ALL services on a seperate IP. if I can't do that, then just the webmail interface on a seperate IP. I would be alright with that, since the webadmin is on a non-standard port to begin with.
By following the OP's first post, with the exception of jetty, i am running a separate instance of LDAP and Apache on the same box as Zimbra. I believe when you bind jetty to a specific IP to will accomplish the web interface you are looking to do. Just follow the first post and you should be fine.
Reply With Quote
  #29 (permalink)  
Old 04-17-2009, 12:41 PM
New Member
 
Posts: 3
Talking another technique, for a slightly similar problem

I wanted postfix to send messages through a secondary IP address (failover address, not in a cluster, just a simple manual failover) instead of the primary address on the interface.
smtp_bind_address is not possible as explained above, and inet_addresses doesn't work for binding when sending, apparently.
After playing with postfix' config around for a while, I took the alternative route :

Code:
iptables -t nat -A POSTROUTING -o eth0 \
    -s the_primary_ip_addresses \
    -p tcp --dport 25 \
    -j SNAT --to  the_ip_address_you_want_used
kinda ugly, but does the trick. Still listening on all addresses (including localhost), always sending through the chosen address
Just got to make sure it's documented somewhere....
Reply With Quote
  #30 (permalink)  
Old 05-04-2009, 07:47 AM
Member
 
Posts: 10
Default Works for Me under Zimbra 5 / Jetty

Quote:
Originally Posted by carnold View Post
Just follow the first post and you should be fine.
Umm...the first post has no instructions for Zimbra 5 with Jetty, it assumes Zimbra 4 with tomcat...

I found this solution:
Binding Zimbra to a particular IP

Search for "particular IP" in that page. Or, here are the instructions:
  1. edit /opt/zimbra/mailboxd/etc/jetty.xml.in
    add <Set name="Host">your-ip-address</Set> to the HTTP connector
  2. edit /opt/zimbra/mailboxd/etc/zimbra.web.xml.in
    uncomment zimbra.soap.url, change localhost:7070 to your-ip-address
  3. edit /opt/zimbra/mailboxd/etc/zimbraAdmin.web.xml.in
    uncomment zimbra.soap.url, change localhost:7070 to your-ip-address
  4. su - zimbra
  5. zmcontrol stop
  6. zmcontrol start

It works for me!
Reply With Quote
Reply


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

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0