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