Commit | Line | Data |
---|---|---|
75def545 PH |
1 | # LMTP over TCP/IP - temporary error handling |
2 | need_ipv4 | |
d658adda | 3 | munge optional_dsn_info |
75def545 PH |
4 | # This one has no retry time, so will be bounced immediately. |
5 | # | |
6 | server PORT_S | |
7 | 220 ESMTP | |
8 | LHLO | |
9 | 250-OK | |
10 | 250 HELP | |
11 | MAIL FROM: | |
12 | 250 Sender OK | |
13 | RCPT TO: | |
14 | 250 Receiver OK | |
15 | RCPT TO: | |
16 | 250 Receiver OK | |
17 | DATA | |
18 | 354 Send it | |
19 | . | |
20 | 450 TEMPERROR | |
21 | 250 OK | |
22 | QUIT | |
23 | 250 OK | |
24 | **** | |
25 | exim -odi userx@test.ex usery@test.ex | |
9e04f763 JH |
26 | |
27 | 1:This is a test message. | |
75def545 PH |
28 | **** |
29 | # This one has a retry time, so will be deferred. | |
30 | # | |
31 | server PORT_S | |
32 | 220 ESMTP | |
33 | LHLO | |
34 | 250-OK | |
35 | 250 HELP | |
36 | MAIL FROM: | |
37 | 250 Sender OK | |
38 | RCPT TO: | |
39 | 250 Receiver OK | |
40 | DATA | |
41 | 354 Send it | |
42 | . | |
43 | 450 TEMPERROR | |
44 | QUIT | |
45 | 250 OK | |
46 | **** | |
47 | exim -odi userx@retry.test.ex | |
9e04f763 JH |
48 | |
49 | 2: This is a test message. | |
75def545 PH |
50 | **** |
51 | sleep 1 | |
52 | # Should by now have exceeded retry time. | |
53 | server PORT_S | |
54 | 220 ESMTP | |
55 | LHLO | |
56 | 250-OK | |
57 | 250 HELP | |
58 | MAIL FROM: | |
59 | 250 Sender OK | |
60 | RCPT TO: | |
61 | 250 Receiver OK | |
62 | DATA | |
63 | 354 Send it | |
64 | . | |
65 | 450 TEMPERROR | |
66 | QUIT | |
67 | 250 OK | |
68 | **** | |
69 | exim -q | |
70 | **** | |
71 | # This one gives a temporary error for RCPT, no retry | |
72 | # | |
73 | server PORT_S | |
74 | 220 ESMTP | |
75 | LHLO | |
76 | 250-OK | |
77 | 250 HELP | |
78 | MAIL FROM: | |
79 | 250 Sender OK | |
80 | RCPT TO: | |
81 | 450 TEMPERROR | |
82 | QUIT | |
83 | 250 OK | |
84 | **** | |
85 | exim -odi userx@test.ex | |
9e04f763 JH |
86 | |
87 | 3: This is a test message. | |
75def545 PH |
88 | **** |
89 | no_msglog_check |