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

<chapter id="test">
	<title>
	test
	</title>


<sect1>
	<title>
	before test
	</title>

<warning>
<para>
set up MTA properly before test of fml.
</para>
</warning>

<para>
In this chapter,
&fmldevel; and MTA works on ahodori.fml.org, which is called as 
the mail server.
</para>

</sect1>


<sect1>
	<title>
	test of only MTA
	</title>

<para>
check MTA without fml on ahodori.fml.org.
</para>

<para>
FIrstly, 
prepare one personal user address such as rudo@fml.org.
Usually, just create a user named as "rudo".
<screen>
# useradd rudo
</screen>
</para>

<para>
You should verify SMTP over network.
Send a mail to rudo@fml.org from other host (not ahodori.fml.org).
If rudo receives the mail, o.k.
</para>

<para>
Secondly check the local delivery.
send a mail to rudo@fml.org on ahodori.fml.org.
<screen>
% echo test |Mail rudo@fml.org
</screen>
</para>

</sect1>


<sect1>
	<title>
	send a mail to ML
	</title>

<para>
Create elena ML (elena@fml.org) and subscribe rudo@fml.org to elena ML.
<screen>
% su fml
% makefml newml elena
% makefml add elena rudo@fml.org
</screen>
</para>

<para>
Send a test mail to elena@fml.org from other host (not ahodori.fml.org).
Verify the header of this test mail should be "From: rudo@fml.org".
</para>

<sect2>
	<title>
	checks
	</title>

<para>
If not works well, check the following: 
<screen>
check the mail server log (e.g. /var/log/maillog)
check the fml log (e.g. /var/spool/m/elena/log)
fml pass the message to MTA ?
MTA succeeds to deliver it?
</screen>
</para>

</sect2>

</sect1>


<sect1>
	<title>
	test of fml8 itself.
	</title>

<para>
not yet implemented.
</para>

</sect1>


<sect1>
	<title>
	reset after test.
	</title>

<para>
It is easy to re-create this mailing list (e.g. test ML).
<screen>
% su fml
% makefml rmml test
% makefml newml test
</screen>
The removed ML home is left as /var/spool/ml/@test.
Please remove it since this is a test to avoid the duplication in the
future.
<screen>
% rm -fr /var/spool/ml/@test
</screen>
</para>

</sect1>


</chapter>
