From 71397c82b53a22ce20701caeaad814a085414f8b Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Thu, 20 Apr 2006 15:43:50 +0000 Subject: [PATCH] Special test. --- test/confs/9903 | 42 ++++++++++++++++++++++++++++++++++ test/log/9903 | 2 ++ test/scripts/9900-testing/9903 | 19 +++++++++++++++ test/stdout/9903 | 18 +++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 test/confs/9903 create mode 100644 test/log/9903 create mode 100644 test/scripts/9900-testing/9903 create mode 100644 test/stdout/9903 diff --git a/test/confs/9903 b/test/confs/9903 new file mode 100644 index 000000000..c126b899b --- /dev/null +++ b/test/confs/9903 @@ -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 index 000000000..bc147c0c9 --- /dev/null +++ b/test/log/9903 @@ -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:: 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 index 000000000..c545b220a --- /dev/null +++ b/test/scripts/9900-testing/9903 @@ -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 index 000000000..da755e7a6 --- /dev/null +++ b/test/stdout/9903 @@ -0,0 +1,18 @@ ++++++++++++++++++++++++++++ + R:userx@test.ex -44 13121 SMTP error from remote mail server after RCPT TO:: 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: +250 Sender OK +RCPT TO: +451 Recipient not OK +QUIT +250 OK +End of script -- 2.30.2