DMARC: send forensic reports for reject & quarantine results, and "none" policy....
[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
26This is a test message.
27****
28# This one has a retry time, so will be deferred.
29#
30server PORT_S
31220 ESMTP
32LHLO
33250-OK
34250 HELP
35MAIL FROM:
36250 Sender OK
37RCPT TO:
38250 Receiver OK
39DATA
40354 Send it
41.
42450 TEMPERROR
43QUIT
44250 OK
45****
46exim -odi userx@retry.test.ex
47This is a test message.
48****
49sleep 1
50# Should by now have exceeded retry time.
51server PORT_S
52220 ESMTP
53LHLO
54250-OK
55250 HELP
56MAIL FROM:
57250 Sender OK
58RCPT TO:
59250 Receiver OK
60DATA
61354 Send it
62.
63450 TEMPERROR
64QUIT
65250 OK
66****
67exim -q
68****
69# This one gives a temporary error for RCPT, no retry
70#
71server PORT_S
72220 ESMTP
73LHLO
74250-OK
75250 HELP
76MAIL FROM:
77250 Sender OK
78RCPT TO:
79450 TEMPERROR
80QUIT
81250 OK
82****
83exim -odi userx@test.ex
84This is a test message.
85****
86no_msglog_check