Hey… here is a way to find the message we have sent is COMPLETED or NOT by using “exigrep”. Yep, it’s very useful in some cases, if the client wants to know the email from his account successfully completed or not from the server. Here, we can find out the message ID from the log file and and then we can simply check that particular email completed or not by using exigrep.
[[email protected]]# exigrep 1VT5LJ-0006uV-S1 /var/log/exim_mainlog|grep -i "Completed" 2013-10-07 11:35:04 1VT5LJ-0006uV-S1 Completed
[[email protected]]# exigrep 1VT4Za-0001Dy-3v /var/log/exim_mainlog|grep -i "Completed" +++ 1VT4Za-0001Dy-3v has not completed +++
Here “1VT5LJ-0006uV-S1” & “1VT4Za-0001Dy-3v” are message IDs.
If you wand to list all emails status for a particular sender, then change the message ID with that particular emai ID.
exigrep test1[email protected] /var/log/exim_mainlog|grep -i “Completed”
How is it .. 😀
1, Check spamming on server having EXIM
2, How/Command to find out the spam mailing script’s location – Exim mail server
3, Exim command to remove emails from mail queue for a specific Sender/Receiver – The “exiqgrep” usage
4, Quick way to remove all emails from the mail queue – Exim command line option
5, Simple steps to count emails in Exim mail queue for a specific sender/receiver
3 thoughts on “Exim command to find the mail that we have sent is completed or not(Unix/Linux)”
I had recently came to see this site and I must say you are rocking 🙂
The site is simply superb and informative.I am also working in the same industry and all most the issues you have explained in the article are relevant. I have a small suggestion to the above explained command.
It will be better to use the email address instead of message ID right ?? like,
[[email protected]]# exigrep [email protected] /var/log/exim_mainlog|grep -i “Completed”
So that you will get the list completed emails from the account.
This is just my opinion. Any ways ALL THE BEST AND KEEP POSTING 🙂
I am very glad to see your comment. Yep, you are correct. That will list all email details from that particular sender.