1 |
nightmorph 07/03/07 21:30:18 |
2 |
|
3 |
Modified: home-router-howto.xml qmail-howto.xml |
4 |
Log: |
5 |
qmail --> netqmail migration, bug 165874 |
6 |
|
7 |
Revision Changes Path |
8 |
1.56 xml/htdocs/doc/en/home-router-howto.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/home-router-howto.xml?rev=1.56&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/home-router-howto.xml?rev=1.56&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/home-router-howto.xml?r1=1.55&r2=1.56 |
13 |
|
14 |
Index: home-router-howto.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v |
17 |
retrieving revision 1.55 |
18 |
retrieving revision 1.56 |
19 |
diff -u -r1.55 -r1.56 |
20 |
--- home-router-howto.xml 28 Jan 2007 22:36:37 -0000 1.55 |
21 |
+++ home-router-howto.xml 7 Mar 2007 21:30:18 -0000 1.56 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version='1.0' encoding='UTF-8'?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.55 2007/01/28 22:36:37 vapier Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.56 2007/03/07 21:30:18 nightmorph Exp $ --> |
27 |
|
28 |
<guide link="/doc/en/home-router-howto.xml" lang="en"> |
29 |
<title>Home Router Guide</title> |
30 |
@@ -17,8 +17,8 @@ |
31 |
<!-- The content of this document is released into the public domain --> |
32 |
<license/> |
33 |
|
34 |
-<version>1.34</version> |
35 |
-<date>2007-01-28</date> |
36 |
+<version>1.35</version> |
37 |
+<date>2007-03-07</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Introduction</title> |
41 |
@@ -793,9 +793,9 @@ |
42 |
</p> |
43 |
|
44 |
<pre caption="Setting up SMTP"> |
45 |
-# <i>emerge qmail</i> |
46 |
+# <i>emerge netqmail</i> |
47 |
<comment>make sure the output of `hostname` is correct</comment> |
48 |
-# <i>ebuild /var/db/pkg/*-*/qmail-1.03-r*/*.ebuild config</i> |
49 |
+# <i>emerge --config netqmail</i> |
50 |
# <i>iptables -I INPUT -p tcp --dport smtp -i ! ${LAN} -j REJECT</i> |
51 |
# <i>ln -s /var/qmail/supervise/qmail-send /service/qmail-send</i> |
52 |
# <i>ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd</i> |
53 |
@@ -816,10 +816,10 @@ |
54 |
</pre> |
55 |
|
56 |
<p> |
57 |
-I'm a huge fan of qmail, but you're free to use a different mta :). When you |
58 |
+I'm a huge fan of netqmail, but you're free to use a different mta :). When you |
59 |
setup e-mail on the hosts in your network, tell them that their SMTP server is |
60 |
192.168.0.1 and everything should be peachy. You might want to visit the <uri |
61 |
-link="http://qmail.org/">qmail homepage</uri> for more documentation. |
62 |
+link="http://netqmail.org/">netqmail homepage</uri> for more documentation. |
63 |
</p> |
64 |
|
65 |
</body> |
66 |
|
67 |
|
68 |
|
69 |
1.38 xml/htdocs/doc/en/qmail-howto.xml |
70 |
|
71 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/qmail-howto.xml?rev=1.38&view=markup |
72 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/qmail-howto.xml?rev=1.38&content-type=text/plain |
73 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/qmail-howto.xml?r1=1.37&r2=1.38 |
74 |
|
75 |
Index: qmail-howto.xml |
76 |
=================================================================== |
77 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/qmail-howto.xml,v |
78 |
retrieving revision 1.37 |
79 |
retrieving revision 1.38 |
80 |
diff -u -r1.37 -r1.38 |
81 |
--- qmail-howto.xml 18 Jun 2006 22:40:51 -0000 1.37 |
82 |
+++ qmail-howto.xml 7 Mar 2007 21:30:18 -0000 1.38 |
83 |
@@ -1,24 +1,24 @@ |
84 |
<?xml version='1.0' encoding='UTF-8'?> |
85 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/qmail-howto.xml,v 1.37 2006/06/18 22:40:51 nightmorph Exp $ --> |
86 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/qmail-howto.xml,v 1.38 2007/03/07 21:30:18 nightmorph Exp $ --> |
87 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
88 |
|
89 |
<guide link="/doc/en/qmail-howto.xml"> |
90 |
|
91 |
-<title>qmail/vpopmail Virtual Mail Hosting System Guide</title> |
92 |
+<title>netqmail/vpopmail Virtual Mail Hosting System Guide</title> |
93 |
|
94 |
<author title="Author"> |
95 |
<mail link="vapier@g.o">Mike Frysinger</mail> |
96 |
</author> |
97 |
|
98 |
<abstract> |
99 |
-This document details how to create a mail hosting system based upon qmail, |
100 |
+This document details how to create a mail hosting system based upon netqmail, |
101 |
vpopmail, courier-imap, mysql, and horde's imp. |
102 |
</abstract> |
103 |
|
104 |
<license/> |
105 |
|
106 |
-<version>1.13</version> |
107 |
-<date>2006-06-18</date> |
108 |
+<version>1.14</version> |
109 |
+<date>2007-03-07</date> |
110 |
|
111 |
<chapter> |
112 |
<title>Introduction</title> |
113 |
@@ -26,16 +26,16 @@ |
114 |
<body> |
115 |
|
116 |
<p> |
117 |
-Whether you're providing e-mail for just system daemons, a single server, a |
118 |
-domain, or for many virtual domains, qmail can easily be setup to handle your |
119 |
-needs. This guide will help you setup qmail for all of these scenarios with a |
120 |
+Whether you're providing e-mail for just system daemons, a single server, a |
121 |
+domain, or for many virtual domains, netqmail can easily be setup to handle your |
122 |
+needs. This guide will help you setup netqmail for all of these scenarios with a |
123 |
focus on remote access and encrypted communications the whole way through. |
124 |
</p> |
125 |
|
126 |
<p> |
127 |
-Specifically, the packages this guide will help you with are qmail, |
128 |
-courier-imap, vpopmail, and horde/imp. These core packages will also bring in |
129 |
-daemontools, ucspi-tcp, mysql, apache, and mod_php. qmail provides the core |
130 |
+Specifically, the packages this guide will help you with are netqmail, |
131 |
+courier-imap, vpopmail, and horde/imp. These core packages will also bring in |
132 |
+daemontools, ucspi-tcp, mysql, apache, and mod_php. netqmail provides the core |
133 |
mta functions, courier-imap provides remote retrieval services, vpopmail |
134 |
provides virtual domain management, and horde/imp provides webmail access. |
135 |
</p> |
136 |
@@ -54,13 +54,13 @@ |
137 |
</note> |
138 |
|
139 |
<p> |
140 |
-The last step of course is to commit yourself to the qmail system. There are |
141 |
-many other packages with which you could build your e-mail system. Now is |
142 |
-the time to research and decide that qmail is for you. We have another <uri |
143 |
-link="virt-mail-howto.xml">lovely guide</uri> centered around <uri |
144 |
-link="http://www.postfix.org/">Postfix</uri>, or you could look into <uri |
145 |
-link="http://www.exim.org/">exim</uri>. It's up to you to choose the best |
146 |
-solution for yourself; it is up to us to show you how to use qmail. |
147 |
+The last step of course is to commit yourself to the netqmail system. There are |
148 |
+many other packages with which you could build your e-mail system. Now is the |
149 |
+time to research and decide that netqmail is for you. We have another <uri |
150 |
+link="virt-mail-howto.xml">lovely guide</uri> centered around <uri |
151 |
+link="http://www.postfix.org/">Postfix</uri>, or you could look into <uri |
152 |
+link="http://www.exim.org/">exim</uri>. It's up to you to choose the best |
153 |
+solution for yourself; it is up to us to show you how to use netqmail. |
154 |
</p> |
155 |
|
156 |
</body> |
157 |
@@ -68,16 +68,16 @@ |
158 |
</chapter> |
159 |
|
160 |
<chapter> |
161 |
-<title>qmail (talking to myself)</title> |
162 |
+<title>netqmail (talking to myself)</title> |
163 |
<section> |
164 |
<body> |
165 |
|
166 |
-<pre caption="Emerge qmail"> |
167 |
-# <i>emerge mail-mta/qmail</i> |
168 |
+<pre caption="Emerge netqmail"> |
169 |
+# <i>emerge mail-mta/netqmail</i> |
170 |
</pre> |
171 |
|
172 |
<impo> |
173 |
-This guide is designed around qmail-1.03-r13 or later. Will it work with |
174 |
+This guide is designed around netqmail-1.05-r4 or later. Will it work with |
175 |
earlier versions? Maybe. Should you upgrade? Yes, if you want to be sure this |
176 |
guide will work. |
177 |
</impo> |
178 |
@@ -85,33 +85,33 @@ |
179 |
<warn> |
180 |
If you get a message like <c>the virtual/mta package conflicts with another |
181 |
package</c> then you need to make sure to unmerge the other MTA on your system. |
182 |
-To figure out what package that is, just run <c>emerge qmail -p</c>. |
183 |
+To figure out what package that is, just run <c>emerge netqmail -p</c>. |
184 |
</warn> |
185 |
|
186 |
<p> |
187 |
-Emerging qmail will also emerge ucspi-tcp and daemontools. You can read up on |
188 |
-<uri link="http://cr.yp.to/ucspi-tcp.html">ucspi-tcp</uri> and on <uri |
189 |
-link="http://cr.yp.to/daemontools.html">daemontools</uri> if you like. |
190 |
-Basically, daemontools is responsible for managing qmail as a service while |
191 |
-ucspi-tcp is responsible for managing the incoming TCP connections to the |
192 |
-qmail service. |
193 |
+Emerging netqmail will also emerge ucspi-tcp and daemontools. You can read up |
194 |
+on <uri link="http://cr.yp.to/ucspi-tcp.html">ucspi-tcp</uri> and on <uri |
195 |
+link="http://cr.yp.to/daemontools.html">daemontools</uri> if you like. |
196 |
+Basically, daemontools is responsible for managing netqmail as a service while |
197 |
+ucspi-tcp is responsible for managing the incoming TCP connections to the |
198 |
+netqmail service. |
199 |
</p> |
200 |
|
201 |
<p> |
202 |
First we have a few post-install configuration steps. |
203 |
</p> |
204 |
|
205 |
-<pre caption="Out-of-the-box setup for qmail"> |
206 |
+<pre caption="Out-of-the-box setup for netqmail"> |
207 |
<comment>(Customize to fit your personal information)</comment> |
208 |
# <i>nano /var/qmail/control/servercert.cnf</i> |
209 |
-# <i>ebuild /var/db/pkg/mail-mta/qmail-1.03-r*/qmail-1.03-r*.ebuild config</i> |
210 |
+# <i>emerge --config netqmail</i> |
211 |
</pre> |
212 |
|
213 |
<p> |
214 |
-The design of qmail has been completely around the focus of security. To this |
215 |
-end, e-mail is never sent to the user 'root'. So now you have to select a user |
216 |
-on your machine to receive mail that would normally be destined for 'root'. |
217 |
-From now on in this guide, I will refer to that user as I have it in my setup, |
218 |
+The design of netqmail has been completely around the focus of security. To |
219 |
+this end, e-mail is never sent to the user 'root'. So now you have to select a |
220 |
+user on your machine to receive mail that would normally be destined for 'root'. |
221 |
+From now on in this guide, I will refer to that user as I have it in my setup, |
222 |
'vapier'. |
223 |
</p> |
224 |
|
225 |
@@ -123,10 +123,10 @@ |
226 |
</pre> |
227 |
|
228 |
<p> |
229 |
-Now we want to get the qmail delivery service up and running. |
230 |
+Now we want to get the netqmail delivery service up and running. |
231 |
</p> |
232 |
|
233 |
-<pre caption="Start qmail delivery service"> |
234 |
+<pre caption="Start netqmail delivery service"> |
235 |
# <i>rc-update add svscan default</i> |
236 |
# <i>/etc/init.d/svscan start</i> |
237 |
# <i>cd /service</i> |
238 |
@@ -134,7 +134,7 @@ |
239 |
</pre> |
240 |
|
241 |
<p> |
242 |
-We want to make sure qmail is working correctly, so here's a quick test. |
243 |
+We want to make sure netqmail is working correctly, so here's a quick test. |
244 |
</p> |
245 |
|
246 |
<pre caption="Test delivery service"> |
247 |
@@ -161,12 +161,12 @@ |
248 |
<warn> |
249 |
If you don't receive any mail or you see weird errors in the log files (check |
250 |
<path>/var/log/qmail/</path>) involving 'localhost.localhost', then that means |
251 |
-your domain/dns information is not setup properly. By default, qmail utilizes |
252 |
-the output of <c>hostname --fqdn</c>. If, on your machine, this returns |
253 |
-'localhost', then check your <path>/etc/conf.d/hostname</path>, |
254 |
+your domain/dns information is not setup properly. By default, netqmail |
255 |
+utilizes the output of <c>hostname --fqdn</c>. If, on your machine, this |
256 |
+returns 'localhost', then check your <path>/etc/conf.d/hostname</path>, |
257 |
<path>/etc/hosts</path>, and your dns to make sure everything is correct. Once |
258 |
-you have, edit the configuration files in <path>/var/qmail/control/</path>. |
259 |
-Use the example setups that follow if you need some more help. |
260 |
+you have, edit the configuration files in <path>/var/qmail/control/</path>. Use |
261 |
+the example setups that follow if you need some more help. |
262 |
</warn> |
263 |
|
264 |
<pre caption="Example /var/qmail/control/ files for a 2nd level domain"> |
265 |
@@ -280,7 +280,7 @@ |
266 |
Every domain that vpopmail creates comes with a 'postmaster' account. Here we |
267 |
told vpopmail that the password for the postmaster account is 'postpass'. |
268 |
Before vpopmail can be truly useful, we'll need to be able to receive mail |
269 |
-via courier and send mail via qmail and SMTP. |
270 |
+via courier and send mail via netqmail and SMTP. |
271 |
</p> |
272 |
|
273 |
</body> |
274 |
@@ -345,7 +345,7 @@ |
275 |
</chapter> |
276 |
|
277 |
<chapter> |
278 |
-<title>qmail (talking to the world)</title> |
279 |
+<title>netqmail (talking to the world)</title> |
280 |
<section> |
281 |
<body> |
282 |
|
283 |
@@ -354,7 +354,7 @@ |
284 |
hole for people to abuse. |
285 |
</p> |
286 |
|
287 |
-<pre caption="Start qmail SMTP service"> |
288 |
+<pre caption="Start netqmail SMTP service"> |
289 |
# <i>cd /var/qmail/control/</i> |
290 |
# <i>nano conf-smtpd</i> |
291 |
<comment>(Uncomment the SMTP-AUTH variables and set QMAIL_SMTP_CHECKPASSWORD to /var/vpopmail/bin/vchkpw)</comment> |
292 |
@@ -367,14 +367,14 @@ |
293 |
</pre> |
294 |
|
295 |
<p> |
296 |
-Assuming you haven't tweaked the qmail control files at all, qmail will now |
297 |
-accept mail for the wh0rd.org virtual domain and for users of the local machine. |
298 |
-Furthermore, qmail will relay mail for anyone who sends via 127.0.0.1 and for |
299 |
-anyone who is able to authenticate with vpopmail. When you setup your mail |
300 |
-client to send mail, make sure you select options like 'Server requires |
301 |
-authentication'. In my case, I set the user as 'vapier@×××××.org' and my |
302 |
-password as 'vappw'. The last detail is to make sure you tell your mail |
303 |
-client to use SSL/TLS for SMTP communication. qmail will not let you |
304 |
+Assuming you haven't tweaked the netqmail control files at all, netqmail will |
305 |
+now accept mail for the wh0rd.org virtual domain and for users of the local |
306 |
+machine. Furthermore, netqmail will relay mail for anyone who sends via |
307 |
+127.0.0.1 and for anyone who is able to authenticate with vpopmail. When you |
308 |
+setup your mail client to send mail, make sure you select options like 'Server |
309 |
+requires authentication'. In my case, I set the user as 'vapier@×××××.org' and |
310 |
+my password as 'vappw'. The last detail is to make sure you tell your mail |
311 |
+client to use SSL/TLS for SMTP communication. netqmail will not let you |
312 |
authenticate if the session is not encrypted. |
313 |
</p> |
314 |
|
315 |
@@ -528,10 +528,10 @@ |
316 |
<body> |
317 |
|
318 |
<p> |
319 |
-If you run into problems with qmail queues and have a hard time debugging the |
320 |
-situation, you may want to look into <uri |
321 |
-link="http://qmhandle.sourceforge.net/">qmHandle</uri>. It's a simple perl |
322 |
-program which allows you to view and manage the qmail message queue. Again, |
323 |
+If you run into problems with netqmail queues and have a hard time debugging the |
324 |
+situation, you may want to look into <uri |
325 |
+link="http://qmhandle.sourceforge.net/">qmHandle</uri>. It's a simple perl |
326 |
+program which allows you to view and manage the netqmail message queue. Again, |
327 |
all you need to do is <c>emerge net-mail/qmhandle</c>. |
328 |
</p> |
329 |
|
330 |
@@ -559,16 +559,16 @@ |
331 |
<body> |
332 |
|
333 |
<p> |
334 |
-qmail utilizes ucspi-tcp to handle the incoming connections for qmail. If you |
335 |
-wish to customize these filtering rules, then see the configuration files in |
336 |
-<path>/etc/tcprules.d/</path> (older versions of qmail put the files in /etc). |
337 |
-There you'll find two files for each service, the configuration file (i.e. |
338 |
-tcp.qmail-smtp) and the compiled version of this file that ucspi-tcp uses |
339 |
-(i.e. tcp.qmail-smtp.cdb). Whenever you update the configuration file, you'll |
340 |
-have to rebuild the binary version of it. Just run <c>tcprules |
341 |
-tcp.qmail-smtp.cdb tcp.qmail-smtp.tmp < tcp.qmail-smtp</c>. Every time a |
342 |
-connection is made to the qmail service, the compiled rules file is re-read, |
343 |
-so there's no need to restart the service. |
344 |
+netqmail utilizes ucspi-tcp to handle the incoming connections for netqmail. If |
345 |
+you wish to customize these filtering rules, then see the configuration files in |
346 |
+<path>/etc/tcprules.d/</path> (older versions put files in <path>/etc</path>). |
347 |
+There you'll find two files for each service, the configuration file (i.e. |
348 |
+tcp.qmail-smtp) and the compiled version of this file that ucspi-tcp uses (i.e. |
349 |
+tcp.qmail-smtp.cdb). Whenever you update the configuration file, you'll have to |
350 |
+rebuild the binary version of it. Just run <c>tcprules tcp.qmail-smtp.cdb |
351 |
+tcp.qmail-smtp.tmp < tcp.qmail-smtp</c>. Every time a connection is made to |
352 |
+the netqmail service, the compiled rules file is re-read, so there's no need to |
353 |
+restart the service. |
354 |
</p> |
355 |
|
356 |
</body> |
357 |
@@ -699,7 +699,7 @@ |
358 |
please contact <mail link="vapier@g.o">me</mail> or file a bug with |
359 |
<uri link="http://bugs.gentoo.org/">Gentoo's Bugtracking Website</uri>. If |
360 |
you have some interesting bits you think would enhance this guide, by all means |
361 |
-send it my way for inclusion. I love qmail and would gladly add stuff that |
362 |
+send it my way for inclusion. I love netqmail and would gladly add stuff that |
363 |
could possibly enhance a user's experience with the mta. |
364 |
</p> |
365 |
|
366 |
|
367 |
|
368 |
|
369 |
-- |
370 |
gentoo-doc-cvs@g.o mailing list |