Changing the Domain or the Host Name in the eMail Server 3

Support knowledgebase (rsimai_imap_rename)
Applies to

eMail Server: Version 3

Situation

You want to change the host name and/or the domain in the eMail Server 3.

Procedure

Changing the host name or the domain implies changing some entries in the LDAP database. Therefore, you must not use YaST for this purpose. If you have already tried it with YaST, please undo all the changes before following these instructions.

The host or domain name can be changed by means of the script rename_domain.pl in the package imapweb. Please make sure that you use the current package from our Patch Support Database!

A backup of the LDAP data can be created with the command
slapcat >my_ldap.ldif

To activate the script, proceed as follows:

Possible errors

If the script rename.sh aborts, it can be due to the LDAP database not being properly rewritten. In this case, restore the backup and undo the changes:
cp -a ldap.backup/* /var/lib/ldap/
Then check the files
/etc/postfix/main.cf
/etc/rc.config
If necessary, restore the host and domain name as well. Finally start
SuSEconfig
and use the following commands to restart the stopped services:
rcapache start
rcpostfix start
rccyrus start
rcldap start
rcskyrixgreen start

See also:
o Changing the IP Address of the eMail Server 3

Keywords: IMAP3, RENAME, HOSTNAME, DOMAIN

Categories: SuSE Linux IMAP Server

SDB-rsimai_imap_rename, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 11. Jun 2002
SuSE Linux AG - Last generated: 14. Aug 2002 by ip (sdb_gen 1.40.0)