Introducing the Extended Mail Header Parser

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, November 11, 2010

Follow me on Twitter as @mattiasgeniar

Time to introduce my latest (small) project: the Extended Mail Header Parser. It’s a simple tool, but one that helps me in debugging otherwise cryptic mailheaders.

Mailheaders are attached to all e-mails sent, and contain a lot of vital information about that e-mail. But they’re formatted in plain text, and just appended one after the other. It’s not a fun thing to go through, since it lacks structure.

For that reason, I created an Extended Mail Header Parser.

It will take as input the mailheaders you copy/paste into it, will parse them, and try to present them in a more readable manner. It will list the paths that e-mail followed to get to the destination, highlight and group certain mail headers and give a word of explanation of each mailheader.

While there are other parser out there that can list the mailhops of a mail, I couldn’t find an advanced one that could also group my headers into more readable chunks of text.

It’s a beta project, but I feel it’s already helped me in debugging mailheaders. If you use it, and find some problem(s), please use the “file bugreport” in the topright corner when you’ve submitted your mailheaders. It would help me make the tool more stable!

For a list of my other projects, see the “Projects” page on this blog.



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.