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