olmesm / mail-spoofer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mail Spoofer

Test sending mail as a spoofed account. Good to test validity of SPF, DKIM, DMARC records etc.


Running

Requires:

This is quite slow to run ±60 seconds to boot, then ±10 seconds to send mail.

docker run -it --rm -v $(pwd)/:/usr/app -w /usr/app \
    php:8-cli bash -c "bash script.sh && bash"

# $ php index.php <sender-email> <receiver-email>

# eg $ php index.php hello@example.com hello-12018790896@mailinator.com
# View in mailinator
#   https://rtfeed.mailinator.com/v4/public/inboxes.jsp?to=hello-12018790896

About


Languages

Language:PHP 51.9%Language:Shell 48.1%