Change server name in postfix configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
A consultant, long gone, set up postfix, dovecot, amavisd and 
squirrelmail for my wife.
It works fine but my wife wants to change the server name from old.com 
to new.com so the name is more appropriate for her business.
My approach would be to use sed to change all occurences of old.com to 
new.com.
Specifically, I used grep to identify the following files where I should 
make the changes.

/etc/postfix/main.cf
/etc/dovecot/dovecot.conf
/etc/squirrelmail/config.php
/etc/amavisd.conf
/etc/sysconfig/network (change host name)
In addition, there would be an MX record for mail.new.com pointing to 
the IP of the server.

My question is, will this work or will I corrupt my email server? If I 
mess it up I can always restore it to the original.

Thank you,
Joe


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux