Use common routine for building tagstring for dns-fail cache
[exim.git] / test / confs / 0025
1 # Exim test configuration 0025
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 domainlist local_domains = test.ex
10 domainlist relay_domains = ten-1.test.ex
11
12 acl_smtp_rcpt = acl_local
13
14 # ------ ACLs ------
15
16 begin acl
17
18 acl_local:
19 # Pass on for non-remote input (should all be)
20 require message = this message should not occur
21 hosts = :
22
23 # The redundant hosts check is just to ensure it works
24 accept verify = sender
25 verify = recipient
26 hosts = :
27
28 # ------ Routers ------
29
30 begin routers
31
32 r1:
33 driver = dnslookup
34 domains = ! +local_domains
35 transport = dev_null
36 no_more
37
38 r2:
39 driver = accept
40 local_parts = userx : postmaster
41 transport = local_delivery
42
43
44 # ------ Transports ------
45
46 begin transports
47
48 dev_null:
49 driver = appendfile
50 file = /dev/null
51 user = CALLER
52
53 local_delivery:
54 driver = appendfile
55 file = DIR/test-mail/$local_part
56 user = CALLER
57
58 # End