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 diff
1.1 --- a/docs/ppp-setup Sun Apr 24 19:02:09 2011 +0200 1.2 +++ b/docs/ppp-setup Sun Apr 24 19:14:38 2011 +0200 1.3 @@ -29,8 +29,8 @@ 1.4 delivered immediately using the route configuration, you have two 1.5 possibilities: 1.6 1.7 -* if you are using the masqdialer system, you just have to set the 1.8 - variables online_detect to pipe and online_pipe to something like 1.9 +* if you are using the masqdialer system, you just have to set 1.10 + online_query to something like 1.11 /usr/bin/mservdetect localhost 224 1.12 if mserver is running on localhost and listens on port 224. See the 1.13 man page to mservdetect(1). 1.14 @@ -41,8 +41,8 @@ 1.15 and you have to remove the file /var/run/masqmail/masqmail-route in 1.16 your ip-down script: 1.17 rm /var/run/masqmail/masqmail-route 1.18 - Then you have to set online_detect to file and online_file to 1.19 - /var/run/masqmail/masqmail-route 1.20 + Then you have to set online_query to 1.21 + /bin/cat /var/run/masqmail/masqmail-route 1.22 1.23 See the route documentation for more. 1.24