[How To] What to do if /var/log/maillog was accidentally deleted?

Created:

2016-11-16 13:02:22 UTC

Modified:

2017-04-24 11:59:31 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[How To] What to do if /var/log/maillog was accidentally deleted?

Applicable to:

  • Plesk 12.5 for Linux

Question

/var/log/maillog was accidentally deleted and is not populating. What to do?

Answer

Usually, maillog recreates itself automatically.

However, if it is does not, try restarting MTA service:

# service postfix restart

If it did not help, restart rsyslog service:

# service rsyslog restart
Have more questions? Submit a request
Please sign in to leave a comment.