summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-12-22 21:12:45 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2016-12-26 14:55:51 +0100
commitbd7af4d22b73f3bd855bb7f828a15b7460260fe9 (patch)
tree3edcdb6e84e0ad096b0a4468b49169012677ab8b /tests
parent696dfdd5fa870335ab5ab500e3b8239e4c272ec1 (diff)
[test] fix sender and helo for sending e2e test mail
Diffstat (limited to 'tests')
-rwxr-xr-xtests/e2e/e2e-test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/e2e/e2e-test.sh b/tests/e2e/e2e-test.sh
index 2ddcd71..308c294 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