| 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.33 2004/07/28 08:40:43 cam Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/virt-mail-howto.xml,v 1.34 2004/09/30 12:10:15 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" > |
| … | |
… | |
| 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.11</version> |
17 | <version>1.0.12</version> |
| 18 | <date>April 11, 2004</date> |
18 | <date>September 30, 2004</date> |
| 19 | <!-- |
19 | <!-- |
| 20 | |
20 | |
| 21 | Contents |
21 | Contents |
| 22 | |
22 | |
| 23 | I. Introduction |
23 | I. Introduction |
| … | |
… | |
| 138 | <codenote>so we need to turn them off for this build.</codenote> |
138 | <codenote>so we need to turn them off for this build.</codenote> |
| 139 | </pre> |
139 | </pre> |
| 140 | <p>Next, edit <path>/etc/sasl2/smtpd.conf</path>.</p> |
140 | <p>Next, edit <path>/etc/sasl2/smtpd.conf</path>.</p> |
| 141 | <pre caption="Starting sasl" > |
141 | <pre caption="Starting sasl" > |
| 142 | # <i>nano -w /etc/sasl2/smtpd.conf</i> |
142 | # <i>nano -w /etc/sasl2/smtpd.conf</i> |
|
|
143 | pwcheck_method: auxprop |
|
|
144 | auxprop_plugin: sql |
|
|
145 | sql_engine: mysql |
|
|
146 | sql_hostnames: localhost |
|
|
147 | sql_user: mailsql |
|
|
148 | sql_passwd: <comment><password></comment> |
|
|
149 | sql_database: mailsql |
|
|
150 | sql_select: select clear from users where email = '%u@%r' |
|
|
151 | mech_list: plain login |
| 143 | pwcheck_method: saslauthd |
152 | pwcheck_method: saslauthd |
| 144 | mech_list: LOGIN PLAIN |
153 | mech_list: LOGIN PLAIN |
| 145 | <codenote>It's important to turn off auth methods we are not using.</codenote> |
154 | <codenote>It's important to turn off auth methods we are not using.</codenote> |
| 146 | <codenote>They cause problems for some mail clients.</codenote> |
155 | <codenote>They cause problems for some mail clients.</codenote> |
| 147 | # <i>/etc/init.d/saslauthd start</i> |
156 | # <i>/etc/init.d/saslauthd start</i> |