diff options
author | varac <varacanero@zeromail.org> | 2016-12-22 21:12:45 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-12-26 14:55:51 +0100 |
commit | bd7af4d22b73f3bd855bb7f828a15b7460260fe9 (patch) | |
tree | 3edcdb6e84e0ad096b0a4468b49169012677ab8b | |
parent | 696dfdd5fa870335ab5ab500e3b8239e4c272ec1 (diff) |
[test] fix sender and helo for sending e2e test mail
-rwxr-xr-x | tests/e2e/e2e-test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/e2e/e2e-test.sh b/tests/e2e/e2e-test.sh index 2ddcd71b..308c294c 100755 --- a/tests/e2e/e2e-test.sh +++ b/tests/e2e/e2e-test.sh @@ -1,7 +1,7 @@ #!/bin/bash # Dependencies -# - swaks +# - swaks and uuid-runtime debian packages # # Usage # @@ -10,7 +10,7 @@ # - FROM_EXTERNAL_OPTS for sending mails from external mailservers to the tmp_user account # # as an example: -# export FROM_EXTERNAL_OPTS='-f user@example.org --tlsc --au user@example.or -ap MYPASSWORD -s smtp.example.org' +# export FROM_EXTERNAL_OPTS='--tlsc --au user@example.or -ap MYPASSWORD -s smtp.example.org' # # then: # @@ -36,7 +36,7 @@ MAIL_UUID=$(uuidgen) username="tmp_user_$(date +%Y%m%d%H%M%S)" user="${username}@${PROVIDER}" pw="$(head -c 10 < /dev/urandom | base64)" -SWAKS="swaks -t $user --h-Subject $MAIL_UUID --silent 2" +SWAKS="swaks --h-Subject $MAIL_UUID --silent 2 --helo ci.leap.se -f ci@leap.se -t $user" # Stop any previously started bitmaskd # and start a new instance |