summaryrefslogtreecommitdiff
path: root/fml/doc/en/tutorial/internals/merge.sgml
blob: a32a55e469477a54fa6bcce1c592b8db34c8cafa (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
<!--
   $FML: merge.sgml,v 1.1 2005/07/27 12:21:37 fukachan Exp $
-->


<chapter id="merge.internal.to.fml8">
	<title>
	Convert Another ML System To &fml8;
	</title>


<sect1 id="merge.internal.fml4to8">
	<title>
	Implementation: &fml4; To &fml8;
	</title>

<sect2>
	<title>
	Case 1: /var/spool/ml/elena/ From &fml4; To &fml8;
	</title>

<para>
This conversion does the following steps in fact.
</para>

<para>
1) install &fml8; firstly. In this case, add
/var/spool/ml/etc/mail/aliases into $alias_maps of postfix main.cf.
/var/spool/ml/etc/mail/aliases may be empty.
</para>

<para>
2) run "makefml --force newml elena" to create several files &fml8;
needs.
</para>

<para>
3) convert address lists in /var/spool/ml/elena to &fml8; style.
</para>

<para>
3-1)
IO::Adapter ignores a line beginning with '^#' as a comment.
We should handle carefully it since
"actives" file contains ^# lines as "off" address.
</para>

<para>
3-2)
s=skip (off) options is ignored. 
It handles as "on".
</para>

<para>
3-3)
m=... (digest) options is ignored.

Also, "# address" is "off" in the case of &fml4; but ignored in the
case of &fml8;. We should warn it ?
</para>

<para>
4) remove the corresponding entry of alias file
(/var/spool/ml/etc/fml/aliases) of &fml4; and rebuild .db. 
</para>

</sect2>


<sect2>
	<title>
	Case 2: Convert The Whole /var/spool/ml/ From &fml4; To &fml8;
	</title>

<para>
Apply case 1 for all ML's.
</para>

<para>
If we can stop all ML's, it is easy to remove
/var/spool/ml/etc/fml/aliases of &fml4; firstly and apply case 1 steps.
Please stop MTA in migration.
</para>

</sect2>


<sect2>
	<title>
	Discussion: Use Half And Half Of &fml4; And &fml8; Softwares.
	</title>

<para>
(X-Sequence: fml-devel 389)
</para>

<para>
How in half and half case.
</para>

<para>
For example, site_init.ph or config.ph of &fml4; follows
<screen>
[fml4]

push(@ACTIVE_LIST,"$DIR/recipients") if( -f "$DIR/recipients" ) ;
</screen>
instead in the case of &fml8;
site_default_config.cf or config.cf follows: 
<screen>
[fml8]

html_archive_dir = $ml_home_dir/htdocs
</screen>
</para>

</sect2>

</sect1>


</chapter>