Swiss Army Knife SMTP, the all-purpose SMTP transaction tester. More information: https://github.com/jetmore/swaks/blob/develop/doc/base.pod.
[email protected]
on port 25 of test-server.example.net
:swaks --to [email protected] --server test-server.example.net
[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"
swaks -t [email protected] --attach - --server test-server.example.com --suppress-data path/to/eicar.txt
example.com
:swaks --to [email protected] --body path/to/gtube_file
[email protected]
using the LMTP protocol via a UNIX domain socket file:swaks --to [email protected] --socket /var/lda.sock --protocol LMTP