Early-pipe: invalidate cache on a failure of required-auth
[exim.git] / test / confs / 0174
CommitLineData
afda344b
PH
1# Exim test configuration 0174
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b
PH
5
6# ----- Main settings -----
7
8domainlist local_domains = test.ex
9
10qualify_domain = test.ex
11trusted_users = CALLER
12
13
14# ----- Routers -----
15
16begin routers
17
18check1:
19 driver = manualroute
20 condition = ${if or {\
21 {eq {$sender_address}{}}\
22 {eq {$received_protocol}{scanned-ok}}\
23 }{no}{yes}}
24 domains = ! +local_domains
25 route_list = *
26 transport = pipe
27
28fail_remote_domains:
29 driver = redirect
30 domains = ! +local_domains
31 allow_fail
32 data = :fail: unrouteable mail domain "$domain" (:fail:)
33
34check2:
35 driver = accept
36 condition = ${if or {\
37 {eq {$sender_address}{}}\
38 {eq {$received_protocol}{scanned-ok}}\
39 }{no}{yes}}
40 retry_use_local_part
41 transport = pipe
42
43all:
44 driver = accept
45 retry_use_local_part
46 transport = appendfile
47
48
49# ----- Transports -----
50
51begin transports
52
53appendfile:
54 driver = appendfile
0d2e392e 55 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
56 user = CALLER
57
58pipe:
59 driver = pipe
60 batch_max = 100
61 use_bsmtp
62 command = DIR/aux-fixed/resubmitB DIR/ CALLER
63 message_prefix =
64 return_output
65 user = CALLER
7b283890 66 path = ${env{PATH}}
afda344b
PH
67
68
69# ----- Retry -----
70
71
72begin retry
73
74* * F,5d,1d
75
76
77# End