-
-
Notifications
You must be signed in to change notification settings - Fork 3
ipchange.8
ipchange - Modify IP Address records in IndiMail Database
ipchange [options] table_name
ipchange is meant for modifying IP address records in the IndiMail tables when the IP address of a host running various IndiMail services is changed. Following tables get impacted when IP address of a host gets changed.
Table Column -------- ---------- host_table ipaddr dbinfo server, mdahost ip_alias_map ipaddr
The control file localiphost on the host whose IP address is changed, gets impacted. The control file smtproutes on all relay servers acting as a relay for the host gets impacted.
e.g. You can use the following command to set things right in the table dbinfo
ipchange -o 202.144.76.7 -n 202.144.76.8 -c server -m dbinfo
ipchange -o 202.144.76.7 -n 202.144.76.8 -c mdahost -m dbinfo
ipchange -o 202.144.76.7 -n 202.144.76.8 -c ipaddr ip_alias_map
Please Note that ipchange changes only the logical IP address in the IndiMail's database. For the actual/physical IP address change, you will have to use the appropriate OS utility (i.e. ifconfig).
-v
Sets verbose operation
-o
Existing IP address.
-n
New IP address to be set on the host.
-c
Column name of the IP address record.
-m
Modifies the table on hostcntrl.
table_name
The name of the table.
0 for success, 1 for any failure.
IndiMail(5)