Handle quoted local_part input to ${srs_encode }. Bug 2607
[users/jgh/exim.git] / test / confs / 0232
1 # Exim test configuration 0232
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 : *.test.ex
10
11
12 # ----- Routers -----
13
14 begin routers
15
16 forward:
17 #!!# filter renamed allow_filter
18   driver = redirect
19   allow_filter
20   no_check_local_user
21   data = "${sg\
22             {#Exim filter||\
23              deliver postmaster \
24              deliver prefix-$local_part\
25             }{\\\\|\\\\|}{\n}}"
26   local_parts = ^filter
27   retry_use_local_part
28   user = CALLER
29
30 rest:
31   driver = accept
32   retry_use_local_part
33   transport = local_delivery
34
35
36 # ----- Transports -----
37
38 begin transports
39
40 local_delivery:
41   driver = appendfile
42   file = DIR/test-mail/${bless:$local_part}
43   user = CALLER
44
45
46 # ----- Retry -----
47
48
49 begin retry
50
51 * * F,5d,10s
52
53
54 # End