DANE: Remove fallback from hosts_try_dane. If TLSA record not retrieved,
[users/jgh/exim.git] / test / confs / 0571
1 # Exim test configuration 0571
2
3 LOG_SELECTOR=
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 tls_advertise_hosts =
14
15 # ----- Main settings -----
16
17 disable_ipv6 = true
18
19 addresslist ok_senders = ok@ok.ok
20
21 domainlist local_domains = test.ex : *.test.ex
22
23 qualify_domain = test.ex
24 trusted_users = CALLER
25
26 # Use first three components of from_domain to select ACL
27 acl_not_smtp =  ${if def:sender_address \
28         {acl_${sg{${tr{$sender_address_domain}{.}{_}}}{^(.*)_.*\$}{\$1}}} \
29         {accept control=queue_only}}
30
31 # ----- ACLs -----
32
33 begin acl
34
35 acl_29_29_29:
36   deny    dnslists = test.ex/$sender_address_domain
37   accept
38
39 acl_29_29_0:
40   deny    dnslists = test.ex
41   accept
42
43 # ----- Transports -----
44
45 begin transports
46
47 t1:
48   driver = appendfile
49   file = DIR/test-mail/$local_part
50   user = CALLER
51
52 t2:
53   driver = appendfile
54   file = DIR/test-mail/okbatch
55   user = CALLER
56   batch_max = 100
57   envelope_to_add
58
59 # ----- Routers -----
60
61 begin routers
62
63 r0:
64   driver = accept
65   local_parts = ^ok
66   transport = t2
67
68 r1:
69   driver = accept
70   local_parts = ^userx : ^cond-
71   transport = t1
72
73 r2:
74   driver = redirect
75   local_parts = fail
76   allow_fail
77   data = :fail: here is a fail message
78
79 # End