summaryrefslogtreecommitdiff
path: root/test/scripts/4056-pipe-conn-auth/4056
blob: abb46dc7fee7bf41ff85199c8ff29c60d92d3ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# AUTH
#
# Not attempted without a cache entry
exim -bd -DSERVER=server -oX PORT_D
****
#
exim a@test.ex
Subject: test 1

****
exim -q
****
exim -Mrm $msg1
****
#
#
#
# Go for it.  This one should do (limited) early-pipelinng.
exim b@test.ex
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