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