f8cbb7cbb74f4e64108d0b6b85d5a81c0c04f208
[exim.git] / test / confs / 0016
1 # Exim test configuration 0016
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 qualify_domain = test.ex
9
10
11 # ----- Routers -----
12
13 begin routers
14
15 userforward:
16   driver = redirect
17   allow_filter
18   user = CALLER
19   local_parts = userx : CALLER
20   file = DIR/aux-fixed/0016.filter.$local_part_data
21   local_part_suffix = +*
22   local_part_suffix_optional
23   reply_transport = address_reply
24
25 localuser:
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
35 begin transports
36
37 local_delivery:
38   driver = appendfile
39   user = CALLER
40   delivery_date_add
41   envelope_to_add
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
45   return_path_add
46   file = DIR/test-mail/$local_part
47   create_file = DIR/test-mail
48
49 address_reply:
50   driver = autoreply
51
52 # End