comparison man/masqmail.route.5 @ 311:e230bcd0f1c6

removed protocol option from route config It was somehow redundant. Now, if `pipe' is set, the protocol will be pipe, otherwise it'll be smtp. That's just natural.
author meillo@marmaro.de
date Sun, 24 Apr 2011 19:37:56 +0200
parents 95d536599fd7
children d596ac8b5afb
comparison
equal deleted inserted replaced
310:f10a56dc7481 311:e230bcd0f1c6
7 .SH DESCRIPTION 7 .SH DESCRIPTION
8 8
9 This man page describes the syntax of the route configuration files of \fBmasqmail (8)\fR. 9 This man page describes the syntax of the route configuration files of \fBmasqmail (8)\fR.
10 Their usual locations are in \fI/etc/masqmail/\fR. 10 Their usual locations are in \fI/etc/masqmail/\fR.
11 11
12 Mail will be sent with the SMTP protocol to its destination, unless
13 `pipe' is given.
14 In this case the message will be piped to the given program.
15 See option `pipe' below.
16
17
12 .SH OPTIONS 18 .SH OPTIONS
13
14 .TP
15 \fBprotocol\fR = \fIstring\fR
16
17 \fIstring\fR can be one of `smtp' or `pipe', default is `smtp'.
18 If set to `smtp', mail will be sent with the SMTP protocol to its destination.
19 If set to `pipe', you also have to set `pipe' to a command, the message will then be piped to a program.
20 See option `pipe' below.
21 19
22 .TP 20 .TP
23 \fBmail_host\fR = \fIstring\fR 21 \fBmail_host\fR = \fIstring\fR
24 22
25 This is preferably the mail server of your ISP. 23 This is preferably the mail server of your ISP.
303 interactively on the command line. 301 interactively on the command line.
304 302
305 .TP 303 .TP
306 \fBpipe\fR = \fIcommand\fR 304 \fBpipe\fR = \fIcommand\fR
307 305
308 If set, and protocol is set to `pipe',
309 \fIcommand\fR will be called and the message will be piped to its stdin. 306 \fIcommand\fR will be called and the message will be piped to its stdin.
310 Purpose is to use gateways to uucp, fax, sms or whatever else. 307 Purpose is to use gateways to uucp, fax, sms or whatever else.
311 308
312 You can use variables to give as arguments to the command, 309 You can use variables to give as arguments to the command,
313 these are the same as for the mda in the main configuration, see \fBmasqmail.conf(5)\fR. 310 these are the same as for the mda in the main configuration, see \fBmasqmail.conf(5)\fR.
314 311
315 .TP 312 .TP
316 \fBpipe_fromline = \fIboolean\fR 313 \fBpipe_fromline = \fIboolean\fR
317 314
318 If this is set, and protocol is set to `pipe', 315 Only if `pipe' is used.
319 a from line will be prepended to the output stream whenever a pipe command is called. 316 A from line will be prepended to the output stream whenever a pipe command is called.
320 Default is false. 317 Default is false.
321 318
322 .TP 319 .TP
323 \fBpipe_fromhack = \fIboolean\fR 320 \fBpipe_fromhack = \fIboolean\fR
324 321
325 If this is set, and protocol is set to `pipe', 322 Only if `pipe' is used.
326 each line beginning with `From ' is replaced with `>From ' whenever a pipe command is called. 323 Each line beginning with `From ' is replaced with `>From ' whenever a pipe command is called.
327 You probably want this if you have set \fBpipe_fromline\fR above. 324 You probably want this if you have set \fBpipe_fromline\fR above.
328 Default is false. 325 Default is false.
329 326
330 327
331 .SH AUTHOR 328 .SH AUTHOR