# HG changeset patch # User markus schnalke # Date 1338320029 -7200 # Node ID 4cbaf6d6793fadabb7b52e63bdf3f57f23715bf5 # Parent 8fedb93e9b72d88103b1371b1b3c07cbc0811068 Changed the location of the route query file in the docs. /var/run is for pid files only. diff -r 8fedb93e9b72 -r 4cbaf6d6793f docs/ppp-setup --- a/docs/ppp-setup Wed Feb 29 18:16:50 2012 +0100 +++ b/docs/ppp-setup Tue May 29 21:33:49 2012 +0200 @@ -36,13 +36,13 @@ man page to mservdetect(1). * otherwise you have to add two commands in your ip-up script: - echo "$6" >/var/run/masqmail/masqmail-route - chmod 644 /var/run/masqmail/masqmail-route - and you have to remove the file /var/run/masqmail/masqmail-route in + echo "$6" >/var/tmp/masqmail-route + chmod 644 /var/tmp/masqmail-route + and you have to remove the file /var/tmp/masqmail-route in your ip-down script: - rm /var/run/masqmail/masqmail-route + rm /var/tmp/masqmail-route Then you have to set online_query to - /bin/cat /var/run/masqmail/masqmail-route + /bin/cat /var/tmp/masqmail-route See the route documentation for more. diff -r 8fedb93e9b72 -r 4cbaf6d6793f examples/masqmail.conf --- a/examples/masqmail.conf Wed Feb 29 18:16:50 2012 +0100 +++ b/examples/masqmail.conf Tue May 29 21:33:49 2012 +0200 @@ -18,7 +18,7 @@ # online detection: # # for 'file' uncomment next 2 lines -#online_query = "/bin/cat /var/run/masqmail/masqmail-route" +#online_query = "/bin/cat /var/tmp/masqmail-route" # example for local delivery to an mda: diff -r 8fedb93e9b72 -r 4cbaf6d6793f man/masqmail.conf.5 --- a/man/masqmail.conf.5 Wed Feb 29 18:16:50 2012 +0100 +++ b/man/masqmail.conf.5 Tue May 29 21:33:49 2012 +0200 @@ -470,8 +470,8 @@ .RS 8 .nf #!/bin/sh -test \-e /var/run/masqmail/masqmail-route || exit 1 -cat /var/run/masqmail/masqmail-route +test \-e /var/tmp/masqmail-route || exit 1 +cat /var/tmp/masqmail-route exit 0 .fi .RE