Where is my Dovecot mail log?
Hello,
I am quite new to cPanel but there doesn't appear to be a log file at /var/log/maillog?
Do I have to enable something within cPanel to generate this log file?
Edit: Actually I've noticed that syslog is not installed in CentOS minimal version, I assume it needs the syslog daemon running?
-
Hello syslogd is replaced with Rsyslogd in newer installations. You can check the availability of the service using the command # ps aux | grep syslog root 689 0.0 0.0 39428 3152 ? Sl 2015 27:55 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5 Once the service availability is confirmed, check whether the service is properly configured for mail server logs. You can confirm it by checking the following entry in /etc/rsyslog.conf # Log all the mail messages in one place. mail.* -/var/log/maillog 0 -
Hello :) Yes, as mentioned, you should see rsyslogd installed by default. Has any new data populated to /var/log/maillog since your original post? Is Dovecot running on this system? EX: /scripts/restartsrv_dovecot --status
Thank you.0
Please sign in to leave a comment.
Comments
2 comments