masqmail-0.2
diff INSTALL @ 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 | 941413084f56 |
children | dbe3dadd1afe |
line diff
1.1 --- a/INSTALL Mon Jun 21 09:40:16 2010 +0200 1.2 +++ b/INSTALL Mon Jun 21 10:04:36 2010 +0200 1.3 @@ -178,15 +178,19 @@ 1.4 possibilities: 1.5 1.6 * if you are using the masqdialer system, you just have to set the 1.7 - variables online_detect to mserver and mserver_iface to the interface 1.8 - mserver is listening to. 1.9 + variables online_detect to pipe and online_pipe to something like 1.10 + /usr/bin/mservdetect localhost 222 1.11 + if mserver is running on localhost and listens on port 222. See the 1.12 + man page to mservdetect(1). 1.13 + 1.14 * otherwise you have to add two commands in your ip-up script: 1.15 - echo -n $6 > /tmp/connect_route 1.16 - chmod 644 /tmp/connect_route 1.17 - and you have to remove the file /tmp/connect_route in your ip-down script: 1.18 - rm /tmp/connect_route. 1.19 + echo "$6" >/var/run/masqmail/masqmail-route 1.20 + chmod 644 /var/run/masqmail/masqmail-route 1.21 + and you have to remove the file /var/run/masqmail/masqmail-route in 1.22 + your ip-down script: 1.23 + rm /var/run/masqmail/masqmail-route 1.24 Then you have to set online_detect to file and online_file to 1.25 - /tmp/connect_route. 1.26 + /var/run/masqmail/masqmail-route 1.27 1.28 See the route documentation for more. 1.29