Mercurial > debian > masqmail-debian
comparison README.online @ 25:8923fa06a2b7 0.2.21-6
renamed MasqMail to Masqmail
author | meillo@marmaro.de |
---|---|
date | Sun, 24 May 2009 20:37:24 +0200 |
parents | 9a453b386f33 |
children |
comparison
equal
deleted
inserted
replaced
24:ec40e54a1889 | 25:8923fa06a2b7 |
---|---|
11 ippparam arcor | 11 ippparam arcor |
12 | 12 |
13 If this is set, $IPPARAM will be written to a 'route' file. Using some | 13 If this is set, $IPPARAM will be written to a 'route' file. Using some |
14 awk magic, the scripts finds out which file you have defined for | 14 awk magic, the scripts finds out which file you have defined for |
15 online detection (if online_detect=file) and writes the value of | 15 online detection (if online_detect=file) and writes the value of |
16 $IPPARAM to this file. masqmail then uses this file to determine its | 16 $IPPARAM to this file. Masqmail then uses this file to determine its |
17 online status. | 17 online status. |
18 | 18 |
19 | 19 |
20 /etc/network/interfaces | 20 /etc/network/interfaces |
21 ----------------------- | 21 ----------------------- |
22 | 22 |
23 You can use the /etc/network/interfaces script to tell masqmail | 23 You can use the /etc/network/interfaces script to tell Masqmail |
24 when a link goes up, and masqmail shall flush its queue and/or fetch mail. | 24 when a link goes up, and Masqmail shall flush its queue and/or fetch mail. |
25 | 25 |
26 This is an example for a static interface: | 26 This is an example for a static interface: |
27 | 27 |
28 iface eth0 inet static | 28 iface eth0 inet static |
29 # mroute/name used by ip-up.d/masqmail BDL May02 | 29 # mroute/name used by ip-up.d/masqmail BDL May02 |
32 netmask 255.255.255.0 | 32 netmask 255.255.255.0 |
33 gateway 130.130.10.254 | 33 gateway 130.130.10.254 |
34 | 34 |
35 (This example is from Ben Low. Thanks, Ben :-)) | 35 (This example is from Ben Low. Thanks, Ben :-)) |
36 | 36 |
37 If you use masqmail on a notebook, you can define several interfaces, | 37 If you use Masqmail on a notebook, you can define several interfaces, |
38 depending on the network you are in. Read | 38 depending on the network you are in. Read |
39 /usr/share/doc/ifupdown/examples/interfaces.gz | 39 /usr/share/doc/ifupdown/examples/interfaces.gz |
40 for examples. | 40 for examples. |
41 | 41 |
42 The scripts /etc/network/if-{up,down}.d/1masqmail make use of the NAME | 42 The scripts /etc/network/if-{up,down}.d/1masqmail make use of the NAME |
81 online_detect=pipe | 81 online_detect=pipe |
82 online_pipe="/usr/bin/mservdetect 192.168.1.2 224" | 82 online_pipe="/usr/bin/mservdetect 192.168.1.2 224" |
83 # | 83 # |
84 | 84 |
85 This is useful if you have a gateway with masqdialer running | 85 This is useful if you have a gateway with masqdialer running |
86 and masqmail on another host behind ('behind' as seen from the internet) | 86 and Masqmail on another host behind ('behind' as seen from the internet) |
87 | 87 |
88 Note: | 88 Note: |
89 The online detect method 'mserver' is deprecated, and this debian | 89 The online detect method 'mserver' is deprecated, and this debian |
90 package comes with that option disabled. You can still recompile the | 90 package comes with that option disabled. You can still recompile the |
91 package with the ./configure option --enable-mserver, but this may be | 91 package with the ./configure option --enable-mserver, but this may be |
92 removed in future version of masqmail. | 92 removed in future version of Masqmail. |