/[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.52 Revision 1.53
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.52 2006/07/04 00:21:20 rane Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.53 2006/09/04 08:49:44 nightmorph 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
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.1</version> 26<version>1.2</version>
27<date>2006-07-04</date> 27<date>2006-09-04</date>
28 28
29<!-- 29<!--
30Contents 30Contents
31 31
32I. Introduction 32I. Introduction
156qmail, or you will surely have BIG problems. 156qmail, or you will surely have BIG problems.
157</warn> 157</warn>
158 158
159<p> 159<p>
160After postfix is installed, it's time to configure it. Change the following 160After postfix is installed, it's time to configure it. Change the following
161options in <path>/etc/postfix/main.cf</path>: 161options in <path>/etc/postfix/main.cf</path>. Remember to replace
162<c>$variables</c> with your own names.
162</p> 163</p>
163 164
164<pre caption="/etc/postfix/main.cf"> 165<pre caption="/etc/postfix/main.cf">
165myhostname = $host.domain.name 166myhostname = $host.domain.name
166mydomain = $domain.name 167mydomain = $domain.name
609Now enter the phpmyadmin page and browse the tables. You'll want to add in your 610Now enter the phpmyadmin page and browse the tables. You'll want to add in your
610local aliases, edit your user table to add a test user, and change your 611local aliases, edit your user table to add a test user, and change your
611transport table to add information about your domains. The default values 612transport table to add information about your domains. The default values
612supplied with the dumpfile should be a sufficient guide to what values need to 613supplied with the dumpfile should be a sufficient guide to what values need to
613go where. Make sure that if you put information in the database that it is 614go where. Make sure that if you put information in the database that it is
614accurate. For instance, make sure the local users home dir exists and that the 615accurate. For instance, make sure the local user's home dir exists and that the
615correct uid/gid values are in place. The maildirs should be created 616correct uid/gid values are in place. The maildirs should be created
616automatically by postfix when the user receives their first email. So, in 617automatically by postfix when the user receives their first email. So, in
617general, it's a good idea to send a "Welcome" mail to a new user 618general, it's a good idea to send a "Welcome" mail to a new user after you
618after you setup their account to make sure the .maildir gets created. 619setup their account to make sure the .maildir gets created.
619</p> 620</p>
620 621
621</body> 622</body>
622</section> 623</section>
623</chapter> 624</chapter>
640# <i>chown vmail: /home/vmail</i> 641# <i>chown vmail: /home/vmail</i>
641</pre> 642</pre>
642 643
643<p> 644<p>
644So now when you're setting up vmail accounts, use the vmail uid, gid, and 645So now when you're setting up vmail accounts, use the vmail uid, gid, and
645homedir. When you're setting up local accounts, use that users uid, gid, and 646homedir. When you're setting up local accounts, use that user's uid, gid, and
646homedir. We've been meaning to create a php admin page for this setup but 647homedir. We've been meaning to create a php admin page for this setup but
647haven't gotten around to it yet, as phpmyadmin generally works fine for us. 648haven't gotten around to it yet, as phpmyadmin generally works fine for us.
648</p> 649</p>
649 650
650</body> 651</body>
685# <i>/etc/init.d/courier-authlib restart</i> 686# <i>/etc/init.d/courier-authlib restart</i>
686# <i>/etc/init.d/saslauthd restart</i> 687# <i>/etc/init.d/saslauthd restart</i>
687</pre> 688</pre>
688 689
689<p> 690<p>
690We're almost there I promise! Next, set up the rest of the necessary config's 691We're almost there, I promise! Next, set up the rest of the necessary configs
691for postfix to interract with the database for all it's other transport needs. 692for postfix to interract with the database for all its other transport needs.
693Remember to replace each value with the name of your own user, user id,
694password, alias, email address, and so on.
692</p> 695</p>
693 696
694<pre caption="/etc/postfix/mysql-aliases.cf"> 697<pre caption="/etc/postfix/mysql-aliases.cf">
695# <i>nano -w /etc/postfix/mysql-aliases.cf</i> 698# <i>nano -w /etc/postfix/mysql-aliases.cf</i>
696# mysql-aliases.cf 699# mysql-aliases.cf
884documentation, including README.POSTFIX.gz, to understand what's being done 887documentation, including README.POSTFIX.gz, to understand what's being done
885here. 888here.
886</p> 889</p>
887 890
888<p> 891<p>
889One further note, current versions of mailman install to /usr/local/mailman. If 892One further note, current versions of mailman install to
890you're like me and wish to change the default install location, it can be 893<path>/usr/local/mailman</path>. If you're like me and wish to change the
891overridden in the ebuild file by changing the INSTALLDIR variable. 894default install location, it can be overridden in the ebuild file by changing
895the INSTALLDIR variable.
892</p> 896</p>
893 897
894<pre caption="Install mailman"> 898<pre caption="Install mailman">
895# <i>emerge mailman</i> 899# <i>emerge mailman</i>
896</pre> 900</pre>

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

  ViewVC Help
Powered by ViewVC 1.1.20