Swaks
Swiss-army knife for SMTP testing.
KaliParrotLinuxlow
pkg: swaks
Swaks crafts and sends SMTP transactions to test mail servers, relays, auth and spoofing.
Syntax
swaks --to {addr} --server {host}
Example
swaks --to a@b.com --from x@y.com --server 10.0.0.5
Sends a test message to check relaying/acceptance behaviour.
Options & flags
What each switch does. Toggle them in the builder below to assemble a command.
Command builder
Tick options (and fill any values) to build a ready-to-copy command.
swaks
Usage examples
swaks --to a@b.com --from x@y.com --server 10.0.0.5
Send a test message (relay check).
Advantages
- Precise SMTP control
- Great for relay/spoof tests
Disadvantages
- Manual
- SMTP knowledge needed
Tags
#smtp#email
Official docs: Swaks ↗
Related commands
Frequently asked questions
What is Swaks used for?
Swaks crafts and sends SMTP transactions to test mail servers, relays, auth and spoofing.
What is an example Swaks command?
A common example is: swaks --to a@b.com --from x@y.com --server 10.0.0.5 — Sends a test message to check relaying/acceptance behaviour.
Is Swaks part of Kali Linux?
Yes. Swaks ships with Kali Linux (and Parrot OS). If missing, install it with: sudo apt install swaks.
What category of security tool is Swaks?
Swaks is a Information Gathering tool with a low-risk profile when run against a live target.
Try recon tools live
Run real scans against a domain you control, stage by stage.