mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Merge pull request #1293 from gmasse/fix-test-remove-privacy
[Test] "remove privacy details of the sender" misbehavior
This commit is contained in:
commit
2f1afe4e7c
|
@ -12,13 +12,6 @@ function setup_file() {
|
||||||
docker run -d --name mail_privacy \
|
docker run -d --name mail_privacy \
|
||||||
-v "`pwd`/test/config":/tmp/docker-mailserver \
|
-v "`pwd`/test/config":/tmp/docker-mailserver \
|
||||||
-v "`pwd`/test/test-files":/tmp/docker-mailserver-test:ro \
|
-v "`pwd`/test/test-files":/tmp/docker-mailserver-test:ro \
|
||||||
-e ENABLE_CLAMAV=1 \
|
|
||||||
-e ENABLE_SPAMASSASSIN=1 \
|
|
||||||
-e SA_TAG=-5.0 \
|
|
||||||
-e SA_TAG2=2.0 \
|
|
||||||
-e SA_KILL=3.0 \
|
|
||||||
-e SA_SPAM_SUBJECT="SPAM: " \
|
|
||||||
-e VIRUSMAILS_DELETE_DELAY=7 \
|
|
||||||
-e SASL_PASSWD="external-domain.com username:password" \
|
-e SASL_PASSWD="external-domain.com username:password" \
|
||||||
-e ENABLE_MANAGESIEVE=1 \
|
-e ENABLE_MANAGESIEVE=1 \
|
||||||
--cap-add=SYS_PTRACE \
|
--cap-add=SYS_PTRACE \
|
||||||
|
@ -59,4 +52,4 @@ function teardown_file() {
|
||||||
|
|
||||||
@test "last" {
|
@test "last" {
|
||||||
skip 'this test is only there to reliably mark the end for the teardown_file'
|
skip 'this test is only there to reliably mark the end for the teardown_file'
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ To: Some User <user1@localhost.localdomain>
|
||||||
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0)
|
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0)
|
||||||
Gecko/20100101 Thunderbird/52.2.1
|
Gecko/20100101 Thunderbird/52.2.1
|
||||||
Subject: Test ESMTP Auth LOGIN and remove privacy
|
Subject: Test ESMTP Auth LOGIN and remove privacy
|
||||||
testing
|
This is a test mail.
|
||||||
|
|
||||||
.
|
.
|
||||||
QUIT
|
QUIT
|
||||||
|
|
Loading…
Reference in a new issue