Improve queryprogram behaviour when not running as root.
[exim.git] / test / scripts / 5200-queryprogram / 5204
index 593ce82ebe271b85cdb4b867d112fc8110f45005..2509091f9673850f74fce248c6b8cace011a4e03 100644 (file)
@@ -1,4 +1,4 @@
-# queryprogram
+# queryprogram general tests
 1
 exim -bt '"ACCEPT hosts=localhost lookup=byname"@some.host'
 ****
@@ -26,3 +26,9 @@ exim -d-all+route -bt '"REDIRECT postmaster@test.ex"@some.host'
 exim -odi '"FAIL cannot route this one (FAIL)"@some.host'
 Test message
 ****
+exim -DCOMMAND_USER=CALLER -d-all+route -bh V4NET.2.3.4
+ehlo some.name
+mail from:<x@y>
+rcpt to:<"FAIL cannot route this one (FAIL)"@some.host>
+quit
+****