Commit | Line | Data |
---|---|---|
59371ea7 PH |
1 | # recipient callouts - sender/postmaster caching and QUIT after timeout |
2 | need_ipv4 | |
3 | # | |
4 | server PORT_S 3 | |
5 | 220 Server ready | |
cb9d95ae | 6 | EHLO |
59371ea7 PH |
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 | |
cb9d95ae | 16 | EHLO |
59371ea7 PH |
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 | |
cb9d95ae | 26 | EHLO |
59371ea7 PH |
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 | |
cb9d95ae | 54 | EHLO |
59371ea7 PH |
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 | |
cb9d95ae | 71 | EHLO |
59371ea7 PH |
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 | |
cb9d95ae | 88 | EHLO |
59371ea7 PH |
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 | |
cb9d95ae | 112 | EHLO |
59371ea7 PH |
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 | |
cb9d95ae | 137 | EHLO |
59371ea7 PH |
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 | |
65f1c92a JH |
153 | # |
154 | # callout target dumps after random-reject | |
155 | server PORT_S 2 | |
156 | 220 Server ready | |
157 | EHLO | |
158 | 250 OK | |
159 | MAIL FROM | |
160 | 250 OK | |
161 | RCPT TO | |
162 | 550 Bad receipient, dropping conn | |
163 | >*eof | |
164 | 220 Server ready | |
165 | EHLO | |
166 | 250 OK | |
167 | MAIL FROM | |
168 | 250 OK | |
169 | RCPT TO | |
170 | 250 OK | |
171 | QUIT | |
172 | 250 OK | |
173 | **** | |
174 | exim -DUSE_SENDER=,random -bs | |
175 | ehlo xxxx | |
176 | mail from: x12@three.test.ex | |
177 | rcpt to: r12@three.test.ex | |
178 | quit | |
179 | **** | |
180 | dump callout | |
59371ea7 PH |
181 | server PORT_S |
182 | 220 Server ready | |
cb9d95ae | 183 | EHLO |
59371ea7 PH |
184 | 250 OK |
185 | MAIL FROM | |
186 | 250 OK | |
187 | RCPT TO | |
188 | *sleep 2 | |
189 | **** | |
190 | exim -DUSE_SENDER= -bs -d-all+verify -v | |
191 | ehlo xxxx | |
192 | mail from: x11@two.test.ex | |
193 | rcpt to: r11@two.test.ex | |
194 | quit | |
195 | **** | |
196 | server PORT_S | |
197 | *sleep 2 | |
198 | **** | |
199 | exim -DUSE_SENDER= -bs -d-all+verify -v | |
200 | ehlo xxxx | |
201 | mail from: x11@two.test.ex | |
202 | rcpt to: r11@two.test.ex | |
203 | quit | |
204 | **** |