Mercurial > masqmail
comparison man/masqmail.conf.5 @ 398:b033fd9b96e4
Typographic rework in man page and line-breaking.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Tue, 21 Feb 2012 14:44:00 +0100 |
parents | a408411ff8df |
children | 4cbaf6d6793f |
comparison
equal
deleted
inserted
replaced
397:cdd16614c1f5 | 398:b033fd9b96e4 |
---|---|
9 This man page describes the syntax of the main configuration file of masqmail. | 9 This man page describes the syntax of the main configuration file of masqmail. |
10 Its usual location is \fI/etc/masqmail/masqmail.conf\fR | 10 Its usual location is \fI/etc/masqmail/masqmail.conf\fR |
11 | 11 |
12 The configuration consists of lines of the form | 12 The configuration consists of lines of the form |
13 | 13 |
14 .RS 8 | |
14 \fBval\fR = \fIexpression\fR | 15 \fBval\fR = \fIexpression\fR |
16 .RE | |
15 | 17 |
16 Where \fBval\fR is a variable name and \fIexpression\fR a string, | 18 Where \fBval\fR is a variable name and \fIexpression\fR a string, |
17 which can be quoted with double quotes `"'. | 19 which can be quoted with double quotes `"'. |
18 If the expression is on multiple lines or contains characters other than letters, | 20 If the expression is on multiple lines or contains characters other |
19 digits or the characters `.', `-', `_', `/', ';', '@', ':', it must be quoted. | 21 than letters, |
22 digits or the characters `.', `\-', `_', `/', ';', '@', ':', it must be quoted. | |
20 You can use quotes inside quotes by escaping them with a backslash. | 23 You can use quotes inside quotes by escaping them with a backslash. |
21 | 24 |
22 Each \fBval\fP has a type, which can be boolean, numeric, string or list. | 25 Each \fBval\fP has a type, which can be boolean, numeric, string or list. |
23 A boolean variable can be set with one of the values `on', `yes', and `true' or `off', `no' and `false'. | 26 A boolean variable can be set with one of the values `on', `yes', and `true' |
27 or `off', `no' and `false'. | |
24 List items are separated with semicolons `;'. | 28 List items are separated with semicolons `;'. |
25 For some values, patterns (like `*',`?') can be used. | 29 The spaces around the equal sign `=' are optional. |
26 The spaces in front of and after the equal sign `=' are optional. | 30 |
27 | 31 All lists, except |
28 Most lists (exceptions: \fBlocal_hosts\fR, \fBlisten_addresses\fR, | 32 \fBquery_routes.\fIname\fR and \fBpermanent_routes\fR, accept absolute |
29 \fBquery_routes.\fIname\fR and \fBpermanent_routes\fR) accept files. | 33 pathnames (leading slash `/') as entries, too. |
30 These will be recognized by a leading slash `/'. | 34 They can be intermixed with normal entries. |
31 The contents of these files will be included at the position of the file name, | 35 The contents of these files will be included at this position in the list. |
32 there can be items or other files before and after the file entry. | 36 This makes including large lists more convenient. |
33 The format of the files is different though, within these files each entry is on another line | 37 Within these files, each line is one entry; the semicolon is no separator. |
34 and the entries are not separated by semicolons. | |
35 This makes it easy to include large lists which are common in different configuration files, | |
36 so they do not have to appear in every configuration file. | |
37 | 38 |
38 Blank lines and lines starting with a hash `#' are ignored. | 39 Blank lines and lines starting with a hash `#' are ignored. |
39 | 40 |
40 | 41 |
41 .SH OPTIONS | 42 .SH OPTIONS |
42 | 43 |
43 .TP | 44 .TP |
44 \fBrun_as_user = \fIboolean\fR | 45 \fBrun_as_user = \fIboolean\fR |
45 | 46 |
46 If this is set, masqmail runs with the user id of the user who invoked it and never changes it. | 47 If this is set, masqmail runs with the user id of the user who |
48 invoked it and never changes it. | |
47 This is for debugging purposes only. | 49 This is for debugging purposes only. |
48 If the user is not root, masqmail will not be able to listen on a port < 1024 | 50 If the user is not root, masqmail will not be able to listen on a port < 1024 |
49 and will not be able to deliver local mail to others than the user. | 51 and will not be able to deliver local mail to others than the user. |
50 | 52 |
51 .TP | 53 .TP |
78 Default: \fI/var/log/masqmail\fR | 80 Default: \fI/var/log/masqmail\fR |
79 | 81 |
80 .TP | 82 .TP |
81 \fBmail_dir = \fIfile\fR | 83 \fBmail_dir = \fIfile\fR |
82 | 84 |
83 The directory where local mail is stored, usually \fI/var/spool/mail\fR or \fI/var/mail\fR. | 85 The directory where local mail is stored, |
86 usually \fI/var/spool/mail\fR or \fI/var/mail\fR. | |
84 \fIfile\fR must be an absolute path. | 87 \fIfile\fR must be an absolute path. |
85 | 88 |
86 Default: \fI/var/mail\fR | 89 Default: \fI/var/mail\fR |
87 | 90 |
88 .TP | 91 .TP |
89 \fBspool_dir = \fIfile\fR | 92 \fBspool_dir = \fIfile\fR |
90 | 93 |
91 The directory where masqmail stores its spool files (and later also other stuff). | 94 The directory where masqmail stores its spool files |
95 (and later also other stuff). | |
92 It must have a subdirectory \fIinput\fR. | 96 It must have a subdirectory \fIinput\fR. |
93 Masqmail needs read and write permissions for this directory. | 97 Masqmail needs read and write permissions for this directory. |
94 \fIfile\fR must be an absolute path. | 98 \fIfile\fR must be an absolute path. |
95 | 99 |
96 Default: \fI/var/spool/masqmail\fR | 100 Default: \fI/var/spool/masqmail\fR |
104 \fIfile\fR must be an absolute path. | 108 \fIfile\fR must be an absolute path. |
105 | 109 |
106 .TP | 110 .TP |
107 \fBhost_name = \fIstring\fR | 111 \fBhost_name = \fIstring\fR |
108 | 112 |
109 This is used in different places: Masqmail identifies itself in the greeting banner | 113 This is used in different places: Masqmail identifies itself in |
110 on incoming connections and in the HELO/EHLO command for outgoing connections with this name, | 114 the greeting banner on incoming connections and in the HELO/EHLO command |
111 it is used in the Received: header and to qualify the sender of a locally originating message. | 115 for outgoing connections with this name, it is used in the Received: header |
116 and to qualify the sender of a locally originating message. | |
112 | 117 |
113 If the string begins with a slash `/', it it assumed that it is a filename, | 118 If the string begins with a slash `/', it it assumed that it is a filename, |
114 and the first line of this file will be used. | 119 and the first line of this file will be used. |
115 Usually this will be `/etc/mailname' to make masqmail conform to Debian policies. | 120 Usually this will be `/etc/mailname' to make masqmail conform to |
116 | 121 Debian policies. |
117 It is not used to find whether an address is local. Use \fBlocal_hosts\fR for that. | 122 |
123 It is not used to find whether an address is local. | |
124 Use \fBlocal_hosts\fR for that. | |
118 | 125 |
119 Default: none; \fBhost_name\fP MUST be set in the config file | 126 Default: none; \fBhost_name\fP MUST be set in the config file |
120 | 127 |
121 .TP | 128 .TP |
122 \fBlocal_hosts = \fIlist\fR | 129 \fBlocal_hosts = \fIlist\fR |
125 Can contain glob patterns, like | 132 Can contain glob patterns, like |
126 `*example.org' or `mail?.*mydomain.net'. | 133 `*example.org' or `mail?.*mydomain.net'. |
127 Normally you should set it to "localhost;foo;foo.bar.com" if your host has the | 134 Normally you should set it to "localhost;foo;foo.bar.com" if your host has the |
128 fully qualified domain name `foo.bar.com'. | 135 fully qualified domain name `foo.bar.com'. |
129 | 136 |
130 Default: localhost ; <value of \fBhost_name\fR cut at the first dot> ; <value of \fBhost_name\fR> | 137 Default: localhost ; <value of \fBhost_name\fR cut at the first dot> ; |
138 <value of \fBhost_name\fR> | |
131 | 139 |
132 Example: \fIlocalhost;foo;foo.example.org\fR | 140 Example: \fIlocalhost;foo;foo.example.org\fR |
133 (if you have set \fBhost_name\fR to \fIfoo.example.org\fR) | 141 (if you have set \fBhost_name\fR to \fIfoo.example.org\fR) |
134 | 142 |
135 .TP | 143 .TP |
136 \fBlocal_addresses = \fIlist\fR | 144 \fBlocal_addresses = \fIlist\fR |
137 | 145 |
138 A semicolon `;' separated list of fully qualified email-addresses which are | 146 A semicolon `;' separated list of fully qualified email-addresses which are |
139 considered local although their domain name part is not in the list of \fBlocal_hosts\fR. | 147 considered local although their domain name part is not in the list of |
148 \fBlocal_hosts\fR. | |
140 This list can be seen as an addition to \fBlocal_hosts\fP. | 149 This list can be seen as an addition to \fBlocal_hosts\fP. |
141 | 150 .IP |
142 Further more only the local part of the addresses will be regarded, | 151 Further more only the local part of the addresses will be regarded, |
143 seeing it as a local user. | 152 seeing it as a local user. |
144 | 153 |
145 Example: \fIlocal_addresses = "person1@yourdomain;person2@yourdomain"\fP | 154 Example: |
146 | 155 |
156 .RS 8 | |
157 .nf | |
158 local_hosts = "localhost;myhost" | |
159 local_addresses = "bob@somewhere;alice@foo" | |
160 .fi | |
161 .RE | |
162 .IP | |
147 This means mail to person1@yourdomain will effectively go to | 163 This means mail to person1@yourdomain will effectively go to |
148 person1@localhost, if not redirected by an alias. | 164 person1@localhost, if not redirected by an alias. |
149 | 165 |
150 .TP | 166 .TP |
151 \fBnot_local_addresses = \fIlist\fR | 167 \fBnot_local_addresses = \fIlist\fR |
152 | 168 |
153 A semicolon `;' separated list of fully qualified email-addresses which are | 169 A semicolon `;' separated list of fully qualified email-addresses which are |
154 considered not local although their domain name part is in the list of \fBlocal_hosts\fR. | 170 considered not local although their domain name part is in the list of |
171 \fBlocal_hosts\fR. | |
155 This list can be seen as a substraction to \fBlocal_hosts\fP. | 172 This list can be seen as a substraction to \fBlocal_hosts\fP. |
156 | 173 |
157 This is the opposite of the previous case. | 174 This is the opposite of the previous case. |
158 The majority of addresses of a specific domain are local. | 175 The majority of addresses of a specific domain are local. |
159 But some users are not. | 176 But some users are not. |
160 With this option you can easily exclude these users. | 177 With this option you can easily exclude these users. |
161 | 178 |
162 Example: | 179 Example: |
163 | 180 |
181 .RS 8 | |
182 .nf | |
164 local_hosts = "localhost;myhost;mydomain.net" | 183 local_hosts = "localhost;myhost;mydomain.net" |
165 | |
166 not_local_addresses = "eric@mydomain.net" | 184 not_local_addresses = "eric@mydomain.net" |
185 .fi | |
186 .RE | |
187 .IP | |
167 | 188 |
168 .TP | 189 .TP |
169 \fBlisten_addresses = \fIlist\fR | 190 \fBlisten_addresses = \fIlist\fR |
170 | 191 |
171 A semicolon `;' separated list of interfaces on which connections will be accepted. | 192 A semicolon `;' separated list of interfaces on which connections will |
172 An interface ist defined by a hostname, optionally followed by a colon `:' and a number for the port. | 193 be accepted. |
194 An interface ist defined by a hostname, optionally followed by a colon `:' | |
195 and a number for the port. | |
173 If this is left out, port 25 will be used. | 196 If this is left out, port 25 will be used. |
174 | 197 |
175 You can set this to "localhost:25;foo:25" if your hostname is `foo'. | 198 You can set this to "localhost:25;foo:25" if your hostname is `foo'. |
176 | 199 |
177 Note that the names are resolved to IP addresses. | 200 Note that the names are resolved to IP addresses. |
181 Default: \fIlocalhost:25\fR (i.e. only local processes can connect) | 204 Default: \fIlocalhost:25\fR (i.e. only local processes can connect) |
182 | 205 |
183 .TP | 206 .TP |
184 \fBdo_save_envelope_to = \fIboolean\fR | 207 \fBdo_save_envelope_to = \fIboolean\fR |
185 | 208 |
186 If this is set to true, a possibly existing Envelope-to: header in an incoming mail | 209 If this is set to true, a possibly existing Envelope-to: header in |
187 which is received via either pop3 or smtp will be saved as an X-Orig-Envelope-to: header. | 210 an incoming mail which is received via either pop3 or smtp will be saved |
211 as an X-Orig-Envelope-to: header. | |
188 | 212 |
189 This is useful if you retrieve mail from a pop3 server with fetchmail, | 213 This is useful if you retrieve mail from a pop3 server with fetchmail, |
190 and the server supports Envelope-to: headers, | 214 and the server supports Envelope-to: headers, |
191 and you want to make use of those with a mail filtering tool, e.g. procmail. | 215 and you want to make use of those with a mail filtering tool, e.g. procmail. |
192 It cannot be preserved because masqmail sets such a header by itself. | 216 It cannot be preserved because masqmail sets such a header by itself. |
194 Default is false. | 218 Default is false. |
195 | 219 |
196 .TP | 220 .TP |
197 \fBdo_relay = \fIboolean\fR | 221 \fBdo_relay = \fIboolean\fR |
198 | 222 |
199 If this is set to false, mail with a return path that is not local and a destination | 223 If this is set to false, mail with a return path that is not local |
200 that is also not local will not be accepted via smtp and a 550 reply will be given. | 224 and a destination that is also not local will not be accepted via smtp |
225 and a 550 reply will be given. | |
201 Default is true. | 226 Default is true. |
202 | 227 |
203 Note that this will not protect you from spammers using open relays, | 228 Note that this will not protect you from spammers using open relays, |
204 but from users unable to set their address in their mail clients. | 229 but from users unable to set their address in their mail clients. |
205 | 230 |
206 .TP | 231 .TP |
207 \fBdo_queue = \fIboolean\fR | 232 \fBdo_queue = \fIboolean\fR |
208 | 233 |
209 If this is set, masqmail will not try to deliver mail immediately when accepted. | 234 If this is set, masqmail will not try to deliver mail |
235 immediately when accepted. | |
210 Instead it will always queue it. | 236 Instead it will always queue it. |
211 (Note: Masqmail will always automatically queue mail if neccesary, | 237 (Note: Masqmail will always automatically queue mail if neccesary, |
212 i.e. if it cannot deliver because no suitable route was available for example.) | 238 i.e. if it cannot deliver because no suitable route was available for example.) |
213 | 239 |
214 Same as calling masqmail with the \fB\-odq\fR option. | 240 Same as calling masqmail with the \fB\-odq\fR option. |
227 | 253 |
228 A setting `\fBlocal_nets\fR = \fI"*home.net"\fR' in versions <= 0.3.3 | 254 A setting `\fBlocal_nets\fR = \fI"*home.net"\fR' in versions <= 0.3.3 |
229 is in newer versions configured as: | 255 is in newer versions configured as: |
230 `\fBpermanent_routes\fR = \fI"/etc/masqmail/homenet.route"\fR' | 256 `\fBpermanent_routes\fR = \fI"/etc/masqmail/homenet.route"\fR' |
231 and the route file `homenet.route' containing: | 257 and the route file `homenet.route' containing: |
232 .in +1in | 258 |
259 .RS 8 | |
233 .nf | 260 .nf |
234 allowed_recipients = "*@*home.net" | 261 allowed_recipients = "*@*home.net" |
235 connect_error_fail = true | 262 connect_error_fail = true |
236 resolve_list = byname | 263 resolve_list = byname |
237 .fi | 264 .fi |
238 .in 0 | 265 .RE |
266 .IP | |
267 | |
239 This is just as it had been with \fBlocal_net_route\fP, | 268 This is just as it had been with \fBlocal_net_route\fP, |
240 with the exception that the filtering for appropriate addresses | 269 with the exception that the filtering for appropriate addresses |
241 is only in the route file and not with \fBlocal_nets\fR. | 270 is only in the route file and not with \fBlocal_nets\fR. |
242 | 271 |
243 .TP | 272 .TP |
255 route. | 284 route. |
256 | 285 |
257 Example: Your ISP has the name FastNet. | 286 Example: Your ISP has the name FastNet. |
258 Then you write the following line in the main configuration: | 287 Then you write the following line in the main configuration: |
259 | 288 |
289 .RS 8 | |
290 .nf | |
260 \fBquery_routes.\fBFastNet\fR = \fI"/etc/masqmail/fastnet.route"\fR | 291 \fBquery_routes.\fBFastNet\fR = \fI"/etc/masqmail/fastnet.route"\fR |
292 .fi | |
293 .RE | |
294 .IP | |
261 | 295 |
262 \fI/etc/masqmail/fastnet.route\fR is the route configuration file, | 296 \fI/etc/masqmail/fastnet.route\fR is the route configuration file, |
263 see \fBmasqmail.route(5)\fR. | 297 see \fBmasqmail.route(5)\fR. |
264 As soon as a link to FastNet has been set up, | 298 As soon as a link to FastNet has been set up, |
265 you call `masqmail \fB\-qo \fIFastNet\fR'. | 299 you call `masqmail \fB\-qo \fIFastNet\fR'. |
320 .TP | 354 .TP |
321 \fBmbox_default = \fIstring\fR | 355 \fBmbox_default = \fIstring\fR |
322 | 356 |
323 The default local delivery method. | 357 The default local delivery method. |
324 Can be mbox or mda. | 358 Can be mbox or mda. |
325 You can override this for each user by using the \fBmbox_users\fR or \fBmda_users\fR (see below). | 359 You can override this for each user by using the \fBmbox_users\fR or |
360 \fBmda_users\fR (see below). | |
326 | 361 |
327 Default: mbox. | 362 Default: mbox. |
328 | 363 |
329 .TP | 364 .TP |
330 \fBmbox_users = \fIlist\fR | 365 \fBmbox_users = \fIlist\fR |
341 \fBmda = \fIexpand string\fR | 376 \fBmda = \fIexpand string\fR |
342 | 377 |
343 If you want local delivery to be transferred to an mda (Mail Delivery Agent), | 378 If you want local delivery to be transferred to an mda (Mail Delivery Agent), |
344 set this to a command. | 379 set this to a command. |
345 The argument will be expanded on delivery time, | 380 The argument will be expanded on delivery time, |
346 you can use variables beginning with a dolloar sign `$', optionally enclosed in curly braces. | 381 you can use variables beginning with a dolloar sign `$', |
382 optionally enclosed in curly braces. | |
347 Variables you can use are: | 383 Variables you can use are: |
348 | 384 |
349 uid - the unique message id. | 385 .RS 8 |
350 This is not necessarily identical with the Message ID as given in the Message ID: header. | 386 .TP |
351 | 387 uid |
352 received_host - the host the mail was received from | 388 the unique message id. |
353 | 389 (This is not necessarily identical with the Message ID |
354 ident - the user id of the sender if the message was received locally. | 390 as given in the Message ID: header.) |
355 | 391 |
356 return_path_local - the local part of the return path (sender). | 392 .TP |
357 | 393 received_host |
358 return_path_domain - the domain part of the return path (sender). | 394 the host the mail was received from |
359 | 395 |
360 return_path - the complete return path (sender). | 396 .TP |
361 | 397 ident |
362 rcpt_local - the local part of the recipient. | 398 the user id of the sender if the message was received locally. |
363 | 399 |
364 rcpt_domain - the domain part of the recipient. | 400 .TP |
365 | 401 return_path_local |
366 rcpt - the complete recipient address. | 402 the local part of the return path (sender). |
403 | |
404 .TP | |
405 return_path_domain | |
406 the domain part of the return path (sender). | |
407 | |
408 .TP | |
409 return_path | |
410 the complete return path (sender). | |
411 | |
412 .TP | |
413 rcpt_local | |
414 the local part of the recipient. | |
415 | |
416 .TP | |
417 rcpt_domain | |
418 the domain part of the recipient. | |
419 | |
420 .TP | |
421 rcpt | |
422 the complete recipient address. | |
423 .RE | |
424 .IP | |
367 | 425 |
368 Example: | 426 Example: |
369 | 427 |
428 .RS 8 | |
370 mda="/usr/bin/procmail \-Y \-d ${rcpt_local}" | 429 mda="/usr/bin/procmail \-Y \-d ${rcpt_local}" |
371 | 430 .RE |
372 For the mda, as for pipe commands, a few environment variables will be set as well. | 431 .IP |
432 | |
433 For the mda, as for pipe commands, | |
434 a few environment variables will be set as well. | |
373 See \fBmasqmail(8)\fR. | 435 See \fBmasqmail(8)\fR. |
374 To use environment variables for the mda, the dollar sign `$' has to be escaped with a backslash, | 436 To use environment variables for the mda, |
437 the dollar sign `$' has to be escaped with a backslash, | |
375 otherwise they will be tried to be expanded with the internal variables. | 438 otherwise they will be tried to be expanded with the internal variables. |
376 | 439 |
377 .TP | 440 .TP |
378 \fBmda_fromline = \fIboolean\fR | 441 \fBmda_fromline = \fIboolean\fR |
379 | 442 |
390 Default is false. | 453 Default is false. |
391 | 454 |
392 .TP | 455 .TP |
393 \fBonline_query = \fIcommand line\fR | 456 \fBonline_query = \fIcommand line\fR |
394 | 457 |
395 Defines the method masqmail uses to detect whether there exists an online connection currently. | 458 Defines the method masqmail uses to detect whether there exists |
459 an online connection currently. | |
396 | 460 |
397 Masqmail executes the command given and reads from its standard output. | 461 Masqmail executes the command given and reads from its standard output. |
398 The command should just print a route name, as defined | 462 The command should just print a route name, as defined |
399 with \fBquery_routes.\fIname\fR, to standard output and return a zero status code. | 463 with \fBquery_routes.\fIname\fR, to standard output and return |
464 a zero status code. | |
400 Masqmail assumes it is offline if the script returns with a non-zero status. | 465 Masqmail assumes it is offline if the script returns with a non-zero status. |
401 Leading and trailing whitespace is removed from the output. | 466 Leading and trailing whitespace is removed from the output. |
402 | 467 |
403 Simple example: | 468 Simple example: |
404 | 469 |
470 .RS 8 | |
405 .nf | 471 .nf |
406 #!/bin/sh | 472 #!/bin/sh |
407 test \-e /var/run/masqmail/masqmail-route || exit 1 | 473 test \-e /var/run/masqmail/masqmail-route || exit 1 |
408 cat /var/run/masqmail/masqmail-route | 474 cat /var/run/masqmail/masqmail-route |
409 exit 0 | 475 exit 0 |
410 .fi | 476 .fi |
477 .RE | |
478 .IP | |
411 | 479 |
412 No matter how masqmail detects the online status, | 480 No matter how masqmail detects the online status, |
413 only messages that are accepted at online time will be delivered using the connection. | 481 only messages that are accepted at online time will be |
482 delivered using the connection. | |
414 The mail spool still needs to be emptied manually | 483 The mail spool still needs to be emptied manually |
415 (\fB\-qo\fIconnection\fR). | 484 (\fB\-qo\fIconnection\fR). |
416 | 485 |
417 \fIcommand line\fR must start with an absolute path to an executable program. | 486 \fIcommand line\fR must start with an absolute path to an executable program. |
418 It can contain optional arguments. | 487 It can contain optional arguments. |
419 | 488 |
420 To simulate the old online_method=file, use: | 489 To simulate the old online_method=file, use: |
490 | |
491 .RS 8 | |
421 \fI/bin/cat /path/to/file\fP | 492 \fI/bin/cat /path/to/file\fP |
493 .RE | |
494 .IP | |
422 | 495 |
423 To be always online with connection `foo', use: | 496 To be always online with connection `foo', use: |
497 | |
498 .RS 8 | |
424 \fI/bin/echo foo\fP | 499 \fI/bin/echo foo\fP |
500 .RE | |
501 .IP | |
425 | 502 |
426 To query a masqdialer server | 503 To query a masqdialer server |
427 (i.e. asking it whether a connection exists and what its name is) | 504 (i.e. asking it whether a connection exists and what its name is) |
428 use: | 505 use: |
506 | |
507 .RS 8 | |
429 \fI/usr/bin/mservdetect localhost 224\fP | 508 \fI/usr/bin/mservdetect localhost 224\fP |
509 .RE | |
510 .IP | |
430 | 511 |
431 .TP | 512 .TP |
432 \fBerrmsg_file = \fIfile\fR | 513 \fBerrmsg_file = \fIfile\fR |
433 | 514 |
434 Set this to a template which will be used to generate delivery failure reports. | 515 Set this to a template which will be used to generate delivery failure reports. |
435 Variable parts within the template begin with a dollar sign and are identical | 516 Variable parts within the template begin with a dollar sign and are identical |
436 to those which can be used as arguments for the mda command, see \fBmda\fR above. | 517 to those which can be used as arguments for the mda command, |
437 Additional information can be included with @failed_rcpts, @msg_headers and @msg_body, | 518 see \fBmda\fR above. |
438 these must be at the beginning of a line and will be replaced with the list of the failed recipients, | 519 Additional information can be included with @failed_rcpts, |
520 @msg_headers and @msg_body, | |
521 these must be at the beginning of a line and will be replaced | |
522 with the list of the failed recipients, | |
439 the message headers and the message body of the failed message. | 523 the message headers and the message body of the failed message. |
440 | 524 |
441 Default is /usr/share/masqmail/tpl/failmsg.tpl. | 525 Default is /usr/share/masqmail/tpl/failmsg.tpl. |
442 | 526 |
443 .TP | 527 .TP |
454 Set this to a list of time intervals, at which delivery warnings | 538 Set this to a list of time intervals, at which delivery warnings |
455 (starting with the receiving time of the message) shall be generated. | 539 (starting with the receiving time of the message) shall be generated. |
456 | 540 |
457 A warning will only be generated just after an attempt to deliver the mail | 541 A warning will only be generated just after an attempt to deliver the mail |
458 and if that attempt failed temporarily. | 542 and if that attempt failed temporarily. |
459 So a warning may be generated after a longer time, if there was no attempt before. | 543 So a warning may be generated after a longer time, |
544 if there was no attempt before. | |
460 | 545 |
461 Default is "1h;4h;8h;1d;2d;3d" | 546 Default is "1h;4h;8h;1d;2d;3d" |
462 | 547 |
463 .TP | 548 .TP |
464 \fBmax_defer_time\fR = \fItime\fR | 549 \fBmax_defer_time\fR = \fItime\fR |
465 | 550 |
466 This is the maximum time, in which a temporarily failed mail will be kept in the spool. | 551 This is the maximum time, |
552 in which a temporarily failed mail will be kept in the spool. | |
467 When this time is exceeded, it will be handled as a delivery failure, | 553 When this time is exceeded, it will be handled as a delivery failure, |
468 and the message will be bounced. | 554 and the message will be bounced. |
469 | 555 |
470 The excedence of this time will only be noticed if the message was actually tried to be delivered. | 556 The excedence of this time will only be noticed if the message |
557 was actually tried to be delivered. | |
471 If, for example, the message can only be delivered when online, | 558 If, for example, the message can only be delivered when online, |
472 but you have not been online for that time, no bounce will be generated. | 559 but you have not been online for that time, no bounce will be generated. |
473 | 560 |
474 Default is 4d (4 days) | 561 Default is 4d (4 days) |
475 | 562 |
477 \fBlog_user = \fIname\fR | 564 \fBlog_user = \fIname\fR |
478 | 565 |
479 Replace \fIname\fR with a valid local or remote mail address. | 566 Replace \fIname\fR with a valid local or remote mail address. |
480 | 567 |
481 If this option is set, then a copy of every mail, | 568 If this option is set, then a copy of every mail, |
482 that passes through the masqmail system will also be sent to the given mail address. | 569 that passes through the masqmail system will also be sent |
570 to the given mail address. | |
483 | 571 |
484 For example you can feed your mails into a program like hypermail | 572 For example you can feed your mails into a program like hypermail |
485 for archiving purpose by placing an appropriate pipe command in masqmail.alias | 573 for archiving purpose by placing an appropriate pipe command |
574 in masqmail.alias. | |
486 | 575 |
487 .TP | 576 .TP |
488 \fBmax_msg_size\fR = \fIbytes\fR | 577 \fBmax_msg_size\fR = \fIbytes\fR |
489 | 578 |
490 This option sets the maximum size in bytes masqmail will accept for delivery. | 579 This option sets the maximum size in bytes masqmail will accept for delivery. |
491 This value is advertised to the SMTP client by the `SIZE' message during SMTP | 580 This value is advertised to the SMTP client by the `SIZE' message during SMTP |
492 session setup. | 581 session setup. |
493 Clients pretending to send, or actually send, | 582 Clients pretending to send, or actually send, |
494 more than \fIbytes\fR will get a 552 error message. | 583 more than \fIbytes\fR will get a 552 error message. |
495 | 584 |
496 `0' means no fixed maximum size limit is in force. | 585 A zero value disables the maximum size limit. |
497 | 586 |
498 Default is 0 (= unlimited). | 587 Default is 0 (= unlimited). |
499 | 588 |
500 .TP | 589 .TP |
501 \fBdefer_all\fR = \fIboolean\fR | 590 \fBdefer_all\fR = \fIboolean\fR |
510 .SH AUTHOR | 599 .SH AUTHOR |
511 | 600 |
512 Masqmail was written by Oliver Kurth. | 601 Masqmail was written by Oliver Kurth. |
513 It is now maintained by Markus Schnalke <meillo@marmaro.de>. | 602 It is now maintained by Markus Schnalke <meillo@marmaro.de>. |
514 | 603 |
515 You will find the newest version of masqmail at \fBhttp://marmaro.de/prog/masqmail/\fR. | 604 You will find the newest version of masqmail at |
516 There is also a mailing list, you will find information about it at masqmail's main site. | 605 \fBhttp://marmaro.de/prog/masqmail/\fR. |
606 There is also a mailing list, | |
607 you will find information about it at masqmail's main site. | |
517 | 608 |
518 | 609 |
519 .SH BUGS | 610 .SH BUGS |
520 | 611 |
521 Please report bugs to the mailing list. | 612 Please report bugs to the mailing list. |