summaryrefslogtreecommitdiff
path: root/test/scripts/5400-cutthrough/5401
blob: b7837b342b14a81b9140826bd27f1924a865f0fb (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# cutthrough_delivery triggered by recipient-verify
need_ipv4
#
server PORT_S
220 ESMTP
EHLO
250 OK
MAIL FROM:
250 Sender OK
RCPT TO:
250 Recipient OK
DATA
354 Send data
.
250 OK
QUIT
250 OK
****
exim -bs -odf
EHLO myhost.test.ex
MAIL FROM:<CALLER@myhost.test.ex>
RCPT TO:<userx@domain.com>
DATA

.
QUIT
****
#
#
#
# cutthrough for denied recipient
# deny should be reflected to originator
# as this was a real rcpt-verify
server PORT_S
220 ESMTP
EHLO
250 OK
MAIL FROM:
250 Sender OK
RCPT TO:
550 No mate
QUIT
250 OK
*eof
****
exim -bs -odf
EHLO myhost.test.ex
MAIL FROM:<CALLER@myhost.test.ex>
RCPT TO:<no@domain.com>
QUIT
****
#
#
#
# cutthrough for 2 recipients in one domain
# first one denied
# so we get a 3rd conn with the traditional delivery
# (for just the second because it was a real verify=recipient)
server PORT_S 3
220 ESMTP
EHLO
250 OK
MAIL FROM:
250 Sender OK
RCPT TO:
550 Not that one
QUIT
250 OK
*eof
220 ESMTP
EHLO
250 OK
MAIL FROM:
250 Sender OK
RCPT TO:
250 ok rcpt-1
QUIT
250 OK
*eof
220 ESMTP
EHLO
250 OK
MAIL FROM:
250 Sender OK
RCPT TO:
250 ok rcpt-1
DATA
354 Send data
.
250 OK
QUIT
250 OK
*eof
****
#
# Foregound delivery needed else the following subtest reception logging happens before this ones
# delivery process logs and terminates; the interlock is only on the parent exim terminating.
exim -bs -odf
EHLO myhost.test.ex
MAIL FROM:<CALLER@myhost.test.ex>
RCPT TO:<no@domain.com>
RCPT TO:<userx@domain.com>
DATA

.
QUIT
****
#
#
#