comparison man/masqmail.route.5 @ 180:1472a6a73b1c

do *not* use the openssl option -crlf in a wrapper command see masqmail.route(5) for details
author meillo@marmaro.de
date Wed, 14 Jul 2010 17:10:28 +0200
parents 15b3c71254cb
children dc89737b27aa
comparison
equal deleted inserted replaced
179:3190e6864452 180:1472a6a73b1c
265 \fIcommand\fR will be called and all traffic will be piped to its stdin and from its stdout. 265 \fIcommand\fR will be called and all traffic will be piped to its stdin and from its stdout.
266 Purpose is to tunnel ip traffic, eg. for ssl. 266 Purpose is to tunnel ip traffic, eg. for ssl.
267 267
268 Example for ssl tunneling: 268 Example for ssl tunneling:
269 269
270 wrapper="/usr/bin/openssl s_client \-quiet \-crlf \-connect mail.gmx.net:465 2>/dev/null" 270 wrapper="/usr/bin/openssl s_client \-quiet \-connect mail.gmx.net:465 2>/dev/null"
271 271
272 Note: The above line works with masqmail, 272 Note: The above line works with masqmail,
273 but listening on Port 465 for SSL-encrypted connections is deprecated. 273 but listening on Port 465 for SSL-encrypted connections is deprecated.
274 The modern way is STARTTLS (RFC-3207). 274 The modern way is STARTTLS (RFC-3207).
275 This could be covered by the following command. 275 This could be covered by the following command.
276 Unfortunately, masqmail doesn't support that yet (as of 0.2.25). 276 Unfortunately, masqmail doesn't support that yet (as of 0.2.25).
277 277
278 wrapper="/usr/bin/openssl s_client \-quiet \-crlf \-starttls smtp \-connect mail.gmx.net:25 2>/dev/null" 278 wrapper="/usr/bin/openssl s_client \-quiet \-starttls smtp \-connect mail.gmx.net:25 2>/dev/null"
279
280 Note for openssl:
281 Ensure that stderr is redirected.
282 Do *not* use \-crlf in the wrapper command, because masqmail does already insert CRLF.
283 However, you might want to specify \-crlf if you want to test your wrapper command
284 interactively on the command line.
279 285
280 .TP 286 .TP
281 \fBpipe\fR = \fIcommand\fR 287 \fBpipe\fR = \fIcommand\fR
282 288
283 If set, and protocol is set to `pipe', 289 If set, and protocol is set to `pipe',