Commit
+13 -0 +/-1 browse
1 | diff --git a/scripts/swaks_test_tls.sh b/scripts/swaks_test_tls.sh |
2 | new file mode 100755 |
3 | index 0000000..4e4cc1b |
4 | --- /dev/null |
5 | +++ b/scripts/swaks_test_tls.sh |
6 | @@ -0,0 +1,13 @@ |
7 | + #!/bin/sh |
8 | + |
9 | + # Uses swaks: https://www.jetmore.org/john/code/swaks/ to do some basic SMTP |
10 | + # verification. Make sure you install the tool first! |
11 | + |
12 | + make_email() { |
13 | + printf "From: aaaa@example.org\n" |
14 | + printf "To: hello@example.org\n" |
15 | + printf "Subject: Hello\n" |
16 | + printf "World\n" |
17 | + } |
18 | + |
19 | + make_email | swaks --to hello@example.org --tls --server localhost:2525 --pipeline --data - |