Swaks is a featureful, flexible, scriptable, transaction-oriented SMTP test tool.
1.1K
Swaks is a featureful, flexible, scriptable, transaction-oriented SMTP test tool. Features include:
This image uses SWAKS 20181104-0 (full changelog)
This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
Refer to this doc for command line options
docker run --rm \
flowman/swaks \
-f [email protected] -t [email protected] -s hostname -p 25
docker run --rm \
-e TZ="Europe/Berlin" \
flowman/swaks \
-f [email protected] -t [email protected] -s hostname -p 25
Just put the following into your .bash_profile
alias swaks='_cmd() { docker run --rm -e TZ="Europe/Berlin" -v "$PWD":/root freinet/swaks "$@";}; _cmd'
Now you can even use a .swaksrc in your working directory and pull in attachments from there...
swaks -f [email protected] -t [email protected] -s hostname -p 25 --attach eicar.zip
Content type
Image
Digest
Size
11.8 MB
Last updated
almost 8 years ago
docker pull ascentiotech/swaks