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