Early-pipe: invalidate cache on a failure of required-auth
[exim.git] / test / confs / 2008
CommitLineData
afda344b
PH
1# Exim test configuration 2008
2
3SERVER =
4
d4dc049f
JH
5.include DIR/aux-var/tls_conf_prefix
6
afda344b 7primary_hostname = myhost.test.ex
afda344b
PH
8
9
10# ----- Main settings -----
11
12domainlist local_domains = test.ex : *.test.ex
13
14acl_smtp_rcpt = check_recipient
15log_selector = +tls_peerdn
16queue_only
17queue_run_in_order
18remote_max_parallel = 1
19
20tls_advertise_hosts = *
21
22# Set certificate only if server
23
24tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25
26
27# ------ ACL ------
28
29begin acl
30
31check_recipient:
32 accept domains = +local_domains
33 deny message = relay not permitted
34
35
36# ----- Routers -----
37
38begin routers
39
40client:
41 driver = accept
42 condition = ${if eq {SERVER}{server}{no}{yes}}
43 retry_use_local_part
44 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
45
46server:
47 driver = accept
48 retry_use_local_part
49 transport = local_delivery
50
51
52# ----- Transports -----
53
54begin transports
55
56local_delivery:
57 driver = appendfile
0d2e392e 58 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
59 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
60 user = CALLER
61
62send_to_server1:
63 driver = smtp
64 allow_localhost
65 hosts = 127.0.0.1
66 port = PORT_D
277b9979 67 hosts_try_fastopen = :
afda344b
PH
68 helo_data = helo.data.changed
69
70send_to_server2:
71 driver = smtp
72 allow_localhost
73 hosts = HOSTIPV4
74 port = PORT_D
277b9979 75 hosts_try_fastopen = :
afda344b
PH
76
77
78# ----- Retry -----
79
80
81begin retry
82
83* * F,5d,10s
84
85
86# End