Skip to content

sc1341/MailScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailScan

A simple Python tool to analyze email security configuration for any domain.

What it checks

  • SPF - Sender Policy Framework
  • DMARC - Domain-based Message Authentication, Reporting & Conformance
  • DKIM - DomainKeys Identified Mail
  • MX - Mail Exchange records
  • MTA-STS - Mail Transfer Agent Strict Transport Security
  • TLS-RPT - TLS Reporting
  • BIMI - Brand Indicators for Message Identification

Installation

# Install dnspython directly

pip3 install dnspython

# Create a venv and install

python3 -m venv .mailscanvenv
source .mailscanvenv/bin/activate 

pip3 install dnspython

Usage

Risk analysis (default):

python mailscan.py example.com

View DNS records only:

python mailscan.py example.com --records

Both risk analysis and records:

python mailscan.py example.com --both

Example Output

Example output

Requirements

  • Python 3.6+
  • dnspython

About

A simple domain mail security tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages