February 3, 2004

A new project? Mail Header Analysis

For myself and various people both at work and when helping others in general, analyzing mail headers to determine what occurred, where delays might have been, etc comes up from time to time. What I looked for is a site or program that I can use to paste in mail headers and for it to analyze them and let me know how long it took to go from server to server. I can't find anything like that.

So, maybe I'll write it. Need to parse the headers for the Received lines, get the from/to servers and times, normalize the times and display some results. I started looking for some ASP or PHP routines that might help me along quicker, especially with the parsing, but I haven't come across anything yet. There's a PERL routine that might do it, but I don't really want to work with PERL. I'll see how things go on my own and then fall back to PERL if it gets too hairy.

We'll see how it goes.

--------

Well, the first release of the page that does what I wanted is available at http://www.levinecentral.com/mail_parse/

Displayed as output of the mail header parsing analysis are the source and destination mail servers that are passed along the way. IP addresses of the mail servers, where provided, are listed along with a lookup of the IP address to determine the owning party. In additional, if an IP address is provided, a look-up against known spam black lists is provided.

Let me know what you think.

Posted by David on February 3, 2004 8:44 AM
Comments
Post a comment









Remember personal info?