Test
Before Test
Set up MTA properly before test of fml.
In this chapter,
&fmldevel; and MTA works on ahodori.fml.org, which is called as
the mail server.
Test Of MTA
Firstly, check MTA without fml on ahodori.fml.org.
Prepare one personal user address such as rudo@fml.org.
Usually, just create a user named as "rudo".
# useradd rudo
Check you can send a mail to rudo@fml.org on ahodori.fml.org and rudo
receives the mail.
% echo test |Mail rudo@fml.org
If it not works, check MTA configuration.
See /var/log/maillog et.al to track errors.
Secondary, verify mail delivery over network.
Send a mail to rudo@fml.org from other host (not ahodori.fml.org).
If rudo receives the mail, MTA is o.k.
If both work well, MTA configuration must be ok.
Send A Mail To ML
Create elena ML (elena@fml.org) and subscribe rudo@fml.org to elena ML.
% su fml
% makefml newml elena
% makefml add elena rudo@fml.org
Send a test mail to elena@fml.org from on the host and from other host
(not ahodori.fml.org). Verify the header of this test mail should be
"From: rudo@fml.org" since &fml8; checks the From: header field.
Checkpoints
If something not work well, check the following points:
check the mail server log (e.g. /var/log/maillog)
check the fml log (e.g. /var/spool/m/elena/log)
fml can pass the message to MTA ? (e.g. /var/spool/m/elena/log)
MTA succeeds to deliver it? (e.g. /var/log/maillog)
Test Of &fml8; Itself.
*** not yet implemented ***.
Reset After Test.
It is easy to re-create this mailing list (e.g. test ML).
% su fml
% makefml rmml test
% makefml newml test
The removed ML home is left as /var/spool/ml/@test.$DATE.$SEQUENCE.
Please remove it since this is a test to avoid the duplication in the
future.
% rm -fr /var/spool/ml/@test.$DATE.*