diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-10-04 16:22:37 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-10-04 16:29:45 +0200 |
commit | 6069b963704a240d83e4fd0d3c516b73dab5a37f (patch) | |
tree | 433b9bbee6a2fe268b0ede95fbf0fc6168da6195 /test/functional/messages | |
parent | d7d8e603ee984d33c014baf2464c7c754b7dbeb8 (diff) | |
download | rspamd-6069b963704a240d83e4fd0d3c516b73dab5a37f.tar.gz rspamd-6069b963704a240d83e4fd0d3c516b73dab5a37f.zip |
[Test] Add some missing testcases for DKIM/DMARC
Diffstat (limited to 'test/functional/messages')
-rw-r--r-- | test/functional/messages/dmarc/bad_dkim3.eml | 17 | ||||
-rw-r--r-- | test/functional/messages/dmarc/dmarc_tmpfail.eml | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/test/functional/messages/dmarc/bad_dkim3.eml b/test/functional/messages/dmarc/bad_dkim3.eml new file mode 100644 index 000000000..40dc525c9 --- /dev/null +++ b/test/functional/messages/dmarc/bad_dkim3.eml @@ -0,0 +1,17 @@ +Date: Tue, 09 Aug 2016 10:01:27 +0200 +Message-ID: <20160809100127@rspamd.tk> +From: Rspamd <foo@rspamd.tk> +To: foo@rspamd.tk +Subject: hello +Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes +MIME-Version: 1.0 +Content-Disposition: inline +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dnssec-failed.org; s=testdkim1; + t=1470729879; h=from:subject:date:message-id:to:mime-version:content-type; + bh=7HkRgYnNru3SR2EWfgWU8yhM0MOH6ZZrPoEIgNIh8wc=; + b=kTIV4jcgv9sWFh2JFrS/+PcNxiloituqjmHHqeJOTfa+/9C+Er8BjnMysTJyYVq36Gnv0OZDgLr3Yy4YP5Lzbt1M9ZdN5cJqO7yn1N7wyaGfkt++b09rIYBy5Dkk7OWyP3cDThqDzv8C9heSvqBSEsirFsbt3Wx2g/hWiJlnjew= + + +hello + + diff --git a/test/functional/messages/dmarc/dmarc_tmpfail.eml b/test/functional/messages/dmarc/dmarc_tmpfail.eml new file mode 100644 index 000000000..1c8db5b82 --- /dev/null +++ b/test/functional/messages/dmarc/dmarc_tmpfail.eml @@ -0,0 +1,17 @@ +Date: Tue, 09 Aug 2016 10:01:27 +0200 +Message-ID: <20160809100127@rspamd.tk> +From: Rspamd <foo@dnssec-failed.org> +To: foo@rspamd.tk +Subject: hello +Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes +MIME-Version: 1.0 +Content-Disposition: inline +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rspamd.tk; s=testdkim; + t=1470729879; h=from:subject:date:message-id:to:mime-version:content-type; + bh=7HkRgYnNru3SR2EWfgWU8yhM0MOH6ZZrPoEIgNIh8wc=; + b=kTIV4jcgv9sWFh2JFrS/+PcNxiloituqjmHHqeJOTfa+/9C+Er8BjnMysTJyYVq36Gnv0OZDgLr3Yy4YP5Lzbt1M9ZdN5cJqO7yn1N7wyaGfkt++b09rIYBy5Dkk7OWyP3cDThqDzv8C9heSvqBSEsirFsbt3Wx2g/hWiJlnjew= + + +hello + + |