Mercurial > masqmail
diff docs/ppp-setup @ 310:f10a56dc7481
reworked online_detect to the simpler online_query
Only pipe is supported now. Use
online_query="/bin/cat /path/to/file"
instead of
online_detect=file
online_file=/path/to/file
and
online_query="/path/to/some/script foo"
instead of
online_detect=pipe
online_pipe="/path/to/some/script foo"
See man page masqmail.conf(5) and admin/config-transition.
author | meillo@marmaro.de |
---|---|
date | Sun, 24 Apr 2011 19:14:38 +0200 |
parents | 0ef0f756280b |
children | 4cbaf6d6793f |
line wrap: on
line diff
--- a/docs/ppp-setup Sun Apr 24 19:02:09 2011 +0200 +++ b/docs/ppp-setup Sun Apr 24 19:14:38 2011 +0200 @@ -29,8 +29,8 @@ delivered immediately using the route configuration, you have two possibilities: -* if you are using the masqdialer system, you just have to set the - variables online_detect to pipe and online_pipe to something like +* if you are using the masqdialer system, you just have to set + online_query to something like /usr/bin/mservdetect localhost 224 if mserver is running on localhost and listens on port 224. See the man page to mservdetect(1). @@ -41,8 +41,8 @@ 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 - /var/run/masqmail/masqmail-route + Then you have to set online_query to + /bin/cat /var/run/masqmail/masqmail-route See the route documentation for more.