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 only MTA
check MTA without fml on ahodori.fml.org.
FIrstly,
prepare one personal user address such as rudo@fml.org.
Usually, just create a user named as "rudo".
# useradd rudo
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.
Secondly check the local delivery.
send a mail to rudo@fml.org on ahodori.fml.org.
% echo test |Mail rudo@fml.org
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 other host (not ahodori.fml.org).
Verify the header of this test mail should be "From: rudo@fml.org".
checks
If not works well, check the following:
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?
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.
Please remove it since this is a test to avoid the duplication in the
future.
% rm -fr /var/spool/ml/@test