Understanding The Exim Log Files And Their Locations
On cPanel servers the default mail program is Exim. Exim will handle anything to do with mail delivery from sending to receiving and everything Exim does is written to four log files. These log files can be used to diagnose almost any issue to do with Exim and the sending plus receiving of email on your server. If you are looking for cPanel log files these can be found here
The Exim Mainlog
The Exim Mainlog is probably the most used of the Exim Log Files and contains all the information for every email sent and received on the server. If you are having messages being deferred then this Exim Log File will detail the complete log allowing you to fix the issue. In this file, you can search for email addresses so, if you are trying to send mail to a user and the email is being rejected or returned try to search with grep. replace [email] with the relevant email address.
grep [email] /var/log/exim_mainlog
Exim Reject Log
The reject log details all email that have been rejected due to ACL. Emails blocked by Apache SpamAssassin or rate limited emails will be detailed in this file located at /var/log/exim_rejectlog. ACLs can be managed from WHM > Exim Configuration > ACL Options.
Exim Mail Log
The Exim Mail Log contains all the login attempts for POP3 and IMAP connections to the server including SpamAssassin scores, fatal errors and a complete list of transactions. Grep can be used to search this file which is located at
Exim Panic Log
The Exim Panic Log contains all the most serious errors and should never have any information listed inside it. If the Panic Log has information inside then these need to be addressed as soon as possible as it’s likely your Exim server is either offline or failing to work as it should. As a last resort to fix most of these issues you could reinstall Exim from WHM but you would lose any custom configurations.
How Was This Article?
You might also like
More from cPanel
Free Up Space VirtuozzoWhen using Virtuozzo and Ploop containers sometimes there can be issues with space management. It's possible that …