blob: e2d13e3fd8dc7c757b5c02a333585014b46886c6 (
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
|
<!--
$FML: recipe.forward.sgml,v 1.2 2005/09/25 04:27:17 fukachan Exp $
$jaFML: recipe.forward.sgml,v 1.2 2003/04/15 14:51:38 fukachan Exp $
-->
<qandaentry>
<question>
<para>
Wwitch forwarding address regarding the mail content.
</para>
</question>
<answer>
<para>
It is simple if you can prepare different files as necessary.
For example, prepare
<screen>
recipients.A
recipients.B
recipients.C
</screen>
for the corresponding conditions A B C.
Set up the following hook:
<screen>
if (condition A matched) {
$config->set('recipient_maps', "recipients.A");
}
elsif (condition B matched) {
$config->set('recipient_maps', "recipients.B");
}
elsif (condition C matched) {
$config->set('recipient_maps', "recipients.C");
}
</screen>
</para>
</answer>
</qandaentry>
|