diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-04-14 21:51:51 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-04-14 21:51:51 +0100 |
commit | bf624a64a4395692f94ad304126a81d35a6d95df (patch) | |
tree | 35d6ea5213f8f426b9ec5b4dacb7acdb5cff6d74 /test/scripts/4056-pipe-conn-auth | |
parent | 6a72548d36fb6697c5748cb944dfdcbfeb31ad76 (diff) |
Early-pipe: invalidate cache on a failure of required-auth
Diffstat (limited to 'test/scripts/4056-pipe-conn-auth')
-rw-r--r-- | test/scripts/4056-pipe-conn-auth/4056 | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/test/scripts/4056-pipe-conn-auth/4056 b/test/scripts/4056-pipe-conn-auth/4056 index 403cf621c..9b2ab8223 100644 --- a/test/scripts/4056-pipe-conn-auth/4056 +++ b/test/scripts/4056-pipe-conn-auth/4056 @@ -5,27 +5,59 @@ exim -bd -DSERVER=server -oX PORT_D **** # exim a@test.ex -Subject test 1 +Subject: test 1 **** exim -q **** -exim -DNOTDAEMON -DSERVER=server -q +exim -Mrm $msg1 **** # # # # Go for it. This one should do (limited) early-pipelinng. exim b@test.ex -Subject test 2 +Subject: test 2 **** exim -q **** +# that should have gone to the server; deliver it there to blackhole exim -DNOTDAEMON -DSERVER=server -q **** # # killdaemon # +# +# +# +# Now have the server stop advertising AUTH +# Trying to use it will be attempted, fail, and should result in the cache being invalidated +# The message should be deferred; so still queued +exim -bd -DSERVER=server -DAA=no -oX PORT_D +**** +exim -odi c@test.ex +Subject: test 3 + +**** +killdaemon +# +exim -Mrm $msg1 +**** +# +# Tidy the retry db, for test purposes +sudo rm DIR/spool/db/retry +# +# +# Then, advertising again, initial attempt should not get early-pipe +# but should go through +exim -bd -DSERVER=server -oX PORT_D +**** +exim -odi d@test.ex +Subject: test 4 + +**** +killdaemon +# no_msglog_check |