Mercurial > 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 wrap: on
line diff
--- 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.
--- 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:
--- 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