summaryrefslogtreecommitdiff
path: root/fml/doc/en/tutorial/setup/test.sgml
blob: 970e389dd97e08a228e3d1bfbeb5333241330daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!--
   $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>