Change callout EHLO/HELO from smtp_active_hostname to the helo_data
[users/heiko/exim.git] / test / scripts / 0000-Basic / 0473
1 # recipient callouts - sender/postmaster caching and QUIT after timeout
2 need_ipv4
3 #
4 server PORT_S 3
5 220 Server ready
6 HELO
7 250 OK
8 MAIL FROM
9 250 OK
10 RCPT TO
11 250 OK
12 QUIT
13 250 OK
14 *eof
15 220 Server ready
16 HELO
17 250 OK
18 MAIL FROM
19 250 OK
20 RCPT TO
21 250 OK
22 QUIT
23 250 OK
24 *eof
25 220 Server ready
26 HELO
27 250 OK
28 MAIL FROM
29 550 NOTOK
30 QUIT
31 250 OK
32 ****
33 exim -bs
34 ehlo xxxx
35 mail from: s1@test.ex
36 rcpt to: r1@test.ex
37 rset
38 mail from: s1@test.ex
39 rcpt to: r1@test.ex
40 rset
41 mail from: s2@test.ex
42 rcpt to: r1@test.ex
43 rset
44 mail from: s3@other.ex
45 rcpt to: r3@other.ex
46 rset
47 mail from: s4@other.ex
48 rcpt to: r4@other.ex
49 rset
50 quit
51 ****
52 server PORT_S
53 220 Server ready
54 HELO
55 250 OK
56 MAIL FROM
57 250 OK
58 RCPT TO
59 250 OK
60 QUIT
61 250 OK
62 ****
63 exim -DUSE_SENDER= -bs
64 ehlo xxxx
65 mail from: x9@test.ex
66 rcpt to: r1@test.ex
67 quit
68 ****
69 server PORT_S
70 220 Server ready
71 HELO
72 250 OK
73 MAIL FROM
74 250 OK
75 RCPT TO
76 250 OK
77 QUIT
78 250 OK
79 ****
80 exim -DUSE_SENDER=,use_postmaster -bs
81 ehlo xxxx
82 mail from: x9@test.ex
83 rcpt to: r1@test.ex
84 quit
85 ****
86 server PORT_S
87 220 server ready
88 HELO
89 250 OK
90 MAIL FROM
91 250 OK
92 RCPT TO
93 550 NO
94 QUIT
95 250 OK
96 ****
97 exim -bs
98 ehlo xxxx
99 mail from:<x9@test.ex>
100 rcpt to:<r9@test.ex>
101 quit
102 ****
103 # A repeat should use the cache
104 exim -bs
105 ehlo xxxx
106 mail from:<x9@test.ex>
107 rcpt to:<r9@test.ex>
108 quit
109 ****
110 server PORT_S
111 220 server ready
112 HELO
113 250 OK
114 MAIL FROM
115 250 OK
116 RCPT TO
117 550 NO
118 QUIT
119 250 OK
120 ****
121 # Ditto for sender verify
122 exim -DACL_RCPT=acl_rcpt_sender -bs
123 ehlo xxxx
124 mail from:<x9@test.ex>
125 rcpt to:<r9@test.ex>
126 quit
127 ****
128 # Repeat for cache
129 exim -DACL_RCPT=acl_rcpt_sender -bs
130 ehlo xxxx
131 mail from:<x9@test.ex>
132 rcpt to:<r9@test.ex>
133 quit
134 ****
135 server PORT_S
136 220 Server ready
137 HELO
138 250 OK
139 MAIL FROM
140 250 OK
141 RCPT TO
142 250 OK
143 QUIT
144 250 OK
145 ****
146 exim -DUSE_SENDER=,defer_ok,random,use_postmaster -bs
147 ehlo xxxx
148 mail from: x11@two.test.ex
149 rcpt to: r11@two.test.ex
150 quit
151 ****
152 dump callout
153 server PORT_S
154 220 Server ready
155 HELO
156 250 OK
157 MAIL FROM
158 250 OK
159 RCPT TO
160 *sleep 2
161 ****
162 exim -DUSE_SENDER=  -bs -d-all+verify -v
163 ehlo xxxx
164 mail from: x11@two.test.ex
165 rcpt to: r11@two.test.ex
166 quit
167 ****
168 server PORT_S
169 *sleep 2
170 ****
171 exim -DUSE_SENDER=  -bs -d-all+verify -v
172 ehlo xxxx
173 mail from: x11@two.test.ex
174 rcpt to: r11@two.test.ex
175 quit
176 ****