How to find emails sent,deferred, bounced with logs on exim mail server

emailemail-servereximlogging

I am new to exim mail server. Now i need to findout the number of sent, deferred , bounced emails through logs. Since in postfix I will do things through grepping. Is there any way to find in exim through grep command.

Your help is greatly appreciated. Thanks in advance.

Best Regards,
Karthick

Best Answer

Exim comes with a tool called eximstats that will generates such statistics for you instead of grepping

Just run it from the command line with the log file to be examined as a parameter like:

eximstats /var/log/exim4/mainlog