A modular toolkit that covers the full email security assessment lifecycle, from reconnaissance to reporting.
Step-by-step CLI wizard for crafting spoofed emails. Set target, sender identity, subject, and body interactively or via command-line flags for full automation in scripted pipelines.
Start a built-in SMTP server on any port. It resolves MX records for recipient domains and attempts relay with full error diagnostics. Supports STARTTLS and SSL for encrypted transmission testing.
Run tests by template ID. Each scenario includes metadata like category, severity, and description. Perfect for repeatable penetration test campaigns and compliance assessments.
Save named SMTP relay configurations and reuse them across commands. No need to re-enter host, port, credentials, and TLS settings for every test.
mailspoof profile add gmail --host smtp.gmail.com --port 587 --user you@gmail.com --use-tls--profile gmail on start, test, and custom~/.mailspoof/config.jsonTrace every stage of SMTP communication with the --verbose flag. Get actionable error explanations for blacklists, SPF/DKIM/DMARC rejections, and relay failures.
Generate structured assessment reports in JSON or CSV with success/failure rates, risk levels, and tailored remediation recommendations based on your test results.
Report Includes: Delivery success rate, SPF/DKIM/DMARC bypass indicators, risk scoring per target (CRITICAL / HIGH / MEDIUM), and actionable remediation steps with priority levels. Export as JSON for automation or CSV for spreadsheet analysis.
Create your own phishing scenarios with the interactive template builder. Store custom templates in ~/.mailspoof/templates/ and reuse them across campaigns.
mailspoof create or -t)mailspoof preview <id>)mailspoof list --filter)mailspoof edit-template <id>)mailspoof remove-template <id>)All built-in templates use professionally formatted HTML with branded layouts, styled tables, images, and call-to-action buttons. MailSpoof automatically generates a clean plain-text fallback for every HTML body, ensuring deliverability across all email clients.
Every test is logged as structured JSON in ~/.mailspoof/audit.log. View recent activity with mailspoof logs and export for compliance documentation.
--linesMailSpoof provides quick aliases and help flags to speed up your workflow without memorizing every command.
mailspoof -t — alias for mailspoof createmailspoof -h or --help — display the help bannermailspoof -v — print the current versionmailspoof start --server-only — launch the SMTP server without entering interactive modeRemove every trace of MailSpoof with mailspoof uninstall. Cleans system wrappers, project directories, venvs, and configuration files with sudo support.
Built-in update command pulls the latest version from Git and re-runs the installer. Stay current with security fixes and new templates effortlessly.
Install MailSpoof in seconds and begin assessing your organization's email security posture.
Download Now