/[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.19 Revision 1.21
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.19 2003/11/15 00:35:19 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.21 2003/12/07 18:21:26 pylon 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 Guide</title> 6<title>Virtual Mailhosting System Guide</title>
7<author title="Author" > 7<author title="Author" >
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<abstract>This document details how to create a virtual mailhosting system based upon postfix, mysql, courier-imap, and cyrus-sasl. </abstract> 13<abstract>This document details how to create a virtual mailhosting system based upon postfix, mysql, courier-imap, and cyrus-sasl. </abstract>
14<version>1.0.4</version> 14<version>1.0.6</version>
15<date>November 13, 2003</date> 15<date>December 7, 2003</date>
16<!-- 16<!--
17 17
18Contents 18Contents
19 19
20I. Introduction 20I. Introduction
341# <i>/etc/init.d/apache restart</i> 341# <i>/etc/init.d/apache restart</i>
342</pre> 342</pre>
343<note>If you have an existing apache install, you'll likely have to perform a full server reboot to install your new certificates. Check your logs to verify apache restarted successfully.</note> 343<note>If you have an existing apache install, you'll likely have to perform a full server reboot to install your new certificates. Check your logs to verify apache restarted successfully.</note>
344<p>Next, configure phpMyAdmin.</p> 344<p>Next, configure phpMyAdmin.</p>
345<pre caption="Configuring phpMyAdmin" > 345<pre caption="Configuring phpMyAdmin" >
346# <i>nano -w /home/httpd/htdocs/phpmyadmin/config.inc.php</i> 346# <i>nano -w /var/www/localhost/htdocs/phpmyadmin/config.inc.php</i>
347<codenote>Change the following parameters</codenote> 347<codenote>Change the following parameters</codenote>
348 348
349$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname 349$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname
350$cfg['Servers'][$i]['controluser'] = 'mailsql'; // MySQL control user settings 350$cfg['Servers'][$i]['controluser'] = 'mailsql'; // MySQL control user settings
351 // (this user must have read-only 351 // (this user must have read-only
374<chapter> 374<chapter>
375<title>Configuring MySQL Authentication and vhosts</title> 375<title>Configuring MySQL Authentication and vhosts</title>
376<body> 376<body>
377<p>Next we'll reconfigure our authentication to use the mailsql database in courier-imap and postfix. In all of the following examples, replace $password with the password you set for the mailsql mysql user.</p> 377<p>Next we'll reconfigure our authentication to use the mailsql database in courier-imap and postfix. In all of the following examples, replace $password with the password you set for the mailsql mysql user.</p>
378<pre> 378<pre>
379# <i>emerge /usr/portage/sys-libs/pam_mysql/pam_mysql-$currentversion.ebuild</i> 379# <i>emerge pam_mysql</i>
380<codenote>This package is currently masked so you'll have to give it an explicit path </codenote>
381<codenote>or unmask the package. This is subject to change when the package is unmasked</codenote>
382<codenote>in the portage tree.</codenote>
383
384# <i>nano -w /etc/pam.d/imap</i> 380# <i>nano -w /etc/pam.d/imap</i>
385<codenote>Comment out the existing auth lines and add the following as shown.</codenote> 381<codenote>Comment out the existing auth lines and add the following as shown.</codenote>
386 382
387#auth required pam_nologin.so 383#auth required pam_nologin.so
388#auth required pam_stack.so service=system-auth 384#auth required pam_stack.so service=system-auth
546<body> 542<body>
547<pre> 543<pre>
548# <i>emerge squirrelmail</i> 544# <i>emerge squirrelmail</i>
549<codenote>I like to add a link to the htdocs space for a shorter url.</codenote> 545<codenote>I like to add a link to the htdocs space for a shorter url.</codenote>
550 546
551# <i>ln -s /home/httpd/htdocs/squirrelmail/ /home/httpd/htdocs/mail</i> 547# <i>ln -s /var/www/localhost/htdocs/squirrelmail/ /var/www/localhost/htdocs/mail</i>
552# <i>cd /home/httpd/htdocs/mail/conf</i> 548# <i>cd /var/www/localhost/htdocs/mail/conf</i>
553# <i>./conf.pl</i> 549# <i>./conf.pl</i>
554<codenote>Change your Organization, Server, and Folder settings for squirrelmail.</codenote> 550<codenote>Change your Organization, Server, and Folder settings for squirrelmail.</codenote>
555<codenote>Now you should be able to login to squirrelmail, again - with your full email address,</codenote> 551<codenote>Now you should be able to login to squirrelmail, again - with your full email address,</codenote>
556<codenote>and use your new webmail setup.</codenote> 552<codenote>and use your new webmail setup.</codenote>
557</pre> 553</pre>

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20