Mail logs are not generating, /var/log/maillog is empty

Created:

2016-12-18 06:43:45 UTC

Modified:

2017-08-10 16:58:00 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Mail logs are not generating, /var/log/maillog is empty

Applicable to:

  • Plesk 12.0 for Linux

Symptoms

/var/log/maillog is empty and do not contain any information.

Cause

Uninstalled rsyslog package.

Incorrect priveleges for /var/log/maillog

Resolution

  • Install rsyslog package

    # apt-get install rsyslog
  • Assign correct permissions for log files (Ubuntu):

    # chmod syslog:adm /var/log/maillog
    # chmod syslog:adm /var/log/mail.err
    # chmod syslog:adm /var/log/mail.log
Have more questions? Submit a request
Please sign in to leave a comment.