/[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.64
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.64 2012/07/24 12:12:51 swift 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>
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<author title="Editor">
24 <mail link="nightmorph"/>
25</author>
23 26
24<abstract> 27<abstract>
25This document details how to create a virtual mailhosting system based upon 28This document details how to create a virtual mailhosting system based upon
26postfix, mysql, courier-imap, and cyrus-sasl. 29postfix, mysql, courier-imap, and cyrus-sasl.
27</abstract> 30</abstract>
28 31
29<version>1.7</version> 32<version>4</version>
30<date>2008-09-28</date> 33<date>2012-07-24</date>
31 34
32<chapter> 35<chapter>
33<title>Introduction</title> 36<title>Introduction</title>
34<section> 37<section>
35<body> 38<body>
74courier-authlib postfix, mod_php, phpmyadmin, squirrelmail, cyrus-sasl, mysql, 77courier-authlib postfix, mod_php, phpmyadmin, squirrelmail, cyrus-sasl, mysql,
75php, and mailman. 78php, and mailman.
76</p> 79</p>
77 80
78<p> 81<p>
79Make sure to turn on the following USE variables in <path>/etc/make.conf</path> 82Make sure to turn on the following USE variables in <path>/etc/portage/make.conf</path>
80before compiling the packages: <c>USE="mysql imap libwww maildir 83before compiling the packages: <c>USE="mysql imap libwww maildir
81sasl ssl"</c>. Otherwise you will most likely have to recompile things to 84sasl ssl"</c>. Otherwise you will most likely have to recompile things to
82get the support you need for all the protocols. Further, it's a good idea to 85get the support you need for all the protocols. Further, it's a good idea to
83turn off any other mail and network variables, like ipv6. 86turn off any other mail and network variables, like ipv6.
84</p> 87</p>
323 326
324<pre caption="/etc/postfix/main.cf"> 327<pre caption="/etc/postfix/main.cf">
325# <i>nano -w /etc/postfix/main.cf</i> 328# <i>nano -w /etc/postfix/main.cf</i>
326 329
327smtpd_sasl_auth_enable = yes 330smtpd_sasl_auth_enable = yes
328smtpd_sasl2_auth_enable = yes
329smtpd_sasl_security_options = noanonymous 331smtpd_sasl_security_options = noanonymous
330broken_sasl_auth_clients = yes 332broken_sasl_auth_clients = yes
331smtpd_sasl_local_domain = 333smtpd_sasl_local_domain =
332 334
333<comment>(The broken_sasl_auth_clients option and the login auth method 335<comment>(The broken_sasl_auth_clients option and the login auth method
412user under which the virtual mailboxes will be hosted. For clarity's sake we 414user under which the virtual mailboxes will be hosted. For clarity's sake we
413will call this <e>vmail</e>: 415will call this <e>vmail</e>:
414</p> 416</p>
415 417
416<pre caption="Adding the vmail user"> 418<pre caption="Adding the vmail user">
417# <i>adduser -d /home/vmail -s /bin/false -m vmail</i> 419# <i>useradd -d /home/vmail -s /bin/false -m vmail</i>
418</pre> 420</pre>
419 421
420<p> 422<p>
421So now you've set up the vmail account. You can create multiple accounts if you 423So 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, 424want (to keep some structure in your set of virtual mail accounts). The user id,

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

  ViewVC Help
Powered by ViewVC 1.1.20