blob: c95fbf30eb54f15b77dbc7f0a9d793ab748d7c14 (
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
|
<!--
$FML: procmail.sgml,v 1.2 2005/07/23 01:57:37 fukachan Exp $
$jaFML: procmail.sgml,v 1.3 2003/04/15 14:51:44 fukachan Exp $
-->
<sect1 id="setup.procmail">
<title>
I Want To Use ML By My Account.
</title>
<para>
When you set up an ML within your account, for example when you are
using virtual domain service of ISP, you need to use a mail processor
such as procmail.
</para>
<para>
To catch up messages to ML's, you need to filter messages according to
To: or Cc: in the mail header.
</para>
<para>
&fml8; expects the user uses a filter tool such as procmail in such a
situation. &fml8; distribution itself does not provide such a tool.
</para>
<para>
When running "makefml newml", "makefml" creates/updates ~/.procmailrc
sample at /var/spool/ml/etc/procmail/procmailrc. Please use it as a
sample.
</para>
<sect2 id="setup.procmailrc">
<title>
~/.procmailrc Example
</title>
<para>
<screen>
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:/usr/pkg/bin
MAILDIR=$HOME/Mail # You'd better make sure it exists
DEFAULT=$HOME/Mail/mbox
LOGFILE=$MAILDIR/procmail.log
LOCKFILE=$HOME/.lockmail
VERBOSE=on
:0
* To.*elena@fml.org
| /usr/local/libexec/fml/fml.pl /var/spool/ml/elena
:0
* To.*elena-ctl@fml.org
| /usr/local/libexec/fml/fml.pl /var/spool/ml/elena --ctladdr
# last resort, mail for me et. al.
:0
inbox/.
</screen>
</para>
</sect2>
<sect2>
<title>
Virtual Domain Case
</title>
<para>
The procmail rules above contains ml_name and ml_domain within it.
So it does not need special handling for virtual domain.
It is same for both default domain and virtual domain.
</para>
<para>
MTA configuration is another issue. Please contact administrator on
it.
</para>
</sect1>
|