comparison man/masqmail.conf.5 @ 92:10d00e3235f2

updated docs (online_file, mserver_iface) - the default location of the online_file is /var/run/masqmail/masqmail-route - the online file can and should (!) end with a newline (this once was different) - marked the online detect method `mserver' as obsolete
author meillo@marmaro.de
date Mon, 21 Jun 2010 10:04:36 +0200
parents ed34413652fc
children e01fed4846e4
comparison
equal deleted inserted replaced
91:3e7136221104 92:10d00e3235f2
347 \fBonline_pipe\fR option (see below) and reads the current online status from its standard output. 347 \fBonline_pipe\fR option (see below) and reads the current online status from its standard output.
348 348
349 When it is set to \fBmserver\fR, masqmail connects to the masqdialer server 349 When it is set to \fBmserver\fR, masqmail connects to the masqdialer server
350 using the value of \fBmserver_iface\fR and asks it whether a connection exists and for the name, 350 using the value of \fBmserver_iface\fR and asks it whether a connection exists and for the name,
351 which should be the name of the current connection as defined with \fBconnect_route.\fIname\fR. 351 which should be the name of the current connection as defined with \fBconnect_route.\fIname\fR.
352 \fBThe mserver detection method is OBSOLETE.\fR
353 See mserver_iface for a note on how to replace it.
352 354
353 No matter how masqmail detects the online status, 355 No matter how masqmail detects the online status,
354 only messages that are accepted at online time will be delivered using the connection. 356 only messages that are accepted at online time will be delivered using the connection.
355 The spool still has to be emptied with masqmail \fB\-qo\fIconnection\fR. 357 The spool still has to be emptied with masqmail \fB\-qo\fIconnection\fR.
356 358
359 361
360 This is the name of the file checked for when masqmail determines whether it is online. 362 This is the name of the file checked for when masqmail determines whether it is online.
361 The file should only exist when there is currently a connection. 363 The file should only exist when there is currently a connection.
362 Create it in your ip-up script with e.g. 364 Create it in your ip-up script with e.g.
363 365
364 echo \-n <name> > /var/run/masqmail/masqmail-route 366 echo "connection-name" >/var/run/masqmail/masqmail-route
365 367
366 chmod 0644 /var/run/masqmail/masqmail-route 368 chmod 0644 /var/run/masqmail/masqmail-route
367 369
368 Do not forget to delete it in your ip-down script. 370 Do not forget to delete it in your ip-down script.
369 371
387 Of course, instead of the example above you could as well use \fBfile\fR as 389 Of course, instead of the example above you could as well use \fBfile\fR as
388 the online detection method, but you can do something more sophisticated. 390 the online detection method, but you can do something more sophisticated.
389 391
390 .TP 392 .TP
391 \fBmserver_iface = \fIinterface\fR 393 \fBmserver_iface = \fIinterface\fR
394
395 \fBThis option is OBSOLETE\fP, use
396
397 online_method=pipe
398
399 online_pipe="/usr/bin/mservdetect localhost 222"
400
401 instead.
392 402
393 The interface the masqdialer server is listening to. 403 The interface the masqdialer server is listening to.
394 Usually this will be "localhost:224" if mserver is running on the same host as masqmail. 404 Usually this will be "localhost:224" if mserver is running on the same host as masqmail.
395 But using this option, you can also let masqmail run on another host by setting 405 But using this option, you can also let masqmail run on another host by setting
396 \fBmserver_iface\fR to another hostname, e.g. "foo:224". 406 \fBmserver_iface\fR to another hostname, e.g. "foo:224".