update to pre-4.87 master
[exim.git] / test / confs / 0100
1 # Exim test configuration 0100
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9 tls_advertise_hosts =
10
11 # ----- Main settings -----
12
13 domainlist local_domains = test.ex
14
15 qualify_domain = test.ex
16
17 # ----- Routers -----
18
19 begin routers
20
21 filtered:
22   driver = manualroute
23   domains = ! +local_domains
24   route_list = filtered.com 127.0.0.1 byname
25   self = send
26   transport = filtered_smtp
27
28 rest:
29   driver = manualroute
30   domains = ! +local_domains
31   route_list = * 127.0.0.1 byname
32   self = send
33   transport = smtp
34   no_more
35
36 batch_localuser:
37   driver = accept
38   local_part_prefix = batch-
39   transport = batch_local_delivery
40
41 mmdf_localuser:
42   driver = accept
43   local_part_prefix = mmdf-
44   transport = mmdf_local_delivery
45
46 filtered_localuser:
47   driver = accept
48   local_part_prefix = filter-
49   transport = filtered_local_delivery
50
51 hackfree_localuser:
52   driver = accept
53   local_parts = usery
54   transport = hackfree_local_delivery
55
56 bsmtp_localuser:
57   driver = accept
58   local_parts = userz
59   transport = bsmtp_local_delivery
60
61 bsmtp_localuser_filtered:
62   driver = accept
63   local_parts = userw
64   retry_use_local_part
65   transport = bsmtp_local_delivery_filtered
66
67 localuser:
68   driver = accept
69   local_parts = userx
70   transport = local_delivery
71
72
73 # ----- Transports -----
74
75 begin transports
76
77 smtp:
78   driver = smtp
79   port = PORT_S
80
81 filtered_smtp:
82   driver = smtp
83   port = PORT_S
84   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
85
86 local_delivery:
87   driver = appendfile
88   delivery_date_add
89   envelope_to_add
90   file = DIR/test-mail/$local_part
91   return_path_add
92   current_directory = /
93   user = CALLER
94
95 hackfree_local_delivery:
96   driver = appendfile
97   delivery_date_add
98   envelope_to_add
99   file = DIR/test-mail/$local_part
100   check_string =
101   return_path_add
102   user = CALLER
103   current_directory = /
104
105 bsmtp_local_delivery:
106   driver = appendfile
107   batch_max = 100
108   use_bsmtp
109   delivery_date_add
110   envelope_to_add
111   file = DIR/test-mail/$local_part
112   return_path_add
113   user = CALLER
114   current_directory = /
115
116 bsmtp_local_delivery_filtered:
117   driver = appendfile
118   batch_max = 100
119   use_bsmtp
120   delivery_date_add
121   envelope_to_add
122   file = DIR/test-mail/$local_part
123   return_path_add
124   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
125   user = CALLER
126   current_directory = /
127
128 batch_local_delivery:
129   driver = appendfile
130   batch_max = 100
131   delivery_date_add
132   envelope_to_add
133   file = DIR/test-mail/CALLER
134   return_path_add
135   user = CALLER
136   current_directory = /
137
138 filtered_local_delivery:
139   driver = appendfile
140   delivery_date_add
141   envelope_to_add
142   file = DIR/test-mail/$local_part
143   return_path_add
144   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
145   current_directory = /
146   user = CALLER
147
148 mmdf_local_delivery:
149   driver = appendfile
150   check_string = "\1\1\1\1\n"
151   escape_string = "\1\1\1\1 \n"
152   file = DIR/test-mail/$local_part
153   message_prefix = "\1\1\1\1\n"
154   message_suffix = "\1\1\1\1\n"
155   user = CALLER
156   current_directory = /
157
158 # End