Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

E-Mail Header Analyzer

License

NotificationsYou must be signed in to change notification settings

cyberdefenders/email-header-analyzer

Repository files navigation

mha

What is E-Mail header analyzer (MHA):

E-Mail header analyzer is a tool written inflask for parsing email headers and converting them to a human readable format and it also can:

  • Identify hop delays.
  • Identify the source of the email.
  • Identify hop country.

MHA is an alternative for the following:

NameDevIssues
MessageHeaderGoogleNot showing all the hops.
EmailHeadersMxtoolboxNot accurate and slow.
Message Header AnalyzerMicrosoftBroken UI.

Installation

Install system dependencies:

sudo apt-get updatesudo apt-get install python3-pipsudo pip3 install virtualenv

Create a Python3 virtual environment and activate it:

virtualenv virtsource virt/bin/activate

Clone the GitHub repo:

git clone https://github.com/lnxg33k/email-header-analyzer.git

Install Python dependencies:

cd MHApip3 install -r requirements.txt

Run the development server:python3 server.py -d

You can change the bind address or port by specifying the appropriate options:python3 server.py -b 0.0.0.0 -p 8080

Everything should go well, now visithttp://localhost:8080.

Docker

ADockerfile 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

Docker-Compose

Adocker-compose file is provided if you wish to use docker-compose.

Clone the GitHub repo:

git clone https://github.com/lnxg33k/email-header-analyzer.gitcd email-header-analyzer

Let docker-compose do the work.

docker-compose up -d

Stop the container.

docker-compose down

HowTo enable debugging. Add in the dockerdocker-compose.yml file the line

command:--debug

[8]ページ先頭

©2009-2025 Movatter.jp