public inbox for gentoo-doc-cvs@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2005-12-02 14:49 Xavier Neys
  0 siblings, 0 replies; 12+ messages in thread
From: Xavier Neys @ 2005-12-02 14:49 UTC (permalink / raw
  To: gentoo-doc-cvs

neysx       05/12/02 14:49:56

  Modified:    xml/htdocs/doc/en virt-mail-howto.xml
  Log:
  #113789 Add Flush Privileges;

Revision  Changes    Path
1.46      +8 -4      xml/htdocs/doc/en/virt-mail-howto.xml

file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.46&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.46&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml.diff?r1=1.45&r2=1.46&cvsroot=gentoo

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- virt-mail-howto.xml	29 May 2005 16:12:29 -0000	1.45
+++ virt-mail-howto.xml	2 Dec 2005 14:49:56 -0000	1.46
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.45 2005/05/29 16:12:29 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.46 2005/12/02 14:49:56 neysx Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -23,8 +23,8 @@
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.0.22</version>
-<date>2005-05-29</date>
+<version>1.0.23</version>
+<date>2005-12-02</date>
 
 <!--
 Contents
@@ -461,8 +461,12 @@
 	->     <i>ON mailsql.*</i>
 	->     <i>TO mailsql@localhost</i>
 	->     <i>IDENTIFIED BY '$password';</i>
+Query OK, 0 rows affected (0.02 sec)
 
-	->     <i>quit</i>
+mysql> <i>FLUSH PRIVILEGES;</i>
+Query OK, 0 rows affected (0.00 sec)
+
+mysql> <i>quit</i>
 <comment>(Verify that the new mailsql user can connect to the mysql server.)</comment>
 
 # <i>mysql -u mailsql -p mailsql</i>



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2005-12-16  7:43 Shyam Mani
  0 siblings, 0 replies; 12+ messages in thread
From: Shyam Mani @ 2005-12-16  7:43 UTC (permalink / raw
  To: gentoo-doc-cvs

fox2mike    05/12/16 07:43:41

  Modified:    xml/htdocs/doc/en virt-mail-howto.xml
  Log:
  #104241 - Removed unnecessary addition of MAILGID variable to ebuild since the latest ebuilds do so automatically.

Revision  Changes    Path
1.47      +2 -9      xml/htdocs/doc/en/virt-mail-howto.xml

file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.47&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.47&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml.diff?r1=1.46&r2=1.47&cvsroot=gentoo

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- virt-mail-howto.xml	2 Dec 2005 14:49:56 -0000	1.46
+++ virt-mail-howto.xml	16 Dec 2005 07:43:40 -0000	1.47
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.46 2005/12/02 14:49:56 neysx Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.47 2005/12/16 07:43:40 fox2mike Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -23,7 +23,7 @@
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.0.23</version>
+<version>1.0.24</version>
 <date>2005-12-02</date>
 
 <!--
@@ -886,13 +886,6 @@
 overridden in the ebuild filoe by changing the INSTALLDIR variable.
 </p>
 
-<pre caption="/usr/portage/net-mail/mailman/mailman-$ver.ebuild">
-# <i>nano -w /usr/portage/net-mail/mailman/mailman-$ver.ebuild</i>
-MAILGID="280"
-<comment>(Set MAILGID to the mailman group instead of nobody
-This is needed for postfix integration.)</comment>
-</pre>
-
 <pre caption="Install mailman">
 # <i>emerge mailman</i>
 <comment>(This package is currently masked as well, so you'll need to unmask it or give



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2006-01-08  1:10 Marcelo Goes
  0 siblings, 0 replies; 12+ messages in thread
From: Marcelo Goes @ 2006-01-08  1:10 UTC (permalink / raw
  To: gentoo-doc-cvs

vanquirius    06/01/08 01:10:07

  Modified:    xml/htdocs/doc/en virt-mail-howto.xml
  Log:
  Add smtp_tls_note_starttls_offer = yes for bug 108317. Thanks to Johan Hellgren
  <johan at insightbb dot com> and Josh Saddler <jackdark at gmail dot com>.

Revision  Changes    Path
1.48      +5 -3      xml/htdocs/doc/en/virt-mail-howto.xml

file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.48&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.48&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml.diff?r1=1.47&r2=1.48&cvsroot=gentoo

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- virt-mail-howto.xml	16 Dec 2005 07:43:40 -0000	1.47
+++ virt-mail-howto.xml	8 Jan 2006 01:10:07 -0000	1.48
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.47 2005/12/16 07:43:40 fox2mike Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.48 2006/01/08 01:10:07 vanquirius Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -23,8 +23,8 @@
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.0.24</version>
-<date>2005-12-02</date>
+<version>1.0.25</version>
+<date>2006-01-07</date>
 
 <!--
 Contents
@@ -379,6 +379,8 @@
 	reject_unauth_destination
 	
 
+<comment>(The next two options enable outgoing encryption.)</comment>
+smtp_tls_note_starttls_offer = yes
 smtpd_use_tls = yes
 #smtpd_tls_auth_only = yes
 smtpd_tls_key_file = /etc/postfix/newreq.pem



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2006-03-13 19:39 Josh Saddler
  0 siblings, 0 replies; 12+ messages in thread
From: Josh Saddler @ 2006-03-13 19:39 UTC (permalink / raw
  To: gentoo-doc-cvs

nightmorph    06/03/13 19:39:44

  Modified:             virt-mail-howto.xml
  Log:
  Fixed outgoing tls code for bug 125921. Thanks to jakub for assistance.

Revision  Changes    Path
1.49                 xml/htdocs/doc/en/virt-mail-howto.xml

file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.49&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.49&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml.diff?r1=1.48&r2=1.49&cvsroot=gentoo

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- virt-mail-howto.xml	8 Jan 2006 01:10:07 -0000	1.48
+++ virt-mail-howto.xml	13 Mar 2006 19:39:44 -0000	1.49
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.48 2006/01/08 01:10:07 vanquirius Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.49 2006/03/13 19:39:44 nightmorph Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -23,8 +23,8 @@
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.0.25</version>
-<date>2006-01-07</date>
+<version>1.0.26</version>
+<date>2006-03-13</date>
 
 <!--
 Contents
@@ -380,6 +380,7 @@
 	
 
 <comment>(The next two options enable outgoing encryption.)</comment>
+smtp_use_tls = yes
 smtp_tls_note_starttls_offer = yes
 smtpd_use_tls = yes
 #smtpd_tls_auth_only = yes



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2006-04-09  7:42 Shyam Mani
  0 siblings, 0 replies; 12+ messages in thread
From: Shyam Mani @ 2006-04-09  7:42 UTC (permalink / raw
  To: gentoo-doc-cvs

fox2mike    06/04/09 07:42:47

  Modified:             virt-mail-howto.xml
  Log:
  Minor fixes, thanks to gorshing on IRC

Revision  Changes    Path
1.50                 xml/htdocs/doc/en/virt-mail-howto.xml

file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.50&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.50&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml.diff?r1=1.49&r2=1.50&cvsroot=gentoo

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- virt-mail-howto.xml	13 Mar 2006 19:39:44 -0000	1.49
+++ virt-mail-howto.xml	9 Apr 2006 07:42:45 -0000	1.50
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.49 2006/03/13 19:39:44 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.50 2006/04/09 07:42:45 fox2mike Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -23,8 +23,8 @@
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.0.26</version>
-<date>2006-03-13</date>
+<version>1.0.27</version>
+<date>2006-04-09</date>
 
 <!--
 Contents
@@ -886,17 +886,11 @@
 <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.
+overridden in the ebuild file by changing the INSTALLDIR variable.
 </p>
 
 <pre caption="Install mailman">
 # <i>emerge mailman</i>
-<comment>(This package is currently masked as well, so you'll need to unmask it or give
-emerge an explicit path to the ebuild. Once it's installed, follow the directions
-in the README.gentoo.gz *except* do not add your aliases to /etc/mail/aliases.
-We will instead be linking the entire alias db into postfix.)</comment>
-
-# <i>zless /usr/share/doc/mailman-$ver/README.gentoo.gz</i>
 </pre>
 
 <pre caption="Setting defaults: Mailman/Defaults.py">



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2006-06-18 22:09 Josh Saddler
  0 siblings, 0 replies; 12+ messages in thread
From: Josh Saddler @ 2006-06-18 22:09 UTC (permalink / raw
  To: gentoo-doc-cvs

nightmorph    06/06/18 22:09:40

  Modified:             virt-mail-howto.xml
  Log:
  Updated hostname reference for bug 137195

Revision  Changes    Path
1.51                 xml/htdocs/doc/en/virt-mail-howto.xml

file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.51&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.51&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml.diff?r1=1.50&r2=1.51&cvsroot=gentoo

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- virt-mail-howto.xml	9 Apr 2006 07:42:45 -0000	1.50
+++ virt-mail-howto.xml	18 Jun 2006 22:09:40 -0000	1.51
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.50 2006/04/09 07:42:45 fox2mike Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.51 2006/06/18 22:09:40 nightmorph Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -23,8 +23,8 @@
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.0.27</version>
-<date>2006-04-09</date>
+<version>1.0.28</version>
+<date>2006-06-18</date>
 
 <!--
 Contents
@@ -52,7 +52,7 @@
 <body>
 
 <p>
-For most gentoo users, a simple mail client and fetchmail will do. However, if
+For most Gentoo users, a simple mail client and fetchmail will do. However, if
 you're hosting a domain with your system, you'll need a full blown MTA (Mail
 Transfer Agent). And if you're hosting multiple domains, then you'll definitely
 need something more robust to handle all of the email for your users. This
@@ -122,9 +122,11 @@
 </impo>
 
 <impo>
-Make sure <path>/etc/hostname</path> is set to the right hostname for your mail
-server. Verify your hostname is set correctly with <c>hostname</c>.  Also
-verify that there are no conflicting entries in <path>/etc/hosts</path>.
+Make sure <path>/etc/conf.d/hostname</path> is set to the right hostname for
+your mail server. You can apply any changes you make to this file by running
+<c>/etc/init.d/hostname restart</c>. Verify your hostname is set correctly with
+<c>hostname</c>. Also verify that there are no conflicting entries in
+<path>/etc/hosts</path>.
 </impo>
 
 <note>



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2006-07-04  0:21 Lukasz Damentko
  0 siblings, 0 replies; 12+ messages in thread
From: Lukasz Damentko @ 2006-07-04  0:21 UTC (permalink / raw
  To: gentoo-doc-cvs

rane        06/07/04 00:21:20

  Modified:             virt-mail-howto.xml
  Log:
  fixing a link from .org to .com, thx to mathieu_davy@ekynoxe.com (gentoo-doc@) for reporting

Revision  Changes    Path
1.52                 xml/htdocs/doc/en/virt-mail-howto.xml

file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.52&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.52&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/virt-mail-howto.xml.diff?r1=1.51&r2=1.52&cvsroot=gentoo

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- virt-mail-howto.xml	18 Jun 2006 22:09:40 -0000	1.51
+++ virt-mail-howto.xml	4 Jul 2006 00:21:20 -0000	1.52
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.51 2006/06/18 22:09:40 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.52 2006/07/04 00:21:20 rane Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -23,8 +23,8 @@
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.0.28</version>
-<date>2006-06-18</date>
+<version>1.1</version>
+<date>2006-07-04</date>
 
 <!--
 Contents
@@ -545,7 +545,7 @@
 
 <p>
 There are plenty of guides out there about how to set up apache with php.  Like
-this one: <uri>http://www.linuxguruz.org/z.php?id=31</uri>. There are also
+this one: <uri>http://www.linuxguruz.com/z.php?id=31</uri>. There are also
 numerous posts on <uri>http://forums.gentoo.org</uri> detailing how to solve
 problems with the installation (search for 'apache php'). So, that said, I'm
 not going to cover it here. Set up the apache and php installs, then continue



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2006-09-04  8:49 Josh Saddler
  0 siblings, 0 replies; 12+ messages in thread
From: Josh Saddler @ 2006-09-04  8:49 UTC (permalink / raw
  To: gentoo-doc-cvs

nightmorph    06/09/04 08:49:44

  Modified:             virt-mail-howto.xml
  Log:
  Clarified virt-mail-howto for bug 106289

Revision  Changes    Path
1.53                 xml/htdocs/doc/en/virt-mail-howto.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.53&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.53&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?r1=1.52&r2=1.53

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- virt-mail-howto.xml	4 Jul 2006 00:21:20 -0000	1.52
+++ virt-mail-howto.xml	4 Sep 2006 08:49:44 -0000	1.53
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.52 2006/07/04 00:21:20 rane Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.53 2006/09/04 08:49:44 nightmorph Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -23,8 +23,8 @@
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.1</version>
-<date>2006-07-04</date>
+<version>1.2</version>
+<date>2006-09-04</date>
 
 <!--
 Contents
@@ -158,7 +158,8 @@
 
 <p>
 After postfix is installed, it's time to configure it. Change the following
-options in <path>/etc/postfix/main.cf</path>:
+options in <path>/etc/postfix/main.cf</path>. Remember to replace
+<c>$variables</c> with your own names.
 </p>
 
 <pre caption="/etc/postfix/main.cf">
@@ -611,11 +612,11 @@
 transport table to add information about your domains. The default values
 supplied with the dumpfile should be a sufficient guide to what values need to
 go where. Make sure that if you put information in the database that it is
-accurate. For instance, make sure the local users home dir exists and that the
+accurate. For instance, make sure the local user's home dir exists and that the
 correct uid/gid values are in place. The maildirs should be created
 automatically by postfix when the user receives their first email. So, in
-general, it's a good idea to send a "Welcome" mail to a new user
-after you setup their account to make sure the .maildir gets created.
+general, it's a good idea to send a "Welcome" mail to a new user after you
+setup their account to make sure the .maildir gets created.
 </p>
 
 </body>
@@ -642,7 +643,7 @@
 
 <p>
 So now when you're setting up vmail accounts, use the vmail uid, gid, and
-homedir. When you're setting up local accounts, use that users uid, gid, and
+homedir. When you're setting up local accounts, use that user's uid, gid, and
 homedir. We've been meaning to create a php admin page for this setup but
 haven't gotten around to it yet, as phpmyadmin generally works fine for us.
 </p>
@@ -687,8 +688,10 @@
 </pre>
 
 <p>
-We're almost there I promise! Next, set up the rest of the necessary config's
-for postfix to interract with the database for all it's other transport needs.
+We're almost there, I promise! Next, set up the rest of the necessary configs
+for postfix to interract with the database for all its other transport needs.
+Remember to replace each value with the name of your own user, user id,
+password, alias, email address, and so on.
 </p>
 
 <pre caption="/etc/postfix/mysql-aliases.cf">
@@ -886,9 +889,10 @@
 </p>
 
 <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 file by changing the INSTALLDIR variable.
+One further note, current versions of mailman install to
+<path>/usr/local/mailman</path>. If you're like me and wish to change the
+default install location, it can be overridden in the ebuild file by changing
+the INSTALLDIR variable.
 </p>
 
 <pre caption="Install mailman">



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2007-07-16  2:31 Josh Saddler
  0 siblings, 0 replies; 12+ messages in thread
From: Josh Saddler @ 2007-07-16  2:31 UTC (permalink / raw
  To: gentoo-doc-cvs

nightmorph    07/07/16 02:31:39

  Modified:             virt-mail-howto.xml
  Log:
  the long awaited update for apache2, bug 106301. thanks to swift and phreak for the patches.

Revision  Changes    Path
1.55                 xml/htdocs/doc/en/virt-mail-howto.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.55&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.55&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?r1=1.54&r2=1.55

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- virt-mail-howto.xml	2 Mar 2007 07:24:46 -0000	1.54
+++ virt-mail-howto.xml	16 Jul 2007 02:31:38 -0000	1.55
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.54 2007/03/02 07:24:46 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.55 2007/07/16 02:31:38 nightmorph Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -17,14 +17,17 @@
 <author title="Editor">
   <mail link="seather@scygro.za.net">Scygro</mail>
 </author>
+<author title="Editor">
+  <mail link="swift@gentoo.org">Sven Vermeulen</mail>
+</author>
 
 <abstract>
 This document details how to create a virtual mailhosting system based upon
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.2</version>
-<date>2006-09-04</date>
+<version>1.3</version>
+<date>2007-07-15</date>
 
 <!--
 Contents
@@ -101,21 +104,6 @@
 </p>
 
 <impo>
-This howto was written for postfix-2.0.x. If you are using postfix &lt; 2 some
-of the variables in this document will be different. It is recommended that you
-upgrade. Some other packages included in this howto are version sensitive as
-well. You are advised to read the documentation included with packages if you
-run into issues with this.
-</impo>
-
-<impo>
-This document uses apache-1.3.x. Apache-2 has been marked stable in portage.
-However there are still a number of issues with php integration. Until php
-support in apache-2.0.x is marked stable, this guide will continue to use the
-1.3.x version.
-</impo>
-
-<impo>
 You need a domain name to run a public mail server, or at least an MX record
 for a domain. Ideally you would have control of at least two domains to take
 advantage of your new virtual domain functionality.
@@ -248,10 +236,15 @@
 
 <p>
 Start up your favorite mail client and verify that all connections you've
-started work for receiving and sending mail. Now that the basics work, we're
-going to do a whole bunch of stuff at once to get the rest of the system
-running. Again, please verify that what we've installed already works before
-progressing.
+started work for receiving and sending mail. Of course, you won't be able to log
+on to any of the services because authentication hasn't been configured yet, but
+it is wise to check if the connections themselves work or not.
+</p>
+
+<p>
+Now that the basics work, we're going to do a whole bunch of stuff at once to
+get the rest of the system running. Again, please verify that what we've
+installed already works before progressing.
 </p>
 
 </body>
@@ -318,20 +311,8 @@
 <comment>(If the variables are not already present, just add them in a sensible place.)</comment>
 
 # <i>cd misc</i>
-# <i>nano -w CA.pl</i>
-<comment>(We need to add -nodes to the # create a certificate and
-#create a certificate request code in order to let our new ssl
-certs be loaded without a password. Otherwise when you
-reboot your ssl certs will not be available.)</comment>
-
-# create a certificate
-system ("$REQ -new -nodes -x509 -keyout newreq.pem -out newreq.pem $DAYS");
-
-# create a certificate request
-system ("$REQ -new -nodes -keyout newreq.pem -out newreq.pem $DAYS");
-		
+# <i>./CA.pl -newreq-nodes</i>
 # <i>./CA.pl -newca</i>
-# <i>./CA.pl -newreq</i>
 # <i>./CA.pl -sign</i>
 # <i>cp newcert.pem /etc/postfix</i>
 # <i>cp newreq.pem /etc/postfix</i>
@@ -541,21 +522,22 @@
 </p>
 
 <pre caption="Setting up apache and phpmyadmin">
-# <i>emerge apache mod_php phpmyadmin</i>
+# <i>emerge apache phpmyadmin</i>
 </pre>
 
 <p>
-There are plenty of guides out there about how to set up apache with php.  Like
-this one: <uri>http://www.linuxguruz.com/z.php?id=31</uri>. There are also
-numerous posts on <uri>http://forums.gentoo.org</uri> detailing how to solve
-problems with the installation (search for 'apache php'). So, that said, I'm
-not going to cover it here. Set up the apache and php installs, then continue
-with this howto. Now, a word for the wise: .htaccess the directory that you put
-phpmyadmin in. If you do not do this, search engine spiders will come along and
-index the page which in turn will mean that anyone will be able to find your
-phpmyadmin page via google and in turn be able to come change your database
-however they want which is <e>BAD!</e>  There are many howtos on this
-including: <uri>http://www.csoft.net/docs/micro/htaccess.html.en</uri>.
+There are plenty of guides out there about how to set up apache with php,
+including guides provided by the <uri link="/proj/en/php/">Gentoo PHP
+Project</uri>. There are also numerous posts on
+<uri>http://forums.gentoo.org</uri> detailing how to solve problems with the
+installation. So, that said, we're not going to cover it here.  Set up the
+apache and php installs, then continue with this howto. Now, a word for the
+wise: .htaccess the directory that you put phpmyadmin in. If you do not do this,
+search engine spiders will come along and index the page which in turn will mean
+that anyone will be able to find your phpmyadmin page via google and in turn be
+able to come change your database however they want which is <e>BAD!</e>  There
+are many howtos on this including:
+<uri>http://www.csoft.net/docs/micro/htaccess.html.en</uri>.
 </p>
 
 <p>
@@ -569,33 +551,48 @@
 </ul>
 
 <pre caption="Install Apache SSL certificates">
-# <i>cp /etc/ssl/misc/new.cert.cert /etc/apache/conf/ssl/</i>
-# <i>cp /etc/ssl/misc/new.cert.key /etc/apache/conf/ssl/</i>
-# <i>nano -w /etc/apache/conf/vhosts/ssl.default-vhost.conf</i>
+# <i>cp /etc/ssl/misc/new.cert.cert /etc/apache2/ssl/</i>
+# <i>cp /etc/ssl/misc/new.cert.key /etc/apache2/ssl/</i>
+# <i>cd /etc/apache2/vhosts.d</i>
+<comment>(Check if you have an ssl-vhost template already. 
+ Copy that one instead of the default_vhost if that is the case)</comment>
+# <i>cp 00_default_vhost.conf ssl-vhost.conf</i>
+# <i>nano -w ssl-vhost.conf</i>
 
 <comment>(Change the following parameters)</comment>
+NameVirtualHost host.domain.name:443
 
-ServerName host.domain.name
-ServerAdmin your@email.address
-SSLCertificateFile /etc/apache/conf/ssl/new.cert.cert
-SSLCertificateKeyFile /etc/apache/conf/ssl/new.cert.key
+&lt;VirtualHost host.domain.name:443&gt;
+  ServerName host.domain.name
+  ServerAdmin your@email.address
+
+  DocumentRoot "/var/www/localhost/htdocs/phpmyadmin";
+  &lt;Directory "/var/www/localhost/htdocs/phpmyadmin"&gt;
+    ...
+  &lt;/Directory&gt;
+
+  SSLCertificateFile /etc/apache2/ssl/new.cert.cert
+  SSLCertificateKeyFile /etc/apache2/ssl/new.cert.key
+  SSLEngine on
+  ...
+&lt;/VirtualHost&gt;
 
-# <i>/etc/init.d/apache restart</i>
-</pre>
+# <i>nano -w /etc/conf.d/apache2</i>
+<comment>(Add -D SSL -D PHP5 to the APACHE2_OPTS)</comment>
 
-<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>
+# <i>/etc/init.d/apache2 restart</i>
+</pre>
 
 <p>
 Next, configure phpMyAdmin.
 </p>
 
 <pre caption="Configuring phpMyAdmin">
-# <i>nano -w /var/www/localhost/htdocs/phpmyadmin/config.inc.php</i>
+# <i>cd /var/www/localhost/htdocs/phpmyadmin</i>
+# <i>cp config.sample.inc.php config.inc.php</i>
+# <i>nano -w config.inc.php</i>
 <comment>(Change the following parameters.)</comment>
+$cfg['blowfish_secret'] = 'someverysecretpassphraze';
 
 $cfg['Servers'][$i]['host'] = 'localhost';          // MySQL hostname
 $cfg['Servers'][$i]['controluser'] = 'mailsql';     // MySQL control user settings
@@ -634,18 +631,13 @@
 </p>
 
 <pre caption="Adding the vmail user">
-# <i>adduser -d /home/vmail -s /bin/false vmail</i>
-# <i>uid=`cat /etc/passwd | grep vmail | cut -f 3 -d :`</i>
-# <i>groupadd -g $uid vmail</i>
-# <i>mkdir /home/vmail</i>
-# <i>chown vmail: /home/vmail</i>
+# <i>adduser -d /home/vmail -s /bin/false -m vmail</i>
 </pre>
 
 <p>
-So now when you're setting up vmail accounts, use the vmail uid, gid, and
-homedir. When you're setting up local accounts, use that user's uid, gid, and
-homedir. We've been meaning to create a php admin page for this setup but
-haven't gotten around to it yet, as phpmyadmin generally works fine for us.
+So now you've set up the vmail account. You can create multiple accounts if you
+want (to keep some structure in your set of virtual mail accounts). The user id,
+group id and home dirs are referenced in the MySQL tables.
 </p>
 
 </body>
@@ -735,7 +727,7 @@
 
 <pre caption="/etc/postfix/mysql-virtual-gid.cf (optional)">
 # <i>nano -w /etc/postfix/mysql-virtual-gid.cf</i>
-#myql-virtual-gid.cf
+# mysql-virtual-gid.cf
 
 user          	= mailsql
 password        = $password
@@ -794,6 +786,7 @@
 
 <pre caption="/etc/postfix/main.cf">
 # <i>nano -w /etc/postfix/main.cf</i>
+<comment>(Ensure that there are no other alias_maps definitions)</comment>
 alias_maps = mysql:/etc/postfix/mysql-aliases.cf
 relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
 
@@ -801,14 +794,16 @@
 local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
 
 virtual_transport = virtual
-virtual_mailbox_domains =
-	virt-bar.com,
-	$other-virtual-domain.com
+<comment>(The domains listed by the mydestination should not be listed in 
+ the virtual_mailbox_domains parameter)</comment>
+virtual_mailbox_domains = virt-bar.com, $other-virtual-domain.com
 
 virtual_minimum_uid = 1000
+<comment>(Substitute $vmail-gid with the GID of the vmail group)</comment>
 virtual_gid_maps = static:$vmail-gid
 virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
 virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
+<comment>(Substitute $vmail-uid with the UID of the vmail user)</comment>
 virtual_uid_maps = static:$vmail-uid
 virtual_mailbox_base = /
 #virtual_mailbox_limit =
@@ -888,26 +883,19 @@
 here.
 </p>
 
-<p>
-One further note, current versions of mailman install to
-<path>/usr/local/mailman</path>. If you're like me and wish to change the
-default install location, it can be overridden in the ebuild file by changing
-the INSTALLDIR variable.
-</p>
-
 <pre caption="Install mailman">
 # <i>emerge mailman</i>
 </pre>
 
 <pre caption="Setting defaults: Mailman/Defaults.py">
-# <i> nano -w /var/mailman/Mailman/Defaults.py</i>
+# <i> nano -w /usr/local/mailman/Mailman/Defaults.py</i>
 <comment>(Change the values below to reflect your primary domain, virtuals will be set next.)</comment>
 DEFAULT_EMAIL_HOST = 'domain.com'
 DEFAULT_URL_HOST = 'www.domain.com'
 </pre>
 
 <pre caption="mailman config: mm_cfg.py">
-# <i>nano -w /var/mailman/Mailman/mm_cfg.py</i>
+# <i>nano -w /usr/local/mailman/Mailman/mm_cfg.py</i>
 MTA = "Postfix"
 POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virt-domain.com', 'virt.domain2.com']	
 add_virtualhost('www.virt.domain.com', 'virt.domain.com')
@@ -920,13 +908,13 @@
 
 # <i>su mailman</i>
 # <i>cd ~</i>
-# <i>bin/newlist test</i>
+# <i>./bin/newlist test</i>
 Enter the email of the person running the list: <i>your@email.address</i>
 Initial test password:
 Hit enter to continue with test owner notification...
 <comment>(Virtual domain lists may be specified with
 list@domain.com style list names.)</comment>
-# <i>bin/genaliases</i>
+# <i>./bin/genaliases</i>
 <comment>(Now that your aliases have been generated,
 verify that they were added successfully.)</comment>
 
@@ -945,6 +933,13 @@
 test-unsubscribe: "|/var/mailman/mail/mailman unsubscribe test"
 # STANZA END: test
 
+<comment>(Create the required mailman list)</comment>
+# <i>./bin/newlist mailman</i>
+# <i>./bin/genaliases</i>
+
+<comment>(Return to the root user)</comment>
+# <i>exit</i>
+
 # <i>/etc/init.d/mailman start</i>
 # <i>rc-update add mailman default</i>
 <comment>(To start mailman at once and on every reboot.)</comment>
@@ -957,11 +952,11 @@
 <comment>(Read README.POSTFIX.gz for details on this.)</comment>
 
 alias_maps     =
-	hash:/var/mailman/data/aliases,
+	hash:/usr/local/mailman/data/aliases,
 	mysql:/etc/postfix/mysql-aliases.cf
 
 virtual_alias_maps =
-	hash:/var/mailman/data/virtual-mailman,
+	hash:/usr/local/mailman/data/virtual-mailman,
 	mysql:/etc/postfix/mysql-virtual.cf
 <comment>(This adds mailman alias file support to postfix
 You may of course use the mysql tables for this,
@@ -1092,8 +1087,8 @@
 </p>
 
 <pre caption="Some services can dump their current config">
-# <i>apachectl fullstatus</i> (needs lynx installed)
-# <i>apachectl configtest</i> (checks config sanity)
+# <i>apache2ctl fullstatus</i> (needs lynx installed)
+# <i>apache2ctl configtest</i> (checks config sanity)
 # <i>postconf -n</i> (will tell you exactly what param's postfix is using)
 # <i>/etc/init.d/$service restart</i>
 </pre>
@@ -1117,7 +1112,7 @@
 # <i>kill -USR1 `ps -C metalog -o pid=`</i>(to turn off metalog buffering)
 # <i>nano -w /var/log/mail/current</i>
 # <i>cat /var/log/mysql/mysql.log</i>
-# <i>tail /var/log/apache/error_log</i>
+# <i>tail /var/log/apache2/error_log</i>
 </pre>
 
 <p>



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2007-07-20  9:09 Josh Saddler
  0 siblings, 0 replies; 12+ messages in thread
From: Josh Saddler @ 2007-07-20  9:09 UTC (permalink / raw
  To: gentoo-doc-cvs

nightmorph    07/07/20 09:09:04

  Modified:             virt-mail-howto.xml
  Log:
  fixed newreq/newkey stuff, bug 185556

Revision  Changes    Path
1.56                 xml/htdocs/doc/en/virt-mail-howto.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.56&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.56&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?r1=1.55&r2=1.56

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- virt-mail-howto.xml	16 Jul 2007 02:31:38 -0000	1.55
+++ virt-mail-howto.xml	20 Jul 2007 09:09:04 -0000	1.56
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.55 2007/07/16 02:31:38 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.56 2007/07/20 09:09:04 nightmorph Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -26,8 +26,8 @@
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.3</version>
-<date>2007-07-15</date>
+<version>1.4</version>
+<date>2007-07-20</date>
 
 <!--
 Contents
@@ -315,7 +315,7 @@
 # <i>./CA.pl -newca</i>
 # <i>./CA.pl -sign</i>
 # <i>cp newcert.pem /etc/postfix</i>
-# <i>cp newreq.pem /etc/postfix</i>
+# <i>cp newkey.pem /etc/postfix</i>
 # <i>cp demoCA/cacert.pem /etc/postfix</i>
 <comment>(Now we do the same thing for apache.)</comment>
 
@@ -368,7 +368,7 @@
 smtp_tls_note_starttls_offer = yes
 smtpd_use_tls = yes
 #smtpd_tls_auth_only = yes
-smtpd_tls_key_file = /etc/postfix/newreq.pem
+smtpd_tls_key_file = /etc/postfix/newkey.pem
 smtpd_tls_cert_file = /etc/postfix/newcert.pem
 smtpd_tls_CAfile = /etc/postfix/cacert.pem
 smtpd_tls_loglevel = 3



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2007-07-23 15:44 swift
  0 siblings, 0 replies; 12+ messages in thread
From: swift @ 2007-07-23 15:44 UTC (permalink / raw
  To: gentoo-doc-cvs

swift       07/07/23 15:44:43

  Modified:             virt-mail-howto.xml
  Log:
  Small updates to virt-mail-howto

Revision  Changes    Path
1.57                 xml/htdocs/doc/en/virt-mail-howto.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.57&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.57&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?r1=1.56&r2=1.57

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- virt-mail-howto.xml	20 Jul 2007 09:09:04 -0000	1.56
+++ virt-mail-howto.xml	23 Jul 2007 15:44:42 -0000	1.57
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.56 2007/07/20 09:09:04 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.57 2007/07/23 15:44:42 swift Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -26,28 +26,8 @@
 postfix, mysql, courier-imap, and cyrus-sasl.
 </abstract>
 
-<version>1.4</version>
-<date>2007-07-20</date>
-
-<!--
-Contents
-
-I. Introduction
-II. Postfix Basics
-III. Courier-imap
-IV. Cyrus-sasl
-V. SSL Certificates for Postfix and Apache
-VI. Adding SSL and SASL support to Postfix
-VII. MySQL
-VIII. Apache and phpMyAdmin
-IX. The vmail user
-X. Configuring MySQL Authentication and vhosts
-XI. Squirrelmail
-XII. Mailman
-XIII. Content Filtering and Anti-Virus
-XIV. Wrap Up
-XV. Troubleshooting
--->
+<version>1.5</version>
+<date>2007-07-23</date>
 
 <chapter>
 <title>Introduction</title>
@@ -384,6 +364,9 @@
 
 <p>
 Now we're going to verify that the config's we added were picked up by postfix.
+For this we are going to use <c>telnet</c> (provided by for instance
+<c>net-misc/netkit-telnetd</c>) although you can also use <c>nc</c> (provided by
+<c>net-analyzer/netcat</c>):
 </p>
 
 <pre caption="Verifying sasl and tls support">
@@ -421,6 +404,42 @@
 </chapter>
 
 <chapter>
+<title>The vmail user</title>
+<section>
+<body>
+
+<p>
+Before we set up our virtual mailhosting environment, we create a functional
+user under which the virtual mailboxes will be hosted. For clarity's sake we
+will call this <e>vmail</e>:
+</p>
+
+<pre caption="Adding the vmail user">
+# <i>adduser -d /home/vmail -s /bin/false -m vmail</i>
+</pre>
+
+<p>
+So now you've set up the vmail account. You can create multiple accounts if you
+want (to keep some structure in your set of virtual mail accounts). The user id,
+group id and home dirs are referenced in the MySQL tables.
+</p>
+
+<p>
+Next to the user account we also need to create the location where the mailboxes
+will reside:
+</p>
+
+<pre caption="Creating mailboxes">
+# <i>mkdir /home/vmail/virt-domain.com/foo</i>
+# <i>chown -R vmail:vmail /home/vmail/virt-domain.com</i>
+# <i>maildirmake /home/vmail/virt-domain.com/foo/.maildir</i>
+</pre>
+
+</body>
+</section>
+</chapter>
+
+<chapter>
 <title>MySQL</title>
 <section>
 <body>
@@ -485,8 +504,8 @@
 <comment>(Line wrapped for clarity.)</comment>
 id email            clear     name     uid     gid     homedir     \
 	maildir                                quota  postfix
-10 foo@virt-bar.org $password realname virtid  virtid  /home/vmail \
-	/home/vmail/virt-bar.org/foo/.maildir/        y
+10 foo@virt-domain.com $password realname virtid  virtid  /home/vmail \
+	/home/vmail/virt-domain.com/foo/.maildir/        y
 13 foo@bar.com      $password realname localid localid /home/foo   \
 	/home/foo/.maildir/                           y
 </pre>
@@ -497,14 +516,14 @@
 </p>
 
 <pre caption="transport table sample">
-id   domain       destination
-1    bar.com      local:
-2    virt-bar.org virtual:
+id   domain          destination
+1    bar.com         local:
+2    virt-domain.com virtual:
 </pre>
 
 <pre caption="virtual table sample">
-id   email            destination
-3   root@virt-bar.org other@email.address
+id   email               destination
+3   root@virt-domain.com other@email.address
 </pre>
 
 </body>
@@ -621,30 +640,6 @@
 </chapter>
 
 <chapter>
-<title>The vmail user</title>
-<section>
-<body>
-
-<p>
-At this point you may be wondering what user and directory to use for virtual
-mail users, and rightly so. Let's set that up.
-</p>
-
-<pre caption="Adding the vmail user">
-# <i>adduser -d /home/vmail -s /bin/false -m vmail</i>
-</pre>
-
-<p>
-So now you've set up the vmail account. You can create multiple accounts if you
-want (to keep some structure in your set of virtual mail accounts). The user id,
-group id and home dirs are referenced in the MySQL tables.
-</p>
-
-</body>
-</section>
-</chapter>
-
-<chapter>
 <title>Configuring MySQL Authentication and vhosts</title>
 <section>
 <body>
@@ -741,7 +736,7 @@
 
 <pre caption="/etc/postfix/mysql-virtual-maps.cf">
 # <i>nano -w /etc/postfix/mysql-virtual-maps.cf</i>
-#myql-virtual-maps.cf
+# mysql-virtual-maps.cf
 
 user        	= mailsql
 password        = $password
@@ -796,7 +791,7 @@
 virtual_transport = virtual
 <comment>(The domains listed by the mydestination should not be listed in 
  the virtual_mailbox_domains parameter)</comment>
-virtual_mailbox_domains = virt-bar.com, $other-virtual-domain.com
+virtual_mailbox_domains = virt-domain.com, $other-virtual-domain.com
 
 virtual_minimum_uid = 1000
 <comment>(Substitute $vmail-gid with the GID of the vmail group)</comment>
@@ -908,11 +903,11 @@
 
 # <i>su mailman</i>
 # <i>cd ~</i>
-# <i>./bin/newlist test</i>
+# <i>./bin/newlist --urlhost='www.virt-domain.com' --emailhost='virt-domain.com' test</i>
 Enter the email of the person running the list: <i>your@email.address</i>
 Initial test password:
 Hit enter to continue with test owner notification...
-<comment>(Virtual domain lists may be specified with
+<comment>(Virtual domain lists may also be specified with
 list@domain.com style list names.)</comment>
 # <i>./bin/genaliases</i>
 <comment>(Now that your aliases have been generated,
@@ -921,16 +916,16 @@
 # <i>nano -w data/aliases</i>
 # STANZA START: test
 # CREATED:
-test:             "|/var/mailman/mail/mailman post test"
-test-admin:       "|/var/mailman/mail/mailman admin test"
-test-bounces:     "|/var/mailman/mail/mailman bounces test"
-test-confirm:     "|/var/mailman/mail/mailman confirm test"
-test-join:        "|/var/mailman/mail/mailman join test"
-test-leave:       "|/var/mailman/mail/mailman leave test"
-test-owner:       "|/var/mailman/mail/mailman owner test"
-test-request:     "|/var/mailman/mail/mailman request test"
-test-subscribe:   "|/var/mailman/mail/mailman subscribe test"
-test-unsubscribe: "|/var/mailman/mail/mailman unsubscribe test"
+test:             "|/usr/local/mailman/mail/mailman post test"
+test-admin:       "|/usr/local/mailman/mail/mailman admin test"
+test-bounces:     "|/usr/local/mailman/mail/mailman bounces test"
+test-confirm:     "|/usr/local/mailman/mail/mailman confirm test"
+test-join:        "|/usr/local/mailman/mail/mailman join test"
+test-leave:       "|/usr/local/mailman/mail/mailman leave test"
+test-owner:       "|/usr/local/mailman/mail/mailman owner test"
+test-request:     "|/usr/local/mailman/mail/mailman request test"
+test-subscribe:   "|/usr/local/mailman/mail/mailman subscribe test"
+test-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe test"
 # STANZA END: test
 
 <comment>(Create the required mailman list)</comment>



-- 
gentoo-doc-cvs@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml
@ 2008-05-21 19:39 Sven Vermeulen
  0 siblings, 0 replies; 12+ messages in thread
From: Sven Vermeulen @ 2008-05-21 19:39 UTC (permalink / raw
  To: gentoo-doc-cvs

swift       08/05/21 19:39:42

  Modified:             virt-mail-howto.xml
  Log:
  Coding style

Revision  Changes    Path
1.59                 xml/htdocs/doc/en/virt-mail-howto.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.59&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?rev=1.59&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml?r1=1.58&r2=1.59

Index: virt-mail-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- virt-mail-howto.xml	24 Aug 2007 18:59:45 -0000	1.58
+++ virt-mail-howto.xml	21 May 2008 19:39:42 -0000	1.59
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.58 2007/08/24 18:59:45 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.59 2008/05/21 19:39:42 swift Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/virt-mail-howto.xml">
@@ -70,9 +70,9 @@
 </p>
 
 <p>
-The following packages are used in this setup: apache, courier-imap, courier-authlib
-postfix, mod_php, phpmyadmin, squirrelmail, cyrus-sasl, mysql, php, and
-mailman.
+The following packages are used in this setup: apache, courier-imap,
+courier-authlib postfix, mod_php, phpmyadmin, squirrelmail, cyrus-sasl, mysql,
+php, and mailman.
 </p>
 
 <p>
@@ -164,7 +164,7 @@
 # <i>/usr/bin/newaliases</i>
 <comment>(This will install the new aliases. You only need to do this
 when you update or install aliases.)</comment>
-		
+
 # <i>/etc/init.d/postfix start</i>
 </pre>
 
@@ -238,11 +238,11 @@
 
 <p>
 Next we're going to install cyrus-sasl. Sasl is going to play the role of
-actually passing your auth variables to courier-auth, which will in turn pass that
-information to mysql for authentication of smtp users.  For this howto, we'll
-not even try to verify that sasl is working until mysql is set up and contains
-a test user. Which is fine since we'll be authenticating against mysql in the
-end anyway.
+actually passing your auth variables to courier-auth, which will in turn pass
+that information to mysql for authentication of smtp users.  For this howto,
+we'll not even try to verify that sasl is working until mysql is set up and
+contains a test user. Which is fine since we'll be authenticating against
+mysql in the end anyway.
 </p>
 
 <pre caption="Configuring and installing the cyrus-sasl ebuild">
@@ -338,10 +338,9 @@
 mangled by postfix and be unable to auth.)</comment>
 
 smtpd_recipient_restrictions =
-	permit_sasl_authenticated,
-	permit_mynetworks,
-	reject_unauth_destination
-	
+  permit_sasl_authenticated,
+  permit_mynetworks,
+  reject_unauth_destination
 
 <comment>(The next two options enable outgoing encryption.)</comment>
 smtp_use_tls = yes
@@ -455,18 +454,17 @@
 
 # <i>/usr/bin/mysql_install_db</i>
 <comment>(After this command runs follow the onscreen directions
-for adding a root password with mysql, otherwise your db will 
+for adding a root password with mysql, otherwise your db will
 be wide open.)</comment>
 
 # <i>/etc/init.d/mysql start</i>
 # <i>mysqladmin -u root -p create mailsql</i>
 # <i>mysql -u root -p mailsql &lt; genericmailsql.sql</i>
-
 # <i>mysql -u root -p mysql</i>
 mysql> <i>GRANT SELECT,INSERT,UPDATE,DELETE</i>
-	->     <i>ON mailsql.*</i>
-	->     <i>TO mailsql@localhost</i>
-	->     <i>IDENTIFIED BY '$password';</i>
+  ->     <i>ON mailsql.*</i>
+  ->     <i>TO mailsql@localhost</i>
+  ->     <i>IDENTIFIED BY '$password';</i>
 Query OK, 0 rows affected (0.02 sec)
 
 mysql> <i>FLUSH PRIVILEGES;</i>
@@ -495,19 +493,19 @@
 </ul>
 
 <pre caption="alias table sample">
-id   alias    destination
-1    root     foo@bar.com
-2  postmaster foo@bar.com
+id   alias      destination
+1    root       foo@bar.com
+2    postmaster foo@bar.com
 </pre>
 
 <pre caption="user table sample">
 <comment>(Line wrapped for clarity.)</comment>
 id email            clear     name     uid     gid     homedir     \
-	maildir                                quota  postfix
+  maildir                                quota  postfix
 10 foo@virt-domain.com $password realname virtid  virtid  /home/vmail \
-	/home/vmail/virt-domain.com/foo/.maildir/        y
+  /home/vmail/virt-domain.com/foo/.maildir/        y
 13 foo@bar.com      $password realname localid localid /home/foo   \
-	/home/foo/.maildir/                           y
+  /home/foo/.maildir/                           y
 </pre>
 
 <p>
@@ -522,8 +520,8 @@
 </pre>
 
 <pre caption="virtual table sample">
-id   email               destination
-3   root@virt-domain.com other@email.address
+id   email                destination
+3    root@virt-domain.com other@email.address
 </pre>
 
 </body>
@@ -573,7 +571,7 @@
 # <i>cp /etc/ssl/misc/new.cert.cert /etc/apache2/ssl/</i>
 # <i>cp /etc/ssl/misc/new.cert.key /etc/apache2/ssl/</i>
 # <i>cd /etc/apache2/vhosts.d</i>
-<comment>(Check if you have an ssl-vhost template already. 
+<comment>(Check if you have an ssl-vhost template already.
  Copy that one instead of the default_vhost if that is the case)</comment>
 # <i>cp 00_default_vhost.conf ssl-vhost.conf</i>
 # <i>nano -w ssl-vhost.conf</i>
@@ -685,65 +683,65 @@
 # <i>nano -w /etc/postfix/mysql-aliases.cf</i>
 # mysql-aliases.cf
 
-user         	= mailsql
-password     	= $password
-dbname       	= mailsql
-table        	= alias
-select_field 	= destination
-where_field  	= alias
-hosts        	= unix:/var/run/mysqld/mysqld.sock
+user         = mailsql
+password     = $password
+dbname       = mailsql
+table        = alias
+select_field = destination
+where_field  = alias
+hosts        = unix:/var/run/mysqld/mysqld.sock
 </pre>
 
 <pre caption="/etc/postfix/mysql-relocated.cf">
 # <i>nano -w /etc/postfix/mysql-relocated.cf</i>
 # mysql-relocated.cf
 
-user         	= mailsql
-password     	= $password
-dbname       	= mailsql
-table        	= relocated
-select_field 	= destination
-where_field  	= email
-hosts        	= unix:/var/run/mysqld/mysqld.sock
+user         = mailsql
+password     = $password
+dbname       = mailsql
+table        = relocated
+select_field = destination
+where_field  = email
+hosts        = unix:/var/run/mysqld/mysqld.sock
 </pre>
 
 <pre caption="/etc/postfix/mysql-transport.cf (optional)">
-# <i>nano -w /etc/postfix/mysql-transport.cf</i>		
+# <i>nano -w /etc/postfix/mysql-transport.cf</i>
 # mysql-transport.cf
 
-user         	= mailsql
-password     	= $password
-dbname       	= mailsql
-table        	= transport
-select_field 	= destination
-where_field  	= domain
-hosts        	= unix:/var/run/mysqld/mysqld.sock
+user         = mailsql
+password     = $password
+dbname       = mailsql
+table        = transport
+select_field = destination
+where_field  = domain
+hosts        = unix:/var/run/mysqld/mysqld.sock
 </pre>
 
 <pre caption="/etc/postfix/mysql-virtual-gid.cf (optional)">
 # <i>nano -w /etc/postfix/mysql-virtual-gid.cf</i>
 # mysql-virtual-gid.cf
 
-user          	= mailsql
+user            = mailsql
 password        = $password
-dbname        	= mailsql
+dbname          = mailsql
 table           = users
 select_field    = gid
 where_field     = email
 additional_conditions = and postfix = 'y'
-hosts         	= unix:/var/run/mysqld/mysqld.sock
+hosts           = unix:/var/run/mysqld/mysqld.sock
 </pre>
 
 <pre caption="/etc/postfix/mysql-virtual-maps.cf">
 # <i>nano -w /etc/postfix/mysql-virtual-maps.cf</i>
 # mysql-virtual-maps.cf
 
-user        	= mailsql
+user            = mailsql
 password        = $password
 dbname          = mailsql
 table           = users
 select_field    = maildir
-where_field   	= email
+where_field     = email
 additional_conditions = and postfix = 'y'
 hosts           = unix:/var/run/mysqld/mysqld.sock
 </pre>
@@ -757,7 +755,7 @@
 dbname          = mailsql
 table           = users
 select_field    = uid
-where_field    	= email
+where_field     = email
 additional_conditions = and postfix = 'y'
 hosts           = unix:/var/run/mysqld/mysqld.sock
 </pre>
@@ -766,13 +764,13 @@
 # <i>nano -w /etc/postfix/mysql-virtual.cf</i>
 # mysql-virtual.cf
 
-user         	= mailsql
-password     	= $password
-dbname       	= mailsql
-table        	= virtual
-select_field 	= destination
-where_field  	= email
-hosts        	= unix:/var/run/mysqld/mysqld.sock
+user         = mailsql
+password     = $password
+dbname       = mailsql
+table        = virtual
+select_field = destination
+where_field  = email
+hosts        = unix:/var/run/mysqld/mysqld.sock
 </pre>
 
 <p>
@@ -789,7 +787,7 @@
 local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
 
 virtual_transport = virtual
-<comment>(The domains listed by the mydestination should not be listed in 
+<comment>(The domains listed by the mydestination should not be listed in
  the virtual_mailbox_domains parameter)</comment>
 virtual_mailbox_domains = virt-domain.com, $other-virtual-domain.com
 
@@ -892,7 +890,7 @@
 <pre caption="mailman config: mm_cfg.py">
 # <i>nano -w /usr/local/mailman/Mailman/mm_cfg.py</i>
 MTA = "Postfix"
-POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virt-domain.com', 'virt.domain2.com']	
+POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virt-domain.com', 'virt.domain2.com']
 add_virtualhost('www.virt.domain.com', 'virt.domain.com')
 add_virtualhost('www.virt.domain2.com', 'virt.domain2.com')
 <comment>(This is required for your virtual domains for mailman to function.)</comment>
@@ -947,12 +945,12 @@
 <comment>(Read README.POSTFIX.gz for details on this.)</comment>
 
 alias_maps     =
-	hash:/usr/local/mailman/data/aliases,
-	mysql:/etc/postfix/mysql-aliases.cf
+  hash:/usr/local/mailman/data/aliases,
+  mysql:/etc/postfix/mysql-aliases.cf
 
 virtual_alias_maps =
-	hash:/usr/local/mailman/data/virtual-mailman,
-	mysql:/etc/postfix/mysql-virtual.cf
+  hash:/usr/local/mailman/data/virtual-mailman,
+  mysql:/etc/postfix/mysql-virtual.cf
 <comment>(This adds mailman alias file support to postfix
 You may of course use the mysql tables for this,
 but I hate doing that by hand. Also, if you are not



-- 
gentoo-doc-cvs@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-05-21 19:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23 15:44 [gentoo-doc-cvs] cvs commit: virt-mail-howto.xml swift
  -- strict thread matches above, loose matches on Subject: below --
2008-05-21 19:39 Sven Vermeulen
2007-07-20  9:09 Josh Saddler
2007-07-16  2:31 Josh Saddler
2006-09-04  8:49 Josh Saddler
2006-07-04  0:21 Lukasz Damentko
2006-06-18 22:09 Josh Saddler
2006-04-09  7:42 Shyam Mani
2006-03-13 19:39 Josh Saddler
2006-01-08  1:10 Marcelo Goes
2005-12-16  7:43 Shyam Mani
2005-12-02 14:49 Xavier Neys

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox