Grep Exim Email Transaction with Bash

While email transport having problem, the first we look for is the email log file, to check incoming and outgoing email transaction, to see was the email sent to the recipient or whether did the sender’s email it delivered to our email server.

I like exim log file provide the transport when an email is coming in or out from the server. I have written a simple script to grep sender/recipient email address and analysis the email transaction.

I’ve not receiving email from linkedin newsletter lately, lets try to check email log in my server yesterday.

Oppsss… Email was classified as Spam! Ok, something is wrong with my exim spam filter.