2010-08-24

stop-start sendmail on AIX

1. Verify if sendmail is running. “ps -ef | grep sendmail“.
2. Stop sendmail. “stopsrc -s sendmail”
3. Verify if sendmail is running. “ps -ef | grep sendmail“.
No process should be returned.
4. Start sendmail. “startsrc -s sendmail -a “-bd -q30m”“.
-bd will start the sendmail as a SMTP mail relay router.
-q will the the interval in which the sendmail daemon will process save messages. If none is provided the daemon will default to instant processing.
5. Verify if sendmail is running. “ps -ef | grep sendmail“.