Mercurial > masqmail-0.2
comparison 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 |
comparison
equal
deleted
inserted
replaced
91:3e7136221104 | 92:10d00e3235f2 |
---|---|
176 If you want mail that is received by masqmail from your local net to be | 176 If you want mail that is received by masqmail from your local net to be |
177 delivered immediately using the route configuration, you have two | 177 delivered immediately using the route configuration, you have two |
178 possibilities: | 178 possibilities: |
179 | 179 |
180 * if you are using the masqdialer system, you just have to set the | 180 * if you are using the masqdialer system, you just have to set the |
181 variables online_detect to mserver and mserver_iface to the interface | 181 variables online_detect to pipe and online_pipe to something like |
182 mserver is listening to. | 182 /usr/bin/mservdetect localhost 222 |
183 if mserver is running on localhost and listens on port 222. See the | |
184 man page to mservdetect(1). | |
185 | |
183 * otherwise you have to add two commands in your ip-up script: | 186 * otherwise you have to add two commands in your ip-up script: |
184 echo -n $6 > /tmp/connect_route | 187 echo "$6" >/var/run/masqmail/masqmail-route |
185 chmod 644 /tmp/connect_route | 188 chmod 644 /var/run/masqmail/masqmail-route |
186 and you have to remove the file /tmp/connect_route in your ip-down script: | 189 and you have to remove the file /var/run/masqmail/masqmail-route in |
187 rm /tmp/connect_route. | 190 your ip-down script: |
191 rm /var/run/masqmail/masqmail-route | |
188 Then you have to set online_detect to file and online_file to | 192 Then you have to set online_detect to file and online_file to |
189 /tmp/connect_route. | 193 /var/run/masqmail/masqmail-route |
190 | 194 |
191 See the route documentation for more. | 195 See the route documentation for more. |
192 | 196 |
193 | 197 |
194 | 198 |