swaks
Swiss Army Knife SMTP, the all-purpose SMTP transaction tester. More information: <https://github.com/jetmore/swaks/blob/develop/doc/base.pod>.
Install
- All systems
-
curl cmd.cat/swaks.sh
- Debian
-
apt-get install swaks
- Ubuntu
-
apt-get install swaks
- Arch Linux
-
pacman -S swaks
- Kali Linux
-
apt-get install swaks
- Fedora
-
dnf install swaks
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install swaks
- OS X
-
brew install swaks
- Raspbian
-
apt-get install swaks
- Dockerfile
- dockerfile.run/swaks
Swiss Army Knife SMTP, the all-purpose SMTP transaction tester. More information: <https://github.com/jetmore/swaks/blob/develop/doc/base.pod>.
-
Deliver a standard test email to `[email protected]` on port 25 of `test-server.example.net`:
swaks --to [email protected] --server test-server.example.net
-
Deliver a standard test email, requiring CRAM-MD5 authentication as user `[email protected]`. An "X-Test" header will be added to the email body:
swaks --to [email protected] --from [email protected] --auth CRAM-MD5 --auth-user [email protected] --header-X-Test "test_email"
-
Test a virus scanner using EICAR in an attachment. Don't show the message DATA part:
swaks -t [email protected] --attach - --server test-server.example.com --suppress-data path/to/eicar.txt
-
Test a spam scanner using GTUBE in the body of an email, routed via the MX records for `example.com`:
swaks --to [email protected] --body path/to/gtube_file
-
Deliver a standard test email to `[email protected]` using the LMTP protocol via a UNIX domain socket file:
swaks --to [email protected] --socket /var/lda.sock --protocol LMTP
© tl;dr; authors and contributors