blob: c9145f254be520e593e4f45f52f4cd1ba0a76580 (
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
|
<!--
$FML: reply.sgml,v 1.1 2001/05/17 00:47:35 fukachan Exp $
-->
<chapter id="reply">
<TITLE> fml ����������� </TITLE>
<sect1>
<title> ���� </title>
<para>
�����֤��٤�����
Mail::Delivery::Queue
��Ȥ� queue ��������ޤ���
queue �����ä����ϡ��Τ���
FML::Process::QueueManager
���饹��(����)�����ޤ���
</para>
<para>
queue �ե������ queue �ǥ��쥯�ȥ꤫�� pickup ���졢
Mail::Message �� parse ����
FML::Mailer ��ͳ��
Mail::Delivery �����������ޤ���
</para>
</sect1>
<sect1>
<title> queue �ǥ��쥯�ȥ� </title>
<para>
queue �ǥ��쥯�ȥ��ʣ���Υǥ��쥯�ȥ꤫��ʤ�ޤ���
<screen>
new/
active/
deferred/
info/sender/
info/recipients/
</screen>
info/ �ˤ� envelope ����Ǽ����ޤ���
</para>
<para>
queue �ե����������ϡ���ö new/ �˺�������ޤ���
queue �ե���������Ȥ���λ������������ OK �Ȥʤä���
new/ ���� active/ �˰�ư����ޤ���
�Ĥޤ� active/ �ˤ���ե�����������������Ǥ��Ƥ����ΤǤ���
</para>
<sect2>
<title> queue �ǥ��쥯�ȥ����å����� </title>
<para>
����� $queue_id object ���Ȥ� lock() �� unlock() ��åɤ�Ȥ���
���å����ޤ���
���å��� active/$queue_id �ե�������Ф��Ƥ� flock(2) �����ƥॳ����Ǥ���
</para>
</sect2>
</sect1>
<sect1>
<title>
fml ����Ǥɤ����뤫��
</title>
<para>
sender �ˤ����å������������֤��������ϡ����Τ褦�ˤ��ޤ���
<screen>
$curproc->reply_message( "you are not a ML member." );
</screen>
</para>
<warning>
<para>
����������Ѵ��Ϥɤ��Ǥɤ��ؼ�����٤���
</para>
</warning>
<para>
�ե���������ꤿ��������������ꤿ�����ϼ��Τ褦�ˤ��ޤ���
<screen>
$curproc->reply_message( {
type => "text/plain; charset=iso-2022-jp",
path => "/etc/fml/main.cf",
filename => "main.cf",
disposition => "main.cf example",
});
$curproc->reply_message( {
type => "image/gif",
path => "/some/where/logo001.gif",
filename => "logo.gif",
disposition => "attachment",
});
</screen>
</para>
</sect1>
</chapter>
|