I have a HUGE massive Exim mail log. What is going to be a good way to go through this email log and pull out all the common and other error types so I can go in and look them up and see which ones need to be fixed?
Would using grep to find error types work then extract them? Is there a script or tool that already does this?
For example I have an error like
R=lookuphost T=remote_smtp defer (-45): SMTP error from remote mail server after MAIL FROM
SMTP error from remote mail server after end of data: host mx-apac.mail.gm0.yahoodns.net [126.96.36.199]: 451 Message temporarily deferred - 
To summarize, I need to find errors in the error log without going through line by line so I can see if there is anything serious.