annotate docs/old-manual/install.html @ 91:3e7136221104

correct masqmail path in rmail script; remove docs on uninstall on install the correct path to the masqmail executable gets inserted into the rmail script now. now documentation, examples, and the templates are removed on uninstall. Empty directories are the only thing that may remain if one installs masqmail into an unusual path.
author meillo@marmaro.de
date Mon, 21 Jun 2010 09:40:16 +0200 (2010-06-21)
parents f6a6f55b7b9e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
56
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
1
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
2
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
3
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
4
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
5
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
6
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
7
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
8
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
9 <HTML>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
10 <HEAD>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
11 <TITLE>MasqMail - Manual
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
12 </TITLE>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
13 </HEAD>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
14 <BODY TEXT="#000000" LINK="#0000ff" BGCOLOR="#ffffff">
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
15
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
16 <center>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
17 <table width="80%">
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
18 <tr><td>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
19 <table width="100%" bgcolor="#0000aa" cellspacing=0 cellpadding=0>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
20 <tr>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
21 <td>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
22 <a href="manual.html">
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
23 <img width="20" src = "../images/u_arrow.gif" alt = "manual">
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
24 </a>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
25 </td>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
26 <td align=center width="100%"><font size="6" color = "#ffffff">Installation</font></td>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
27 <td>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
28 <a href="./options.html">
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
29 <img width="20" src = "../images/r_arrow.gif" alt = "Options">
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
30 </a>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
31 </td>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
32 </tr>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
33 </table>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
34
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
35
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
36 <p>You need a user and a group for masqmail to run, I suggest user
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
37 'mail' and group 'trusted'. Say:</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
38
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
39 <pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
40 groupadd -g 42 trusted
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
41 useradd -u 42 -g 42 -d / -s /bin/sh -c "Mail Transfer Agent" mail
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
42 </pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
43
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
44 <p>If you use other names than <i>mail</i> and <i>trusted</i> use the options
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
45 described below for configure. The 42 is just a suggestion, you can
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
46 use any number you like, but preferably one &lt; 100. It does not have
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
47 to be the same for the user 'mail' and the group 'trusted'.</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
48
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
49 <p>Compliling is a matter of the usual procedure:</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
50
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
51 In the source directory, after unpacking do:<br>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
52
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
53 <pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
54 ./configure
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
55 make
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
56 make install
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
57 </pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
58
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
59 <p>Optionally, after you have called make, you can make some tests in
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
60 the tests directory. Read the README in that directory for
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
61 instructions.</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
62
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
63 <h4>Additional options for configure:</h4>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
64
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
65 <p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
66 <b>--with-user=USER</b> sets the user as which MasqMail will run. Default is
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
67 <i>mail</i>. USER has to exist before you 'make install'.
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
68 </p><p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
69 <b>--with-group=GROUP</b> sets the group as which MasqMail will run. Default
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
70 is <i>trusted</i>. GROUP has to exist before you 'make install'.
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
71 </p><p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
72 <b>--with-logdir=LOGDIR</b> sets the directory where MasqMail stores its log
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
73 files. It will be created if it does not exist. Default is /var/masqmail/.
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
74 </p><p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
75 <b>--with-spooldir=SPOOLDIR</b> sets the directory where MasqMail stores its
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
76 spool files. It will be created if it does not exist. Default is
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
77 /var/spool/masqmail/.
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
78 </p><p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
79 <b>--enable-auth</b> enables ESMTP AUTH support (disabled by default)
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
80 </p><p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
81 <b>--disable-pop3</b> disables pop3 support (enabled by default)
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
82 </p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
83
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
84 <h4>After make install</h4>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
85
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
86 <p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
87 You can also use these instructions to omit 'make install' if you do
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
88 not want to use it.
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
89 </p><p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
90 Check that 'make install' worked correctly. The following command:
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
91 </p><p><pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
92 ls -ld /usr/sbin/masqmail /var/masqmail/ /var/spool/masqmail /var/spool/masqmail/input
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
93 </pre></p><p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
94 should give output similar to
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
95 </p><p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
96 <pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
97 -rwsr-xr-x 1 root root 86955 Oct 14 14:27 /usr/sbin/masqmail
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
98 drwxr-xr-x 2 mail trusted 1024 Oct 14 14:29 /var/masqmail/
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
99 drwxr-xr-x 3 mail trusted 1024 Oct 14 14:27 /var/spool/masqmail
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
100 drwxr-xr-x 2 mail trusted 1024 Oct 14 18:32 /var/spool/masqmail/input
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
101 drwxr-xr-x 2 mail trusted 1024 Oct 14 18:32 /var/spool/masqmail/popuidl
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
102 </pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
103 </p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
104 <p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
105 (important is the set-user-id bit for /usr/sbin/masqmail and the
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
106 ownership of all items).
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
107 </p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
108
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
109 <p>Edit the configuration files. You can use the files from the
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
110 examples directory as a template. Copy masqmail.conf to
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
111 /etc/maqmail.conf, the others to the location given in
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
112 masqmail.conf.</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
113
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
114 <p>If you already have an MTA (eg. sendmail) installed, move that to
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
115 another location:</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
116
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
117 mv /usr/sbin/sendmail /usr/sbin/sendmail.orig<br>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
118
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
119 <p>Then make a link to the new MTA:</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
120
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
121 <pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
122 ln -s /usr/sbin/masqmail /usr/sbin/sendmail
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
123 </pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
124
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
125 <p>Now every mailer that used to call sendmail will now call
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
126 masqmail. You can now kill your old sendmail if it is running and
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
127 start masqmail. Usually this is done with the startup scripts. For
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
128 SuSE this would be (as root):</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
129
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
130 <pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
131 /sbin/init.d/sendmail stop
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
132 /sbin/init.d/sendmail start
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
133 </pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
134
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
135 <p>or shorter:</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
136
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
137 <pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
138 /sbin/init.d/sendmail restart<br>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
139 </pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
140
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
141 <p>You can also start it with:</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
142
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
143 <pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
144 /usr/sbin/sendmail -bd -q30m<br>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
145 </pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
146
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
147 <p>You can also let it be called from inetd (with the -bs option), but
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
148 this is untested.</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
149
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
150 <h4>Configuring for online delivery</h4>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
151
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
152 <p>Now you have to set up the online configuration. The trick is to
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
153 tell your ip-up script the connection name. You could use the IP
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
154 number of the far side of the ppp link, but this is a pain and may
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
155 change each time. But you can give it an additional argument via pppd
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
156 with ipparam. Somewhere in your dial up script you have a line similar
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
157 to:</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
158
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
159 <pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
160 /usr/sbin/pppd /dev/ttyS1 connect "/usr/sbin/chat -t 90 -f
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
161 ${CHATFILE}" -d -d -d user user@somewhere file ${OPTIONS}
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
162 </pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
163
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
164 <p>Just add 'ipparam FastNet' in the command line for pppd if your ISP
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
165 has the name FastNet. The ip-up script will then get 'FastNet' as a
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
166 sixth parameter. In your ip-up script you can then call masqmail with</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
167
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
168 <pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
169 /usr/sbin/masqmail -qo $6
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
170 </pre>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
171
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
172 <p>instead of 'sendmail -q', if you had that in the script
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
173 before. Masqmail will then read the route configuration specified for
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
174 the connection name 'FastNet' and deliver the mail destined to the
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
175 internet. See the <a href="config.html">configuration manual</a> on how
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
176 to write a route configuration or use one of the examples as a
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
177 template. <em>I do not know how do configure that for an ISDN adapter,
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
178 but I am sure you will find something similar in the man
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
179 pages.</em></p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
180
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
181 <p>If you want mail that is received by masqmail from your local
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
182 net to be delivered immediately using the route configuration, you
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
183 have two possibilities:<p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
184
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
185 <p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
186 <ul>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
187
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
188 <li>if you are using the masqdialer system, you just have to set the
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
189 variables <b>online_detect</b> to <i>mserver</i> and
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
190 <b>mserver_iface</b> to the interface mserver is listening to.</li>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
191
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
192 <li>otherwise you have to add two commands in your ip-up script:<br>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
193 echo -n $6 &gt; /tmp/connect_route<br> chmod 644 /tmp/connect_route<br>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
194 and you have to remove the file <i>/tmp/connect_route</i> in your
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
195 ip-down script:<br> rm /tmp/connect_route.<br> Then you have to set
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
196 <b>online_detect</b> to <i>file</i> and <b>online_file</b> to
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
197 <i>/tmp/connect_route</i>. </li>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
198
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
199 </ul>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
200 </p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
201
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
202 <p>See the route documentation for more.</p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
203 </td></tr>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
204
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
205 <tr><td>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
206 <p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
207 <hr>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
208 <address><a href = "mailto:kurth@innominate.de">Oliver Kurth</a></address>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
209 Last modified: Tue May 30 15:19:56 CEST 2000
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
210 <br>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
211 This page was created using <a href="http://www.freddyfrog.com/hacks/genpage/">Genpage</a> - Version: 1.0.6
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
212 </p>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
213
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
214 </table>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
215 </center>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
216
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
217 </BODY>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
218 </HEAD>
f6a6f55b7b9e added old manual from the old website
meillo@marmaro.de
parents:
diff changeset
219