Special test.
authorPhilip Hazel <ph10@hermes.cam.ac.uk>
Thu, 20 Apr 2006 15:43:50 +0000 (15:43 +0000)
committerPhilip Hazel <ph10@hermes.cam.ac.uk>
Thu, 20 Apr 2006 15:43:50 +0000 (15:43 +0000)
test/confs/9903 [new file with mode: 0644]
test/log/9903 [new file with mode: 0644]
test/scripts/9900-testing/9903 [new file with mode: 0644]
test/stdout/9903 [new file with mode: 0644]

diff --git a/test/confs/9903 b/test/confs/9903
new file mode 100644 (file)
index 0000000..c126b89
--- /dev/null
@@ -0,0 +1,42 @@
+# Exim test configuration 9903
+
+exim_path = EXIM_PATH
+host_lookup_order = bydns
+rfc1413_query_timeout = 0s
+spool_directory = DIR/spool
+log_file_path = DIR/spool/log/%slog
+gecos_pattern = ""
+gecos_name = CALLER_NAME
+
+# ----- Main settings -----
+
+primary_hostname = myhost.text.ex
+qualify_domain = test.ex
+
+
+# ----- Routers -----
+
+begin routers
+
+r1:
+  driver = accept
+  transport = smtp
+
+# ----- Transports -----
+
+begin transports
+
+smtp:
+  driver = smtp
+  port = PORT_S
+  hosts = 127.0.0.1
+  allow_localhost
+
+
+# ----- Retry -----
+
+begin retry
+
+* * F,1s,1s
+
+# End
diff --git a/test/log/9903 b/test/log/9903
new file mode 100644 (file)
index 0000000..bc147c0
--- /dev/null
@@ -0,0 +1,2 @@
+1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss
+1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@test.ex R=r1 T=smtp defer (-44): SMTP error from remote mail server after RCPT TO:<userx@test.ex>: host 127.0.0.1 [127.0.0.1]: 451 Recipient not OK
diff --git a/test/scripts/9900-testing/9903 b/test/scripts/9900-testing/9903
new file mode 100644 (file)
index 0000000..c545b22
--- /dev/null
@@ -0,0 +1,19 @@
+# failure to lock retry database
+need_ipv4
+#
+server PORT_S
+220 ESMTP
+EHLO
+250-OK
+250 HELP
+MAIL FROM:
+250 Sender OK
+RCPT TO:
+451 Recipient not OK
+QUIT
+250 OK
+****
+exim -odi userx@test.ex
+****
+dump retry
+no_msglog_check
diff --git a/test/stdout/9903 b/test/stdout/9903
new file mode 100644 (file)
index 0000000..da755e7
--- /dev/null
@@ -0,0 +1,18 @@
++++++++++++++++++++++++++++
+  R:userx@test.ex -44 13121 SMTP error from remote mail server after RCPT TO:<userx@test.ex>: host 127.0.0.1 [127.0.0.1]: 451 Recipient not OK
+first failed = time last try = time2 next try = time2 + 1
+
+******** SERVER ********
+Listening on port 1224 ... 
+Connection request from [127.0.0.1]
+220 ESMTP
+EHLO myhost.text.ex
+250-OK
+250 HELP
+MAIL FROM:<CALLER@test.ex>
+250 Sender OK
+RCPT TO:<userx@test.ex>
+451 Recipient not OK
+QUIT
+250 OK
+End of script