1 # pipelined-connect, cache invalidation
4 # Not attempted without a cache entry
5 exim -bd -DSERVER=server -DCONNECTCOND=* -oX PORT_D
12 exim -DCONTROL=127.0.0.1 -q
14 exim -DNOTDAEMON -DSERVER=server -q
19 # Go for it. This one should do early-pipelinng.
24 exim -DCONTROL=127.0.0.1 -q
26 exim -DNOTDAEMON -DSERVER=server -q
30 # Check that client doesn't try when the cache entry is too old
31 # It will however create a new entry
34 exim client_old@test.ex
38 exim -DRETRY=1s -DCONTROL=127.0.0.1 -q
40 exim -DNOTDAEMON -DSERVER=server -q
47 sudo rm DIR/spool/db/misc
49 # Check that the cache is invalidated on SMTP errors from the server for the banner
59 >250 mail-from accepted
70 exim -DCONTROL=127.0.0.1 -odi nocache2@test.ex
81 >250 mail-from accepted
92 exim -DCONTROL=127.0.0.1 -odi withcache2@test.ex
101 >450 sorry no banner for you today
110 exim -DCONTROL=127.0.0.1 -odi badbanner@test.ex
114 # Check that the cache is not invalidated on SMTP errors from the server after early-pipelining
124 >250 mail-from accepted
126 >250 rcpt-to accepted
130 >250 message accepted
135 exim -DCONTROL=127.0.0.1 -odi nocache3@test.ex
146 >250 mail-from accepted
148 >250 rcpt-to accepted
152 >250 message accepted
157 exim -DCONTROL=127.0.0.1 -odi withcache3@test.ex
173 >550 obscure data error
178 exim -DCONTROL=127.0.0.1 -odi baddata3@test.ex
194 >550 data cmd rejected - no valid recipient
199 exim -DCONTROL=127.0.0.1 -odi badrcpt3@test.ex
213 >550 mail cmd refused
214 >550 rcpt cmd rejected - no valid mail
215 >550 data cmd rejected - no valid mail
220 exim -DCONTROL=127.0.0.1 -odi badmail3@test.ex
232 >250 mail-from accepted
234 >250 rcpt-to accepted
238 >250 message accepted
243 exim -DCONTROL=127.0.0.1 -odi withcache23@test.ex
248 # Check that the cache is updated on a change of advertised extensions
249 # The conn will be made pipelined anyway (because we don't find out early)
250 # but it's the DB dump that matters. Unfortunately the dump doesn't show
251 # us the (binary) record content, only the key. So you need to look at the
252 # debug output after all.
262 >250 mail-from accepted
264 >250 rcpt-to accepted
268 >250 message accepted
273 exim -d-all+transport -DCONTROL=127.0.0.1 -odi extchange@test.ex