gaulthiergain-tools/testfiles/test_email.json
2020-09-16 09:14:26 +02:00

22 lines
No EOL
1.9 KiB
JSON
Executable file

{
"typeTest": "exec",
"timeMsCommand": 2000,
"listCommands": [
"swaks --to user@example.com --server localhost --port 25",
"swaks --to user@example.com --from localhost --auth CRAM-MD5 --auth-user me@example.com --header-X-Test \"test email\", --server localhost --port 25",
"swaks -t user@example.com --attach - --server localhost --port 25 --suppress-data </path/to/eicar.txt",
"swaks --to user@example.com --body \",de\" --server localhost --port 25",
"swaks --to user@example.com --socket /var/lda.sock --protocol LMTP --server localhost --port 25",
"swaks --to someone@somewhere.net --from postmaster@yourdomain.xy --server localhost --port 25 --ehlo test -tls --auth login --auth-user \",postmaster@yourdomain.xy --auth-password password",
"swaks --add-header \"X-Test-Header: foo\" --to someone@somewhere.net --from postmaster@yourdomain.xy --server localhost --port 25",
"swaks --server localhost --port 25 -f someone@example.net -t liquidat@example.com",
"swaks --server localhost --port 25 -f someone@example.net -t liquidat@example.com,testme@example.com",
"swaks --server localhost --port 25 -f someone@example.net -t liquidat@example.com --server mail.example.com",
"swaks --server localhost --port 25 -f someone@example.net -t liquidat@example.com --quit-after RCPT",
"swaks --server localhost --port 25 -f someone@example.net -t liquidat@example.com --body /path/to/gtube/file",
"swaks --server localhost --port 25 -f someone@example.net -t liquidat@example.com --body /path/to/eicar/file",
"swaks--server localhost --port 25 -tls example.com -f liquidat@example.com -t someone@example.net -ao --auth-user=liquidat",
"swaks --server localhost --port 25 -tls -s example.com -f someone@example.net -t liquidat@example.com --ehlo $(host $(wget \",http://automation.whatismyip.com/n09230945.asp -O - -q))",
"swaks -f someone@example.net -t liquidat@example.com --add-header \"X-Custom-Header: Swaks-Tested\""
]
}