Try to make test 0461 less unreliable.
[exim.git] / test / scripts / 0000-Basic / 0473
CommitLineData
59371ea7
PH
1# recipient callouts - sender/postmaster caching and QUIT after timeout
2need_ipv4
3#
4server PORT_S 3
5220 Server ready
6HELO
7250 OK
8MAIL FROM
9250 OK
10RCPT TO
11250 OK
12QUIT
13250 OK
14*eof
15220 Server ready
16HELO
17250 OK
18MAIL FROM
19250 OK
20RCPT TO
21250 OK
22QUIT
23250 OK
24*eof
25220 Server ready
26HELO
27250 OK
28MAIL FROM
29550 NOTOK
30QUIT
31250 OK
32****
33exim -bs
34ehlo xxxx
35mail from: s1@test.ex
36rcpt to: r1@test.ex
37rset
38mail from: s1@test.ex
39rcpt to: r1@test.ex
40rset
41mail from: s2@test.ex
42rcpt to: r1@test.ex
43rset
44mail from: s3@other.ex
45rcpt to: r3@other.ex
46rset
47mail from: s4@other.ex
48rcpt to: r4@other.ex
49rset
50quit
51****
52server PORT_S
53220 Server ready
54HELO
55250 OK
56MAIL FROM
57250 OK
58RCPT TO
59250 OK
60QUIT
61250 OK
62****
63exim -DUSE_SENDER= -bs
64ehlo xxxx
65mail from: x9@test.ex
66rcpt to: r1@test.ex
67quit
68****
69server PORT_S
70220 Server ready
71HELO
72250 OK
73MAIL FROM
74250 OK
75RCPT TO
76250 OK
77QUIT
78250 OK
79****
80exim -DUSE_SENDER=,use_postmaster -bs
81ehlo xxxx
82mail from: x9@test.ex
83rcpt to: r1@test.ex
84quit
85****
86server PORT_S
87220 server ready
88HELO
89250 OK
90MAIL FROM
91250 OK
92RCPT TO
93550 NO
94QUIT
95250 OK
96****
97exim -bs
98ehlo xxxx
99mail from:<x9@test.ex>
100rcpt to:<r9@test.ex>
101quit
102****
103# A repeat should use the cache
104exim -bs
105ehlo xxxx
106mail from:<x9@test.ex>
107rcpt to:<r9@test.ex>
108quit
109****
110server PORT_S
111220 server ready
112HELO
113250 OK
114MAIL FROM
115250 OK
116RCPT TO
117550 NO
118QUIT
119250 OK
120****
121# Ditto for sender verify
122exim -DACL_RCPT=acl_rcpt_sender -bs
123ehlo xxxx
124mail from:<x9@test.ex>
125rcpt to:<r9@test.ex>
126quit
127****
128# Repeat for cache
129exim -DACL_RCPT=acl_rcpt_sender -bs
130ehlo xxxx
131mail from:<x9@test.ex>
132rcpt to:<r9@test.ex>
133quit
134****
135server PORT_S
136220 Server ready
137HELO
138250 OK
139MAIL FROM
140250 OK
141RCPT TO
142250 OK
143QUIT
144250 OK
145****
146exim -DUSE_SENDER=,defer_ok,random,use_postmaster -bs
147ehlo xxxx
148mail from: x11@two.test.ex
149rcpt to: r11@two.test.ex
150quit
151****
152dump callout
153server PORT_S
154220 Server ready
155HELO
156250 OK
157MAIL FROM
158250 OK
159RCPT TO
160*sleep 2
161****
162exim -DUSE_SENDER= -bs -d-all+verify -v
163ehlo xxxx
164mail from: x11@two.test.ex
165rcpt to: r11@two.test.ex
166quit
167****
168server PORT_S
169*sleep 2
170****
171exim -DUSE_SENDER= -bs -d-all+verify -v
172ehlo xxxx
173mail from: x11@two.test.ex
174rcpt to: r11@two.test.ex
175quit
176****