https://github.com/kodjunkie/mail-header-analyzer
E-Mail header analyzer is a tool written in flask for parsing email headers and converting them to a human readable format.
https://github.com/kodjunkie/mail-header-analyzer
bootstrap3 flask flask-application
Last synced: about 1 month ago
JSON representation
E-Mail header analyzer is a tool written in flask for parsing email headers and converting them to a human readable format.
- Host: GitHub
- URL: https://github.com/kodjunkie/mail-header-analyzer
- Owner: kodjunkie
- Created: 2019-08-01T06:33:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-22T19:58:59.000Z (almost 6 years ago)
- Last Synced: 2025-10-05T19:36:44.954Z (9 months ago)
- Topics: bootstrap3, flask, flask-application
- Language: HTML
- Size: 4.75 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## E-Mail Header Analyzer (MHA)

## What is E-Mail header analyzer (MHA):
E-Mail header analyzer is a tool written in [flask](http://flask.pocoo.org/) for parsing email headers and converting them to a human readable format and Based on the common practice in e-mail investigation,the developed system provides the following functionalities:
* Identify hop delays.
* Identify the source of the email.
* Identify hop country.
## Installation
Install system dependencies:
```
sudo apt-get update
sudo apt-get install python-pip
sudo pip install virtualenv
```
Create a Python virtual environment and activate it:
```
virtualenv virt
source virt/bin/activate
```
Clone the GitHub repo:
```
git clone https://github.com/kodjunkie/mail-header-analyzer.git
```
Install Python dependencies:
```
cd MHA
pip install -r requirements.txt
```
Run the development server:
`python server.py -d`
You can change the bind address or port by specifying the appropriate options:
`python server.py -b 0.0.0.0 -p 8080`
Everything should go well, now visit [http://localhost:8080](http://localhost:8080).
## Docker
A `Dockerfile` is provided if you wish to build a docker image.
`docker build -t mha:latest .`
You can then run a container with:
`docker run -d -p 8080:8080 mha:latest`
## Credits
Built on [github.com/lnxg33k/email-header-analyzer](https://github.com/lnxg33k/email-header-analyzer)