Add variables for wildcard portion of local-part affix. Bug 281
[exim.git] / test / confs / 0016
CommitLineData
afda344b
PH
1# Exim test configuration 0016
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b
PH
5
6# ----- Main settings -----
7
8qualify_domain = test.ex
9
10
11# ----- Routers -----
12
13begin routers
14
15userforward:
16 driver = redirect
17 allow_filter
18 user = CALLER
19 local_parts = userx : CALLER
0d2e392e 20 file = DIR/aux-fixed/0016.filter.${bless:$local_part}
afda344b
PH
21 local_part_suffix = +*
22 local_part_suffix_optional
23 reply_transport = address_reply
24
25localuser:
26 driver = accept
27 local_parts = userx : CALLER
28 local_part_suffix = +*
29 local_part_suffix_optional
30 transport = local_delivery
31
32
33# ----- Transports -----
34
35begin transports
36
37local_delivery:
38 driver = appendfile
39 user = CALLER
40 delivery_date_add
41 envelope_to_add
759502e5
JH
42 headers_add = X-local_part: $local_part\n\
43 X-local_part_suffix: $local_part_suffix\n\
44 X-local_part_suffix_v: $local_part_suffix_v
afda344b 45 return_path_add
759502e5 46 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
47
48address_reply:
49 driver = autoreply
50
51# End