/[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.49 Revision 1.50
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.49 2006/03/13 19:39:44 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.50 2006/04/09 07:42:45 fox2mike 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.26</version> 26<version>1.0.27</version>
27<date>2006-03-13</date> 27<date>2006-04-09</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
874<section> 874<section>
875<body> 875<body>
876 876
877<p> 877<p>
878Last step: mailman. The new version of mailman has very nice virtual domain 878Last step: mailman. The new version of mailman has very nice virtual domain
879support, which is why I use it, not to mention it's really a great package. To 879support, which is why I use it, not to mention it's really a great package. To
880get this package installed and working correctly for virtual domains is going 880get this package installed and working correctly for virtual domains is going
881to require a bit of hacking. I really recommend reading all of the mailman 881to require a bit of hacking. I really recommend reading all of the mailman
882documentation, including README.POSTFIX.gz, to understand what's being done 882documentation, including README.POSTFIX.gz, to understand what's being done
883here. 883here.
884</p> 884</p>
885 885
886<p> 886<p>
887One further note, current versions of mailman install to /usr/local/mailman. If 887One further note, current versions of mailman install to /usr/local/mailman. If
888you're like me and wish to change the default install location, it can be 888you're like me and wish to change the default install location, it can be
889overridden in the ebuild filoe by changing the INSTALLDIR variable. 889overridden in the ebuild file by changing the INSTALLDIR variable.
890</p> 890</p>
891 891
892<pre caption="Install mailman"> 892<pre caption="Install mailman">
893# <i>emerge mailman</i> 893# <i>emerge mailman</i>
894<comment>(This package is currently masked as well, so you'll need to unmask it or give
895emerge an explicit path to the ebuild. Once it's installed, follow the directions
896in the README.gentoo.gz *except* do not add your aliases to /etc/mail/aliases.
897We will instead be linking the entire alias db into postfix.)</comment>
898
899# <i>zless /usr/share/doc/mailman-$ver/README.gentoo.gz</i>
900</pre> 894</pre>
901 895
902<pre caption="Setting defaults: Mailman/Defaults.py"> 896<pre caption="Setting defaults: Mailman/Defaults.py">
903# <i> nano -w /var/mailman/Mailman/Defaults.py</i> 897# <i> nano -w /var/mailman/Mailman/Defaults.py</i>
904<comment>(Change the values below to reflect your primary domain, virtuals will be set next.)</comment> 898<comment>(Change the values below to reflect your primary domain, virtuals will be set next.)</comment>
905DEFAULT_EMAIL_HOST = 'domain.com' 899DEFAULT_EMAIL_HOST = 'domain.com'
906DEFAULT_URL_HOST = 'www.domain.com' 900DEFAULT_URL_HOST = 'www.domain.com'
907</pre> 901</pre>
908 902
909<pre caption="mailman config: mm_cfg.py"> 903<pre caption="mailman config: mm_cfg.py">
910# <i>nano -w /var/mailman/Mailman/mm_cfg.py</i> 904# <i>nano -w /var/mailman/Mailman/mm_cfg.py</i>
911MTA = "Postfix" 905MTA = "Postfix"
912POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virt-domain.com', 'virt.domain2.com'] 906POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virt-domain.com', 'virt.domain2.com']
913add_virtualhost('www.virt.domain.com', 'virt.domain.com') 907add_virtualhost('www.virt.domain.com', 'virt.domain.com')
914add_virtualhost('www.virt.domain2.com', 'virt.domain2.com') 908add_virtualhost('www.virt.domain2.com', 'virt.domain2.com')

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

  ViewVC Help
Powered by ViewVC 1.1.20