/[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.45 Revision 1.46
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.45 2005/05/29 16:12:29 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.46 2005/12/02 14:49:56 neysx Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/virt-mail-howto.xml"> 5<guide link="/doc/en/virt-mail-howto.xml">
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 20
21<abstract> 21<abstract>
22This document details how to create a virtual mailhosting system based upon 22This document details how to create a virtual mailhosting system based upon
23postfix, mysql, courier-imap, and cyrus-sasl. 23postfix, mysql, courier-imap, and cyrus-sasl.
24</abstract> 24</abstract>
25 25
26<version>1.0.22</version> 26<version>1.0.23</version>
27<date>2005-05-29</date> 27<date>2005-12-02</date>
28 28
29<!-- 29<!--
30Contents 30Contents
31 31
32I. Introduction 32I. Introduction
33II. Postfix Basics 33II. Postfix Basics
34III. Courier-imap 34III. Courier-imap
35IV. Cyrus-sasl 35IV. Cyrus-sasl
36V. SSL Certificates for Postfix and Apache 36V. SSL Certificates for Postfix and Apache
37VI. Adding SSL and SASL support to Postfix 37VI. Adding SSL and SASL support to Postfix
38VII. MySQL 38VII. MySQL
39VIII. Apache and phpMyAdmin 39VIII. Apache and phpMyAdmin
40IX. The vmail user 40IX. The vmail user
41X. Configuring MySQL Authentication and vhosts 41X. Configuring MySQL Authentication and vhosts
42XI. Squirrelmail 42XI. Squirrelmail
449 449
450# <i>/usr/bin/mysql_install_db</i> 450# <i>/usr/bin/mysql_install_db</i>
451<comment>(After this command runs follow the onscreen directions 451<comment>(After this command runs follow the onscreen directions
452for adding a root password with mysql, 452for adding a root password with mysql,
453not mysqladmin, otherwise your db will be wide open.)</comment> 453not mysqladmin, otherwise your db will be wide open.)</comment>
454 454
455# <i>/etc/init.d/mysql start</i> 455# <i>/etc/init.d/mysql start</i>
456# <i>mysqladmin -u root -p create mailsql</i> 456# <i>mysqladmin -u root -p create mailsql</i>
457# <i>mysql -u root -p mailsql &lt; genericmailsql.sql</i> 457# <i>mysql -u root -p mailsql &lt; genericmailsql.sql</i>
458 458
459# <i>mysql -u root -p mysql</i> 459# <i>mysql -u root -p mysql</i>
460mysql> <i>GRANT SELECT,INSERT,UPDATE,DELETE</i> 460mysql> <i>GRANT SELECT,INSERT,UPDATE,DELETE</i>
461 -> <i>ON mailsql.*</i> 461 -> <i>ON mailsql.*</i>
462 -> <i>TO mailsql@localhost</i> 462 -> <i>TO mailsql@localhost</i>
463 -> <i>IDENTIFIED BY '$password';</i> 463 -> <i>IDENTIFIED BY '$password';</i>
464Query OK, 0 rows affected (0.02 sec)
464 465
465 -> <i>quit</i> 466mysql> <i>FLUSH PRIVILEGES;</i>
467Query OK, 0 rows affected (0.00 sec)
468
469mysql> <i>quit</i>
466<comment>(Verify that the new mailsql user can connect to the mysql server.)</comment> 470<comment>(Verify that the new mailsql user can connect to the mysql server.)</comment>
467 471
468# <i>mysql -u mailsql -p mailsql</i> 472# <i>mysql -u mailsql -p mailsql</i>
469</pre> 473</pre>
470 474
471<p> 475<p>
472Your new database has default values and tables set up for two domains. The 476Your new database has default values and tables set up for two domains. The
473following tables are included: 477following tables are included:
474</p> 478</p>
475 479
476<ul> 480<ul>
477 <li>alias - local email alias and mailman alias information.</li> 481 <li>alias - local email alias and mailman alias information.</li>
478 <li>relocated - relocated user email address maps</li> 482 <li>relocated - relocated user email address maps</li>
479 <li> 483 <li>
480 transport - default mail transport information for all domains you are 484 transport - default mail transport information for all domains you are

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

  ViewVC Help
Powered by ViewVC 1.1.20