Flask-based service that turns raw email headers into readable output. It helps trace routing paths, delays, origin, and hop geography for message forensics.
Overview
E-Mail Header Analyzer (MHA) is a small web application for working with MIME and SMTP headers from email messages. You paste or supply header text and the tool parses hops, timestamps, and related metadata into a layout that is easier to follow than the raw block.
Beyond formatting, it highlights delay between hops, points to likely sending infrastructure, and associates hops with country information when that data is available. The focus is practical header forensics rather than mailbox or delivery management.
You can run it locally for development with a Python entry script that accepts bind address and port options. Container workflows are documented with a Dockerfile and a compose file for repeatable deployment.
After the process is listening, you open it in a browser to submit headers and review the analysis. Optional debug settings can be enabled in compose configuration when you need deeper troubleshooting.
Key features
- Human-readable header parsing
- Hop delay identification
- Email source tracing
- Per-hop country lookup
- Configurable bind host and port
- Docker image support
- Docker Compose deployment
Use cases
- Phishing message investigation
- Tracing spoofed mail paths
- Teaching email routing concepts
- Incident response header review