Vous êtes sur la page 1sur 4

Change IP Address of Zimbra Mail Server : How to Resolve the P...

http://vavai.net/2008/10/change-ip-address-of-zimbra-mailserver...

Spirit of Change
Tutorial About Blog, Linux & Open Source Application

About

Oct

09

Contact

Change IP Address of Zimbra Mail Server : How to


Resolve the Problem
Vavai

By default, Zimbra will not get the problem if we try to change the IP Address. The
problem will only occured if the replace IP have a different netmask with the previous
one.
If we tried to change Zimbra mail server IP Address from a set of IP, eg : 192.168.0.1
into 192.168.0.101 and both of them are within same net mask, it will not get any
problem. Zimbra mail server version 5.x.x will automatically change LDAP setting to
proper configuration.
As described above, the problem will only occurred if current IP Address have different
net mask, eg : change IP from 192.168.0.1 into 192.168.5.1 or into 10.0.0.101.
Below is an example of the error message :

Error: This message could not be sent.


Subject: Sending test message
To: vivian@vavai.com

1 von 4

01.11.11 20:59

Change IP Address of Zimbra Mail Server : How to Resolve the P...

http://vavai.net/2008/10/change-ip-address-of-zimbra-mailserver...

Note: Soap Fault. Please recreate and resend the message. Details below:
Error Code: mail.SEND_ABORTED_ADDRESS_FAILURE
Error Text: Invalid address: vivian@vavai.com
and then another message :

Message not sent; one or more addresses were not accepted.


Rejected addresses: vivian@vavai.com
The problem occurred because Zimbra have different TrustedNetwork Setting in
Postfix configuration within Zimbra configuration. Zimbra used Postfix as MTA engine
and while its first initial install, trustednetwork setting will be filled out with existing IP
Address format. To ensure if this is the main problem, checked current configuration
at terminal / konsole and type in :

su - zimbra
$ postconf mynetworks
mynetworks = 127.0.0.0/8 192.168.0.0/24
And another check : Zimbra LDAP configuration :

zmprov getServer zimbra.example.com | grep zimbraMtaMyNetworks


If the setting display different IP set compared to current configuration, change the
setting with zmprov modifyserver as noticed below :

zmprov modifyServer hostname.domainname.tld zimbraMtaMyNetworks '127.0.0.0/8 your.


eg :

zmprov modifyServer mail.vavai.com zimbraMtaMyNetworks '127.0.0.0/8 192.168.0.0/24'


After change the proper setting, reload and restart your Zimbra server :

su - zimbra
postfix reload
zmcontrol stop
zmcontrol start
Another resource : ZimbraMTAMyNetworks

Category: Zimbra

You can follow any responses to this entry through the RSS 2.0 feed.You can leave a response,
or trackback from your own site.

2 von 4

01.11.11 20:59

Change IP Address of Zimbra Mail Server : How to Resolve the P...

http://vavai.net/2008/10/change-ip-address-of-zimbra-mailserver...

4 Responses
Andrew Virender
October 12, 2009 at 5:32 pm

This was a bit complex for me. But i do understand it is important to change IP for a
variety of reasons. One of the most important one is to be able to be secure and enjoy
some privacy on the internet or at least try. There have become available some cool
software such as Private Proxy software to rapidly change IP and route the connection
through multiple servers. Thus effectively hiding your IP address and allowing one to
surf the net anonymously. In order to combat security and privacy challenges on the
internet Changing the IP has become an effective weapon against hackers and identity
thieves.

Reply

wrt54gl
January 22, 2010 at 11:18 pm

Thank you so much for this as I just changed the sub-net for my lan and couldnt send
mail. This was exactly what I needed.

Reply

adrian
March 30, 2010 at 2:22 am

hey,
thank you for provided information. I have moved one of my Zimbras (5.X) to another
host and took the steps you described. I had to edit main.cf in /opt/zimbra/postfix
/conf/
There was still mentioned line (mynetworks) with old values however I set it previously
by zmprov and restarted it afterwards
maybe that helps

Reply

G
November 4, 2010 at 9:49 am

Thanks for the tip buddy!


Just what I needed.

Reply

3 von 4

01.11.11 20:59

Change IP Address of Zimbra Mail Server : How to Resolve the P...

http://vavai.net/2008/10/change-ip-address-of-zimbra-mailserver...

Leave a Reply
Your email address will not be published. Required fields are marked *

Name

Email

Website
Comment

You may use these HTML tags and attributes: <a href="" title=""> <abbr title="">
<acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime="">
<em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">
Post Comment

How to Change Kiwi-LTSP Screen Resolution

Martti Ahtisaari Wins Nobel Peace Prize 2008

2011 - Spirit of Change


Provided by SharePoint Hosting

Switch to our mobile site

4 von 4

01.11.11 20:59

Vous aimerez peut-être aussi