/[gentoo]/xml/htdocs/doc/en/virt-mail-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/virt-mail-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.60 Revision 1.61
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.60 2008/09/28 20:29:25 nightmorph Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.61 2010/10/14 06:11:38 nightmorph Exp $ -->
4 4
5<guide link="/doc/en/virt-mail-howto.xml"> 5<guide>
6<title>Virtual Mailhosting System with Postfix Guide</title> 6<title>Virtual Mailhosting System with Postfix Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="antifa@gentoo.org">Ken Nowack</mail> 9 <mail link="antifa@gentoo.org">Ken Nowack</mail>
10</author> 10</author>
11<author title="Author"> 11<author title="Author">
12 <mail link="ezra@revoltltd.org">Ezra Gorman</mail> 12 <mail link="ezra@revoltltd.org">Ezra Gorman</mail>
13</author> 13</author>
14<author title="Editor"> 14<author title="Editor">
15 <mail link="klasikahl@gentoo.org">Zack Gilburd</mail> 15 <mail link="klasikahl@gentoo.org">Zack Gilburd</mail>
16</author> 16</author>
17<author title="Editor"> 17<author title="Editor">
18 <mail link="seather@scygro.za.net">Scygro</mail> 18 <mail link="seather@scygro.za.net">Scygro</mail>
19</author> 19</author>
20<author title="Editor"> 20<author title="Editor">
21 <mail link="swift@gentoo.org">Sven Vermeulen</mail> 21 <mail link="swift@gentoo.org">Sven Vermeulen</mail>
22</author> 22</author>
23 23
24<abstract> 24<abstract>
25This document details how to create a virtual mailhosting system based upon 25This document details how to create a virtual mailhosting system based upon
26postfix, mysql, courier-imap, and cyrus-sasl. 26postfix, mysql, courier-imap, and cyrus-sasl.
27</abstract> 27</abstract>
28 28
29<version>1.7</version> 29<version>2</version>
30<date>2008-09-28</date> 30<date>2010-10-13</date>
31 31
32<chapter> 32<chapter>
33<title>Introduction</title> 33<title>Introduction</title>
34<section> 34<section>
35<body> 35<body>
36 36
37<p> 37<p>
38For most Gentoo users, a simple mail client and fetchmail will do. However, if 38For most Gentoo users, a simple mail client and fetchmail will do. However, if
39you're hosting a domain with your system, you'll need a full blown MTA (Mail 39you're hosting a domain with your system, you'll need a full blown MTA (Mail
40Transfer Agent). And if you're hosting multiple domains, then you'll definitely 40Transfer Agent). And if you're hosting multiple domains, then you'll definitely
41need something more robust to handle all of the email for your users. This 41need something more robust to handle all of the email for your users. This
42system was designed to be an elegant solution to that problem. 42system was designed to be an elegant solution to that problem.
43</p> 43</p>
44 44
45<p> 45<p>
402</section> 402</section>
403</chapter> 403</chapter>
404 404
405<chapter> 405<chapter>
406<title>The vmail user</title> 406<title>The vmail user</title>
407<section> 407<section>
408<body> 408<body>
409 409
410<p> 410<p>
411Before we set up our virtual mailhosting environment, we create a functional 411Before we set up our virtual mailhosting environment, we create a functional
412user under which the virtual mailboxes will be hosted. For clarity's sake we 412user under which the virtual mailboxes will be hosted. For clarity's sake we
413will call this <e>vmail</e>: 413will call this <e>vmail</e>:
414</p> 414</p>
415 415
416<pre caption="Adding the vmail user"> 416<pre caption="Adding the vmail user">
417# <i>adduser -d /home/vmail -s /bin/false -m vmail</i> 417# <i>useradd -d /home/vmail -s /bin/false -m vmail</i>
418</pre> 418</pre>
419 419
420<p> 420<p>
421So now you've set up the vmail account. You can create multiple accounts if you 421So now you've set up the vmail account. You can create multiple accounts if you
422want (to keep some structure in your set of virtual mail accounts). The user id, 422want (to keep some structure in your set of virtual mail accounts). The user id,
423group id and home dirs are referenced in the MySQL tables. 423group id and home dirs are referenced in the MySQL tables.
424</p> 424</p>
425 425
426<p> 426<p>
427Next to the user account we also need to create the location where the mailboxes 427Next to the user account we also need to create the location where the mailboxes
428will reside: 428will reside:
429</p> 429</p>
430 430
431<pre caption="Creating mailboxes"> 431<pre caption="Creating mailboxes">
432# <i>mkdir -p /home/vmail/virt-domain.com/foo</i> 432# <i>mkdir -p /home/vmail/virt-domain.com/foo</i>

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

  ViewVC Help
Powered by ViewVC 1.1.20