<!--
   $FML$
   $jaFML: qmail.sgml,v 1.3 2003/04/15 14:51:39 fukachan Exp $
-->

<sect1 id="install.qmail">
	<title>
	MTA configuration (qmail)
	</title>

<warning>
<para>
&fmldevel; assumes that qmail configurations is based on
/var/qmail/control/virtualdomains always regardless of the default
domain or not.
</para>
</warning>

<para>
The template of /var/qmail/control/virtualdomains is created at
/var/spool/ml/etc/qmail by makefml.
</para>


<sect2>
	<title>
	The default domain (example: fml.org)
	</title>

<para>
At 
<screen>
/var/qmail/control/virtualdomains
</screen>
specify the following rule
<screen>
fml.org:fml-fml.org
</screen>
.
"makefml newml" can set up ~/.qmail-* automatically.
</para>

<para>
See 
<link linkend="setup.qmail.aliases">
the section on "makefml newml and qmail"
</link>
for ~/.qmail-* "makefml newml" creates.
</para>

</sect2>


<sect2>
	<title>
	virtual domain (example: nuinui.net)
	</title>

<para>
For nuinui.net domain, not the default one, specify 
<screen>
nuinui.net:fml-nuinui.net
</screen>
at /var/qmail/control/virtualdomains.
</para>

</sect2>


</sect1>
