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 wrap: on
line diff
--- a/INSTALL	Mon Jun 21 09:40:16 2010 +0200
+++ b/INSTALL	Mon Jun 21 10:04:36 2010 +0200
@@ -178,15 +178,19 @@
 possibilities:
 
 * if you are using the masqdialer system, you just have to set the
-  variables online_detect to mserver and mserver_iface to the interface
-  mserver is listening to.
+  variables online_detect to pipe and online_pipe to something like
+	/usr/bin/mservdetect localhost 222
+  if mserver is running on localhost and listens on port 222. See the
+  man page to mservdetect(1).
+
 * otherwise you have to add two commands in your ip-up script:
-	echo -n $6 > /tmp/connect_route
-	chmod 644 /tmp/connect_route
-  and you have to remove the file /tmp/connect_route in your ip-down script:
-	rm /tmp/connect_route.
+	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
+  your ip-down script:
+	rm /var/run/masqmail/masqmail-route
   Then you have to set online_detect to file and online_file to
-  /tmp/connect_route.
+  /var/run/masqmail/masqmail-route
 
 See the route documentation for more.