masqmail

changeset 418:4cbaf6d6793f

Changed the location of the route query file in the docs. /var/run is for pid files only.
author markus schnalke <meillo@marmaro.de>
date Tue, 29 May 2012 21:33:49 +0200
parents 8fedb93e9b72
children d209b4846f2b
files docs/ppp-setup examples/masqmail.conf man/masqmail.conf.5
diffstat 3 files changed, 8 insertions(+), 8 deletions(-) [+]
line diff
     1.1 --- a/docs/ppp-setup	Wed Feb 29 18:16:50 2012 +0100
     1.2 +++ b/docs/ppp-setup	Tue May 29 21:33:49 2012 +0200
     1.3 @@ -36,13 +36,13 @@
     1.4    man page to mservdetect(1).
     1.5  
     1.6  * otherwise you have to add two commands in your ip-up script:
     1.7 -	echo "$6" >/var/run/masqmail/masqmail-route
     1.8 -	chmod 644 /var/run/masqmail/masqmail-route
     1.9 -  and you have to remove the file /var/run/masqmail/masqmail-route in
    1.10 +	echo "$6" >/var/tmp/masqmail-route
    1.11 +	chmod 644 /var/tmp/masqmail-route
    1.12 +  and you have to remove the file /var/tmp/masqmail-route in
    1.13    your ip-down script:
    1.14 -	rm /var/run/masqmail/masqmail-route
    1.15 +	rm /var/tmp/masqmail-route
    1.16    Then you have to set online_query to
    1.17 -	/bin/cat /var/run/masqmail/masqmail-route
    1.18 +	/bin/cat /var/tmp/masqmail-route
    1.19  
    1.20  See the route documentation for more.
    1.21  
     2.1 --- a/examples/masqmail.conf	Wed Feb 29 18:16:50 2012 +0100
     2.2 +++ b/examples/masqmail.conf	Tue May 29 21:33:49 2012 +0200
     2.3 @@ -18,7 +18,7 @@
     2.4  # online detection:
     2.5  #
     2.6  # for 'file' uncomment next 2 lines
     2.7 -#online_query = "/bin/cat /var/run/masqmail/masqmail-route"
     2.8 +#online_query = "/bin/cat /var/tmp/masqmail-route"
     2.9  
    2.10  
    2.11  # example for local delivery to an mda:
     3.1 --- a/man/masqmail.conf.5	Wed Feb 29 18:16:50 2012 +0100
     3.2 +++ b/man/masqmail.conf.5	Tue May 29 21:33:49 2012 +0200
     3.3 @@ -470,8 +470,8 @@
     3.4  .RS 8
     3.5  .nf
     3.6  #!/bin/sh
     3.7 -test \-e /var/run/masqmail/masqmail-route || exit 1
     3.8 -cat /var/run/masqmail/masqmail-route
     3.9 +test \-e /var/tmp/masqmail-route || exit 1
    3.10 +cat /var/tmp/masqmail-route
    3.11  exit 0
    3.12  .fi
    3.13  .RE