From 55997e6c4457d48140d2c7b3919bf98a46374ac7 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 18 Mar 2018 19:07:50 +0000 Subject: DMARC: tescase Extremely basic; we have no control of the DNS use of the dmarc library --- test/scripts/4650-DMARC/4650 | 32 ++++++++++++++++++++++++++++++++ test/scripts/4650-DMARC/REQUIRES | 1 + 2 files changed, 33 insertions(+) create mode 100644 test/scripts/4650-DMARC/4650 create mode 100644 test/scripts/4650-DMARC/REQUIRES (limited to 'test/scripts') diff --git a/test/scripts/4650-DMARC/4650 b/test/scripts/4650-DMARC/4650 new file mode 100644 index 000000000..85d9e51cc --- /dev/null +++ b/test/scripts/4650-DMARC/4650 @@ -0,0 +1,32 @@ +# acl variables and authresults +# +# SPF is a problem. We use libspf2 to do the work, and it +# does the DNS lookups, so we cannot intercept them in the testsuite's usual fashion +# to provide values for testcases. +# +# For now just check that what should be working syntax does not cause us to fall over. +# Be careful with envelope-domains used for testcases, as real DNS lookups will be done. +# +exim -bd -DSERVER=server -oX PORT_D +**** +client HOSTIPV4 PORT_D +??? 220 +HELO testclient +??? 250 +MAIL FROM: +??? 250 +RCPT TO: +??? 250 +DATA +??? 3 +Subject: test +From: z@example.com + +body line +. +??? 250 +QUIT +**** +# +killdaemon +no_msglog_check diff --git a/test/scripts/4650-DMARC/REQUIRES b/test/scripts/4650-DMARC/REQUIRES new file mode 100644 index 000000000..bb17aff6c --- /dev/null +++ b/test/scripts/4650-DMARC/REQUIRES @@ -0,0 +1 @@ +support Experimental_DMARC -- cgit v1.2.3