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


<chapter id="setup.newml">
	<title>
	Create ML on UNIX
	</title>


<sect1>
	<title>
	run "makefml newml" to create an ML
	</title>

<para>
To create an ML, use "makefml" command (CUI).
<screen>
% su fml
% makefml newml elena
</screen>
</para>


<para>
"makefml newml" processes the following steps.

<itemizedlist>

   <listitem>
        <para>
	create files such as
	<screen>
	config.cf
	include
	include-ctl
	</screen>
	at /var/spool/ml/elena.
	The domai name et.al.  in these files is replaced to proper value.
        </para>
   </listitem>

   <listitem>
        <para>
	add elena ML entry into /var/spool/ml/etc/mail/aliases.
	run postalias to rebuild /var/spool/ml/etc/mail/aliases.db.
        </para>
   </listitem>

   <listitem>
        <para>
	create ~fml/.qmail-* files for qmail.
        </para>
   </listitem>

   <listitem>
        <para>
	update procmailrc as a sample.
        </para>
   </listitem>

   <listitem>
        <para>
	create samples for each MTA.
        </para>
   </listitem>

   <listitem>
        <para>
	prepare the directory
	<screen>
	~fml/public_html/fml/mlarchive/$domain/$ml/
	</screen>
	for html archive.
	For example, for elena@fml.org
	<screen>
	~fml/public_html/fml/mlarchive/fml.org/elena/
	</screen>
	is creatd.
	HTML archive of ML articles is created by default.
        </para>
   </listitem>

   <listitem>
        <para>
	prepare CGI (GUI). set up 
	<screen>
	~fml/public_html/cgi-bin/fml/$domain/admin/config.cgi
	</screen>
	for the master cgi, instead cgi to control one ML $ml@$domain
	is set up at
	<screen>
	~fml/public_html/cgi-bin/fml/$domain/ml-admin/$ml/config.cgi
	</screen>
        </para>
   </listitem>

</itemizedlist>
</para>

</sect1>


<!-- MTA config -->
&sect.setup.postfix;
&sect.setup.qmail;


<!-- each ML config -->
&sect.setup.config.cf;


</chapter>
