Stop using vi to edit /etc/rc.tcpip
Do you use vi (or similar) to edit the /etc/rc.tcpip file?
There is no need for this, AIX has a command to enable and/or disable entries in the file.
Before Changes
grep start.*sendmail /etc/rc.tcpip
start /usr/lib/sendmail "$src_running" "-bd -q${qpi}"
Diable sendmail.
chrctcp -d sendmail
Confirm the Change.
grep start.*sendmail /etc/rc.tcpip
#start /usr/lib/sendmail "$src_running" "-bd -q${qpi}"
Enable sendmail.
chrctcp -a sendmail
Confirm the Change.
grep start.*sendmail /etc/rc.tcpip
start /usr/lib/sendmail "$src_running" "-bd -q${qpi}"
Disable sendmail and stop the daemon.
chrctcp -S -d sendmail
0513-044 The sendmail Subsystem was requested to stop.
Enable sendmail and start the daemon.
chrctcp -S -a sendmail
0513-059 The sendmail Subsystem has been started. Subsystem PID is 6947294.