Mercurial > masqmail
comparison docs/ppp-setup @ 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 | f10a56dc7481 |
children |
comparison
equal
deleted
inserted
replaced
417:8fedb93e9b72 | 418:4cbaf6d6793f |
---|---|
34 /usr/bin/mservdetect localhost 224 | 34 /usr/bin/mservdetect localhost 224 |
35 if mserver is running on localhost and listens on port 224. See the | 35 if mserver is running on localhost and listens on port 224. See the |
36 man page to mservdetect(1). | 36 man page to mservdetect(1). |
37 | 37 |
38 * otherwise you have to add two commands in your ip-up script: | 38 * otherwise you have to add two commands in your ip-up script: |
39 echo "$6" >/var/run/masqmail/masqmail-route | 39 echo "$6" >/var/tmp/masqmail-route |
40 chmod 644 /var/run/masqmail/masqmail-route | 40 chmod 644 /var/tmp/masqmail-route |
41 and you have to remove the file /var/run/masqmail/masqmail-route in | 41 and you have to remove the file /var/tmp/masqmail-route in |
42 your ip-down script: | 42 your ip-down script: |
43 rm /var/run/masqmail/masqmail-route | 43 rm /var/tmp/masqmail-route |
44 Then you have to set online_query to | 44 Then you have to set online_query to |
45 /bin/cat /var/run/masqmail/masqmail-route | 45 /bin/cat /var/tmp/masqmail-route |
46 | 46 |
47 See the route documentation for more. | 47 See the route documentation for more. |
48 | 48 |
49 | 49 |
50 written by oku | 50 written by oku |