Logging in with the SYSLOG facility

The IMAP (and IMAPDS) and POP (and POP3DS) server software sends log messages to the SYSLOG facility.

  1. To configure the system for IMAP and POP logging through the SYSLOG facility, you must be the root user. Edit the /etc/syslog.conf file, and add an entry for *.debug as follows:
    *.debug /usr/adm/imapd.log
  2. The usr/adm/imapd.log file must exist before the syslogd daemon reads the /etc/syslog.conf configuration file. To create this file, type the following at a command-line prompt and press Enter:
    touch /usr/adm/imapd.log
  3. Refresh the syslogd daemon to read its configuration file again. Type the following at a command line prompt and press Enter:
    refresh -s syslogd