Implement undef option for SA_SPAM_SUBJECT (#767)

* Implement undef option for SA_SPAM_SUBJECT in amavis config
* Add test for undef spam subject
This commit is contained in:
Alexander Elbracht 2018-03-02 22:38:57 +01:00 committed by Johan Smits
parent c505177486
commit d9502ab6e7
3 changed files with 16 additions and 1 deletions

View file

@ -187,6 +187,13 @@ run:
-e DMS_DEBUG=0 \
-h mail.my-domain.com -t $(NAME)
sleep 20
docker run -d --name mail_undef_spam_subject \
-v "`pwd`/test/config":/tmp/docker-mailserver \
-v "`pwd`/test":/tmp/docker-mailserver-test \
-e ENABLE_SPAMASSASSIN=1 \
-e SA_SPAM_SUBJECT="undef" \
-h mail.my-domain.com -t $(NAME)
sleep 15
generate-accounts-after-run:
@ -246,6 +253,7 @@ clean:
mail_with_imap \
mail_lmtp_ip \
mail_with_postgrey \
mail_undef_spam_subject \
mail_postscreen \
mail_override_hostname