Add variables for wildcard portion of local-part affix. Bug 281
[exim.git] / test / confs / 0025
CommitLineData
afda344b
PH
1# Exim test configuration 0025
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9domainlist local_domains = test.ex
10domainlist relay_domains = ten-1.test.ex
11
12acl_smtp_rcpt = acl_local
13
14# ------ ACLs ------
15
16begin acl
17
18acl_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
30begin routers
31
32r1:
33 driver = dnslookup
34 domains = ! +local_domains
35 transport = dev_null
36 no_more
37
38r2:
39 driver = accept
40 local_parts = userx : postmaster
41 transport = local_delivery
42
43
44# ------ Transports ------
45
46begin transports
47
48dev_null:
49 driver = appendfile
50 file = /dev/null
51 user = CALLER
52
53local_delivery:
54 driver = appendfile
0d2e392e 55 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
56 user = CALLER
57
58# End