/[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.42 Revision 1.43
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.42 2005/03/25 14:39:17 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.43 2005/03/25 15:00:25 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 7
18<abstract> 18<abstract>
19This document details how to create a virtual mailhosting system based upon 19This document details how to create a virtual mailhosting system based upon
20postfix, mysql, courier-imap, and cyrus-sasl. 20postfix, mysql, courier-imap, and cyrus-sasl.
21</abstract> 21</abstract>
22 22
23<version>1.0.19</version> 23<version>1.0.20</version>
24<date>2005-03-25</date> 24<date>2005-03-25</date>
25 25
26<!-- 26<!--
27Contents 27Contents
28 28
649<c>$password</c> with the password you set for the mailsql mysql user. 649<c>$password</c> with the password you set for the mailsql mysql user.
650</p> 650</p>
651 651
652<pre caption="Configuring authentication"> 652<pre caption="Configuring authentication">
653# <i>emerge pam_mysql</i> 653# <i>emerge pam_mysql</i>
654# <i>nano -w /etc/pam.d/imap</i> 654# <i>nano -w /etc/pam.d/smtp</i>
655<comment>(Comment out the existing auth lines and add the following as shown.)</comment> 655<comment>(Comment out the existing auth lines and add the following as shown.)</comment>
656 656
657#auth required pam_nologin.so
658#auth required pam_stack.so service=system-auth 657#auth required /lib/security/pam_stack.so service=system-auth
659#account required pam_stack.so service=system-auth 658#account required /lib/security/pam_stack.so service=system-auth
660#session required pam_stack.so service=system-auth
661 659
662auth optional pam_mysql.so host=localhost db=mailsql user=mailsql \ 660auth optional pam_mysql.so host=localhost db=mailsql user=mailsql \
663 passwd=$password table=users usercolumn=email passwdcolumn=clear crypt=0 661 passwd=$password table=users usercolumn=email passwdcolumn=clear crypt=0
664account required pam_mysql.so host=localhost db=mailsql user=mailsql \ 662account required pam_mysql.so host=localhost db=mailsql user=mailsql \
665 passwd=$password table=users usercolumn=email passwdcolumn=clear crypt=0 663 passwd=$password table=users usercolumn=email passwdcolumn=clear crypt=0
666 664
667# <i>nano -w /etc/pam.d/pop3</i>
668# <i>nano -w /etc/pam.d/smtp</i>
669<comment>(Make the same changes to the pop3 and smtp files.)</comment>
670</pre> 665</pre>
671 666
672<p> 667<p>
673Next, we need to edit courier's authentication config's. 668Next, we need to edit courier's authentication config's.
674</p> 669</p>

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

  ViewVC Help
Powered by ViewVC 1.1.20