593c29555462c71a51ede82a1094ba9ce84d0d6b
[exim.git] / test / confs / 0015
1 # Exim test configuration 0015
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 qualify_domain = test.ex
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 convert_to_real_name:
22 driver = redirect
23 allow_defer
24 data = "\
25 $local_part_prefix${lookup{$local_part}\
26 lsearch{DIR/aux-fixed/0015.realnames}{$value}fail}@$domain"
27 local_part_prefix = *+
28 local_part_prefix_optional
29 retry_use_local_part
30
31 #system_aliases:
32 # driver = redirect
33 # allow_defer
34 # data = ${lookup{$local_part}lsearch{DIR/aux-fixed/0015.aliases}}
35 # retry_use_local_part
36
37 userforward:
38 driver = redirect
39 allow_filter
40 local_parts = userx
41 user = CALLER
42 file = DIR/aux-fixed/0015.filter.$local_part
43 local_part_prefix = *+
44 local_part_prefix_optional
45 pipe_transport = address_pipe
46 reply_transport = address_reply
47
48 localuser_b:
49 driver = accept
50 local_parts = userx : CALLER
51 local_part_prefix = B+
52 transport = local_delivery_b
53
54 localuser_s:
55 driver = accept
56 local_part_prefix = S+
57 transport = delivery_s
58
59 localuser_sb:
60 driver = accept
61 local_parts = userx : CALLER
62 local_part_prefix = *+
63 local_part_prefix_optional
64 local_part_suffix = -B
65 transport = local_delivery_b
66
67 localuser_ss:
68 driver = accept
69 local_part_suffix = -S
70 transport = delivery_s
71
72 localuser:
73 driver = accept
74 local_parts = userx : CALLER
75 local_part_prefix = *+
76 local_part_prefix_optional
77 transport = local_delivery
78
79
80 # ----- Transports -----
81
82 begin transports
83
84 local_delivery:
85 driver = appendfile
86 user = CALLER
87 delivery_date_add
88 envelope_to_add
89 file = DIR/test-mail/$local_part
90 return_path_add
91 headers_add = X-local_part: $local_part\n\
92 X-local_part_prefix: $local_part_prefix
93
94 local_delivery_b:
95 driver = appendfile
96 user = CALLER
97 delivery_date_add
98 envelope_to_add
99 file = DIR/test-mail/$local_part
100 return_path_add
101 use_bsmtp
102 headers_add = X-local_part: $local_part\n\
103 X-local_part_prefix: $local_part_prefix
104
105 delivery_s:
106 driver = smtp
107 hosts = 127.0.0.1
108 port = PORT_S
109 allow_localhost
110
111 address_reply:
112 driver = autoreply
113
114 address_pipe:
115 driver = pipe
116
117 # End