Options (6)
-t, --tobooleanDeliver a standard test email to `[email protected]` on port 25 of `test-server.example.net`
swaks {{[-t|--to]}} {{[email protected]}} {{[-s|--server]}} {{test-server.example.net}}-s, --serverbooleanDeliver a standard test email to `[email protected]` on port 25 of `test-server.example.net`
swaks {{[-t|--to]}} {{[email protected]}} {{[-s|--server]}} {{test-server.example.net}}-f, --frombooleanDeliver a standard test email, requiring CRAM-MD5 authentication as user `[email protected]`. An "X-Test" header will be added to the email body
swaks {{[-t|--to]}} {{[email protected]}} {{[-f|--from]}} {{[email protected]}} {{[-a|--auth]}} {{CRAM-MD5}} {{[-au|--auth-user]}} {{[email protected]}} --header-X-Test "{{test_email}}"-a, --authbooleanDeliver a standard test email, requiring CRAM-MD5 authentication as user `[email protected]`. An "X-Test" header will be added to the email body
swaks {{[-t|--to]}} {{[email protected]}} {{[-f|--from]}} {{[email protected]}} {{[-a|--auth]}} {{CRAM-MD5}} {{[-au|--auth-user]}} {{[email protected]}} --header-X-Test "{{test_email}}"--auth-userbooleanDeliver a standard test email, requiring CRAM-MD5 authentication as user `[email protected]`. An "X-Test" header will be added to the email body
swaks {{[-t|--to]}} {{[email protected]}} {{[-f|--from]}} {{[email protected]}} {{[-a|--auth]}} {{CRAM-MD5}} {{[-au|--auth-user]}} {{[email protected]}} --header-X-Test "{{test_email}}"-n, --suppress-databooleanTest a virus scanner using EICAR in an attachment. Don't show the message DATA part
swaks {{[-t|--to]}} {{[email protected]}} --attach - {{[-s|--server]}} {{test-server.example.com}} {{[-n|--suppress-data]}} {{path/to/eicar.txt}}Examples (5)
Deliver a standard test email to `[email protected]` on port 25 of `test-server.example.net`
swaks [-t|--to] [email protected] [-s|--server] test-server.example.netDeliver a standard test email, requiring CRAM-MD5 authentication as user `[email protected]`. An "X-Test" header will be added to the email body
swaks [-t|--to] [email protected] [-f|--from] [email protected] [-a|--auth] CRAM-MD5 [-au|--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|--to] [email protected] --attach - [-s|--server] test-server.example.com [-n|--suppress-data] path/to/eicar.txtTest a spam scanner using GTUBE in the body of an email, routed via the MX records for `example.com`
swaks [-t|--to] [email protected] --body path/to/gtube_fileDeliver a standard test email to `[email protected]` using the LMTP protocol via a UNIX domain socket file
swaks [-t|--to] [email protected] --socket /var/lda.sock --protocol LMTP