moderate.tt2 2.11 KB
Newer Older
1
[%# moderate.tt2 ~%]
2
From: [% fromlist %]
3
4
To: [%"Moderator"|loc|mailbox("${list.name}-editor@${domain}",list.name)%]
Subject: [%"Message for list %1 from %2 to be approved"|loc(list.name,msg_from)|qencode%]
5
Reply-To: [% conf.email %]@[% domain %]
6
[% IF spam_status != 'spam' -%]
salaun's avatar
salaun committed
7
8
9
Content-Type: multipart/mixed; boundary="[% boundary %]"

--[% boundary %]
10
Content-Disposition: inline
11
[% END -%]
salaun's avatar
salaun committed
12

13
[%|loc(list.name,msg_from)%]One new message for list %1 from %2 arrived. [%END%]
14
[%- IF spam_status == 'spam' -%][%|loc%]This message has been tagged as spam.[%END%][% END %]
15

16
[% IF method == 'md5' -%]
17
18
[%|loc(mod_spool_size)%]%1 messages are awaiting moderation.[%END%] 
[%|loc%]To view the messages, please click on the following URL:[%END%] <[% 'ticket' | url_abs([one_time_ticket]) %]>
19

20
[% IF request_topic -%][%|loc()%]This mailing list is configured to require topics; that's probably why this message went through the moderation process.[%END%]
21

22
23
[%END -%]
[% IF spam_status == 'spam' -%]
24
[%|loc%]Because the new message is suspected to be a spam it is not attached to this one. You must use the web interface to reject or validate it.[%END%]
25
26

[% ELSE -%]
27
[% IF method == 'md5' && ! request_topic -%]
28
[%|loc(list.name)%]To distribute the attached message in list %1:[%END%]
29
<[% | mailtourl({subject => "DISTRIBUTE ${list.name} ${modkey}"}) ~%]
30
  [% conf.email %]@[% domain %]
31
[%~ END %]>
32
[%|loc(conf.email,domain)%]Or send a message to %1@%2 with the following subject:[%END%]
salaun's avatar
salaun committed
33
34
DISTRIBUTE [% list.name %] [% modkey %]

35
[%|loc%]To reject it (it will be removed):[%END%]
36
<[% | mailtourl({subject => "REJECT ${list.name} ${modkey}"}) ~%]
37
  [% conf.email %]@[% domain %]
38
[%~ END %]>
39
[%|loc(conf.email,domain)%]Or send a message to %1@%2 with the following subject:[%END%]
salaun's avatar
salaun committed
40
REJECT [% list.name %] [% modkey %]
41
[%END%]
IKEDA Soji's avatar
IKEDA Soji committed
42
[%|loc%]The messages moderating documentation:[%END%] <[% 'help' | url_abs(['admin-moderate.html']) %]>
43
44
45
[%- END%]
[%- END%]
[% IF spam_status != 'spam' -%]
salaun's avatar
salaun committed
46
47
--[% boundary %]
Content-Type: message/rfc822
48
Content-Transfer-Encoding: 8bit
salaun's avatar
salaun committed
49
Content-Disposition: inline
50
X-Sympa-Attach: yes
salaun's avatar
salaun committed
51

52
53
[%# Message is attached here. #%]

salaun's avatar
salaun committed
54
--[% boundary %]--
55
[%- END %]