15.4. Mail logs

The sendmail command logs mail system activity through the syslogd daemon. The syslogd daemon must be configured and running for logging to occur. Specifically, the /etc/syslog.conf file may contain the uncommented line:

mail.debug        /var/spool/mqueue/log

If it does not, use an editor to make this change; be certain that the path name is correct. If you change the /etc/syslog.conf file while the syslogd daemon is running, refresh the syslogd daemon by entering the command:

refresh -s syslogd

If the /var/spool/mqueue/log file does not exist, you must create it by entering the command:

touch /var/spool/mqueue/log

15.4.1. Managing the mail log files

Because information is continually appended to the end of the log file, it ...

Get IBM eServer Certification Study Guide - pSeries AIX System Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.