Topics: AIX, System Admin
Sendmail tips
To find out if sendmail is running:
# ps -ef | grep sendmailTo stop and restart sendmail:
Or:# stopsrc -s sendmail # startsrc -s sendmail -a "-bd -q30m"
# refresh -s sendmailUse the -v flag on the mail command for "verbose" output. This is especially useful if you can't deliver mail, but also don't get any errors. E.g.:
# cat /etc/motd |mailx -v -s"test" email@address.comTo get sendmail to work on a system without DNS, create and/or edit /etc/netsvc.conf. It should contain 1 line only:
hosts=localIf you see the following error in the error report when starting sendmail:
Then verify that your /etc/mail/sendmail.cf file is correct, and/or try starting the sendmail daemon as follows (instead of just running "startsrc -s sendmail"):DETECTING MODULE 'srchevn.c'@line:'355' FAILING MODULE sendmail
# startsrc -s sendmail -a "-bd -q30m"More tips can be found here: http://www.angelfire.com/il2/sgillen/sendmail.html
If you found this useful, here's more on the same topic(s) in our blog:
- Creating a large file
- Avoid using env_reset in sudoers file
- Simple printer remediation
- Suspending and resuming a process
- File system creation time
UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.
Interested in learning more?
Interested in learning more?




