/[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.9 Revision 1.10
121<pre caption="Configuring and installing the cyrus-sasl ebuild" > 121<pre caption="Configuring and installing the cyrus-sasl ebuild" >
122 # <i>USE='-ldap -mysql' emerge cyrus-sasl</i> 122 # <i>USE='-ldap -mysql' emerge cyrus-sasl</i>
123<codenote>We don't have ldap and we're not using sasl's mysql capabilities </codenote> 123<codenote>We don't have ldap and we're not using sasl's mysql capabilities </codenote>
124<codenote>so we need to turn them off for this build.</codenote> 124<codenote>so we need to turn them off for this build.</codenote>
125</pre> 125</pre>
126<p>Next, edit <path>/var/lib/sasl2/smtp.conf</path>.</p> 126<p>Next, edit <path>/usr/lib/sasl2/smtp.conf</path>.</p>
127<pre caption="Starting sasl" > 127<pre caption="Starting sasl" >
128 # <i>nano -w /var/lib/sasl2/smtp.conf</i> 128 # <i>nano -w /var/lib/sasl2/smtp.conf</i>
129 pwcheck_method: saslauthd 129 pwcheck_method: saslauthd
130 mech_list: LOGIN PLAIN 130 mech_list: LOGIN PLAIN
131<codenote>It's important to turn off auth mehtods we are not using.</codenote> 131<codenote>It's important to turn off auth mehtods we are not using.</codenote>
255<body> 255<body>
256<p>Next we're going to install and configure MySQL. You'll need the <uri link="http://kickasskungfu.com/~ken/genericmailsql.sql" >genericmailsql.sql</uri> dumpfile for this step.</p> 256<p>Next we're going to install and configure MySQL. You'll need the <uri link="http://kickasskungfu.com/~ken/genericmailsql.sql" >genericmailsql.sql</uri> dumpfile for this step.</p>
257<pre caption="Installing and configuring MySQL" > 257<pre caption="Installing and configuring MySQL" >
258 # <i>emerge mysql</i> 258 # <i>emerge mysql</i>
259 259
260 # <i>/usr/sbin/mysql_install_db</i> 260 # <i>/usr/bin/mysql_install_db</i>
261<codenote>After this command runs follow the onscreen directions</codenote> 261<codenote>After this command runs follow the onscreen directions</codenote>
262<codenote>for adding a root password with mysql,</codenote> 262<codenote>for adding a root password with mysql,</codenote>
263<codenote>not mysqladmin, otherwise your db will be wide open.</codenote> 263<codenote>not mysqladmin, otherwise your db will be wide open.</codenote>
264 264
265 # <i>/etc/init.d/mysql start</i> 265 # <i>/etc/init.d/mysql start</i>
266 # <i>mysqladmin -u root -p create mailsql</i> 266 # <i>mysqladmin -u root -p create mailsql</i>
267 # <i>mysql -u root -p --opt mailsql &lt; genericmailsql.sql</i> 267 # <i>mysql -u root -p mailsql &lt; genericmailsql.sql</i>
268 268
269 # <i>mysql -u root -p mysql</i> 269 # <i>mysql -u root -p mysql</i>
270 mysql> <i>GRANT SELECT,INSERT,UPDATE,DELETE</i> 270 mysql> <i>GRANT SELECT,INSERT,UPDATE,DELETE</i>
271 -> <i>ON mailsql.*</i> 271 -> <i>ON mailsql.*</i>
272 -> <i>TO mailsql@localhost</i> 272 -> <i>TO mailsql@localhost</i>

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20