Testsuite: try to trace intermittent callout fails
[exim.git] / test / scripts / 0000-Basic / 0531
CommitLineData
75def545
PH
1# LMTP over TCP/IP - temporary error handling
2need_ipv4
d658adda 3munge optional_dsn_info
75def545
PH
4# This one has no retry time, so will be bounced immediately.
5#
6server PORT_S
7220 ESMTP
8LHLO
9250-OK
10250 HELP
11MAIL FROM:
12250 Sender OK
13RCPT TO:
14250 Receiver OK
15RCPT TO:
16250 Receiver OK
17DATA
18354 Send it
19.
20450 TEMPERROR
21250 OK
22QUIT
23250 OK
24****
25exim -odi userx@test.ex usery@test.ex
9e04f763
JH
26
271:This is a test message.
75def545
PH
28****
29# This one has a retry time, so will be deferred.
30#
31server PORT_S
32220 ESMTP
33LHLO
34250-OK
35250 HELP
36MAIL FROM:
37250 Sender OK
38RCPT TO:
39250 Receiver OK
40DATA
41354 Send it
42.
43450 TEMPERROR
44QUIT
45250 OK
46****
47exim -odi userx@retry.test.ex
9e04f763
JH
48
492: This is a test message.
75def545
PH
50****
51sleep 1
52# Should by now have exceeded retry time.
53server PORT_S
54220 ESMTP
55LHLO
56250-OK
57250 HELP
58MAIL FROM:
59250 Sender OK
60RCPT TO:
61250 Receiver OK
62DATA
63354 Send it
64.
65450 TEMPERROR
66QUIT
67250 OK
68****
69exim -q
70****
71# This one gives a temporary error for RCPT, no retry
72#
73server PORT_S
74220 ESMTP
75LHLO
76250-OK
77250 HELP
78MAIL FROM:
79250 Sender OK
80RCPT TO:
81450 TEMPERROR
82QUIT
83250 OK
84****
85exim -odi userx@test.ex
9e04f763
JH
86
873: This is a test message.
75def545
PH
88****
89no_msglog_check