summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-07-27 10:13:52 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-07-27 10:13:52 +0000
commit33d73e3b7a0201f4af19e8217ced618e68eaf1fb (patch)
tree16b244ac03e951196eaec6a98b317660e08a7cc7 /test/scripts
parent1b781f48b407ebb827db510c4b50d5ce348265f6 (diff)
Made -oMaa and -oMt work with -bh and -bs to pretend the connection is
authenticated or an ident call has been made. Suppress the default values for $authenticated_id and $authenticated_sender (but permit -oMai and -oMas) when testing with -bh.
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/053747
1 files changed, 47 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0537 b/test/scripts/0000-Basic/0537
new file mode 100644
index 000000000..615f797dd
--- /dev/null
+++ b/test/scripts/0000-Basic/0537
@@ -0,0 +1,47 @@
+# -oMa... options in various situations
+exim -oMa 5.6.7.8 -bh 1.2.3.4
+quit
+****
+exim -bh 1.2.3.4 \
+ -oMa 5.6.7.8 \
+ -oMaa authname \
+ -oMai authid \
+ -oMr protocol \
+ -oMas authsender \
+ -oMi 9.10.11.12 \
+ -oMs hostname \
+ -oMt ident
+ehlo a.b
+mail from:<>
+rset
+mail from:<> auth=<asender@a.domain>
+quit
+****
+exim -DTRUSTED=CALLER \
+ -bs \
+ -oMa 5.6.7.8 \
+ -oMaa authname \
+ -oMai authid \
+ -oMr protocol \
+ -oMas authsender \
+ -oMi 9.10.11.12 \
+ -oMs hostname \
+ -oMt ident
+ehlo a.b
+mail from:<>
+rset
+mail from:<> auth=<asender@a.domain>
+quit
+****
+exim -DTRUSTED=CALLER \
+ -oMa 5.6.7.8 \
+ -oMaa authname \
+ -oMai authid \
+ -oMr protocol \
+ -oMas authsender \
+ -oMi 9.10.11.12 \
+ -oMs hostname \
+ -oMt ident \
+ userx
+****
+no_msglog_check