Re: [suse-imap-e] SLEMS 3.1 Change IP Adress [signed]

From: Marc Samendinger (marc.samendinger@sp-online.de)
Date: Tue Feb 01 2005 - 12:03:20 CET


Date: Tue, 1 Feb 2005 12:03:20 +0100
From: Marc Samendinger <marc.samendinger@sp-online.de>
Message-ID: <20050201110320.GA11327@barracuda.sp-online.de>
Subject: Re: [suse-imap-e] SLEMS 3.1 Change IP Adress [signed]

On Fri, Jan 28, 2005 at 10:49:41AM +0100, "Jörg Reißlein [c]" wrote:
> Hi,

Hallo Jörg,

> can you tell me what to do when the wan ip adress of our email server is
> planned to change due to a new provider?
>
> first, change mx entry in domain(s) and then change ip address of server or
> vice versa?
>
> (do I have to tell postfix to listen to the new address or does it simply
> fit changing eth0 ? )

Dieses Dokument rsimai_imap3_change_ip.html stand mal in der suse sdb:

***
Changing the IP Address of the eMail Server 3

Support knowledgebase (rsimai_imap3_change_ip)
Situation
You want to change the IP address of the eMail Server 3.
Procedure
YaST can be used to perform fundamental changes (system administration, network configuration, network base configuration).
Since YaST1 does not restart the network, you have to do it manually with

rcnetwork restart

Unfortunately, YaST does not change the address in all places where it should. Therefore, we recommend you to check the following sections and make the necessary corrections:

    * Postfix
          o /etc/postfix/main.cf
            Is the section for 'trusted' addresses still included in the section determined by the parameter mynetworks=?

    * Name server
      (provided you use one)
          o First of all, check the entries in the section o=DNS by way of the integrated LDAP browser.
            Be careful when performing any corrections. It is advisable to previously backup the LDAP data.
            Rewrite the configuration with the button 'Export' at 'Virtual Users', 'Virt. Domains'.

          o To be on the safe side, check finally the following files
                + /etc/named.conf and /etc/named.conf.in
                + /var/named/DOMAIN.DE.zone
                + /var/named/X.X-IN-ADDR.ARPA.zone
                + /var/named/VIRTUAL.DE.zone (if virtual domains have been configured)
                + /etc/rc.config (NAMESERVER=)
                + /etc/resolv.conf
      Depending on the changes carried out on the server, it might be necessary to check additional files. If needed, do not forget to adjust the name server on the local network as well.

      The command grep enables you to search for a given expression in a number of files. For example, if the old IP address was 10.11.12.13:

grep -r "10.11.12.13" /etc/
grep -r "10.11.12.13" /var/named/

      For reverse-lookup files (e.g. subnetmask is 255.255.0.0):

grep -r "13.12" /var/named

      The old IP address should be found in 'old' files only (the backup files created by YaST/SuSEconfig).
***

> Best regards,
>
> joerg

HTH
marc

-- 
To unsubscribe, e-mail: suse-imap-e-unsubscribe@suse.com
For additional commands, e-mail: suse-imap-e-help@suse.com


This archive was generated by hypermail 2.1.7 : Tue Feb 01 2005 - 12:03:45 CET