Logging: better tracking of continued-connection use
[users/heiko/exim.git] / test / scripts / 0000-Basic / 0584
index 54ca506ccd32bb44602c55477ee4a8c6fc8dca6d..c7f543d36cb0010f8ce18cc4d6ec7fdaecef5a22 100644 (file)
@@ -1,8 +1,29 @@
-# 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
+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
+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
+mail from:<userx@test.ex>
+rcpt to:<userx@test.ex>
+data
+From: userx@test.ex
+Subject: testing
+.
+QUIT
+****
+no_msglog_check