fix clang build
[exim.git] / test / scripts / 0000-Basic / 0584
index 54ca506ccd32bb44602c55477ee4a8c6fc8dca6d..8c629a1b54e9a9f6d32bed1fada94366f18072e3 100644 (file)
@@ -1,8 +1,32 @@
-# tainted data for appendfile file option
-exim -bs -odi
-mail from:someone@some.domain
-rcpt to:CALLER@HOSTNAME
+# verify = sender=address
+#
+# pass
+exim -DOPT=userx@test.ex -bh 127.0.0.1
+helo test
+mail from:<userx@test.ex>
+rcpt to:<userx@test.ex>
 data
 data
+From: userx@test.ex
+Subject: testing
 .
 .
-quit
+QUIT
 ****
 ****
+# fail
+exim -DOPT=fail@test.ex -bh 127.0.0.1
+helo test
+mail from:<userx@test.ex>
+rcpt to:<userx@test.ex>
+QUIT
+****
+# check can use tainted data
+exim -DOPT='$sender_address/defer_ok' -bh 127.0.0.1
+helo test
+mail from:<userx@test.ex>
+rcpt to:<userx@test.ex>
+data
+From: userx@test.ex
+Subject: testing
+.
+QUIT
+****
+no_msglog_check