/[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.30 Revision 1.31
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.30 2004/04/11 10:52:16 cam Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.31 2004/04/11 15:53:27 swift 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<author title="Author" > 7<author title="Author" >
8<mail link="antifa@gentoo.org" >Ken Nowack</mail> 8<mail link="antifa@gentoo.org" >Ken Nowack</mail>
9</author> 9</author>
10<author title="Author" > 10<author title="Author" >
11<mail link="ezra@revoltltd.org" >Ezra Gorman</mail> 11<mail link="ezra@revoltltd.org" >Ezra Gorman</mail>
12</author> 12</author>
13<author title="Editor"> 13<author title="Editor">
14<mail link="klasikahl@gentoo.org" >Zack Gilburd</mail> 14<mail link="klasikahl@gentoo.org" >Zack Gilburd</mail>
15</author> 15</author>
16<abstract>This document details how to create a virtual mailhosting system based upon postfix, mysql, courier-imap, and cyrus-sasl. </abstract> 16<abstract>This document details how to create a virtual mailhosting system based upon postfix, mysql, courier-imap, and cyrus-sasl. </abstract>
17<version>1.0.10</version> 17<version>1.0.11</version>
18<date>March 4, 2004</date> 18<date>April 11, 2004</date>
19<!-- 19<!--
20 20
21Contents 21Contents
22 22
23I. Introduction 23I. Introduction
24II. Postfix Basics 24II. Postfix Basics
25III. Courier-imap 25III. Courier-imap
26IV. Cyrus-sasl 26IV. Cyrus-sasl
27V. SSL Certificates for Postfix and Apache 27V. SSL Certificates for Postfix and Apache
28VI. Adding SSL and SASL support to Postfix 28VI. Adding SSL and SASL support to Postfix
29VII. MySQL 29VII. MySQL
30VIII. Apache and phpMyAdmin 30VIII. Apache and phpMyAdmin
31IX. The vmail user 31IX. The vmail user
32X. Configuring MySQL Authentication and vhosts 32X. Configuring MySQL Authentication and vhosts
33XI. Squirrelmail 33XI. Squirrelmail
577<pre># <i>postfix reload</i> 577<pre># <i>postfix reload</i>
578</pre> 578</pre>
579<p>Now, if all went well, you should have a functioning mailhost. Users should be able to authenticate against the sql database, using their full email address, for pop3, imap, and smtp. I would highly suggest that you verify that everything is working at this point. If you run into problems (with as many things as this setup has going on, it's likely that you will) check the troubleshooting section of this howto.</p> 579<p>Now, if all went well, you should have a functioning mailhost. Users should be able to authenticate against the sql database, using their full email address, for pop3, imap, and smtp. I would highly suggest that you verify that everything is working at this point. If you run into problems (with as many things as this setup has going on, it's likely that you will) check the troubleshooting section of this howto.</p>
580</body> 580</body>
581</section> 581</section>
582</chapter> 582</chapter>
583<chapter> 583<chapter>
584<title>Squirrelmail</title> 584<title>Squirrelmail</title>
585<section> 585<section>
586<body> 586<body>
587<pre> 587<pre>
588# <i>emerge squirrelmail</i> 588# <i>emerge squirrelmail</i>
589<codenote>I like to add a link to the htdocs space for a shorter url.</codenote> 589<codenote>I like to add a link to the htdocs space for a shorter url.</codenote>
590 590
591# <i>ln -s /var/www/localhost/htdocs/squirrelmail/ /var/www/localhost/htdocs/mail</i> 591# <i>ln -s /var/www/localhost/htdocs/squirrelmail/ /var/www/localhost/htdocs/mail</i>
592# <i>cd /var/www/localhost/htdocs/mail/conf</i> 592# <i>cd /var/www/localhost/htdocs/mail/config</i>
593# <i>./conf.pl</i> 593# <i>perl ./conf.pl</i>
594<codenote>Change your Organization, Server, and Folder settings for squirrelmail.</codenote> 594<codenote>Change your Organization, Server, and Folder settings for squirrelmail.</codenote>
595<codenote>Now you should be able to login to squirrelmail, again - with your full email address,</codenote> 595<codenote>Now you should be able to login to squirrelmail, again - with your full email address,</codenote>
596<codenote>and use your new webmail setup.</codenote> 596<codenote>and use your new webmail setup.</codenote>
597</pre> 597</pre>
598</body> 598</body>
599</section> 599</section>
600</chapter> 600</chapter>
601<chapter> 601<chapter>
602<title>Mailman</title> 602<title>Mailman</title>
603<section> 603<section>
604<body> 604<body>
605<p>Last step: mailman. The new version of mailman has very nice virtual domain support, which is why I use it, not to mention it's really a great package. To get this package installed and working correctly for virtual domains is going to require a bit of hacking. I really recommend reading all of the mailman documentation, including README.POSTFIX.gz, to understand what's being done here.</p> 605<p>Last step: mailman. The new version of mailman has very nice virtual domain support, which is why I use it, not to mention it's really a great package. To get this package installed and working correctly for virtual domains is going to require a bit of hacking. I really recommend reading all of the mailman documentation, including README.POSTFIX.gz, to understand what's being done here.</p>
606<p>One further note, current versions of mailman install to /usr/local/mailman. If you're like me and wish to change the default install location, it can be overridden in the ebuild filoe by changing the INSTALLDIR variable.</p> 606<p>One further note, current versions of mailman install to /usr/local/mailman. If you're like me and wish to change the default install location, it can be overridden in the ebuild filoe by changing the INSTALLDIR variable.</p>
607<pre caption="/usr/portage/net-mail/mailman/mailman-$ver.ebuild"> 607<pre caption="/usr/portage/net-mail/mailman/mailman-$ver.ebuild">
608# <i>nano -w /usr/portage/net-mail/mailman/mailman-$ver.ebuild</i> 608# <i>nano -w /usr/portage/net-mail/mailman/mailman-$ver.ebuild</i>

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.20