moderate.tt2 2.13 KB
Newer Older
1
[%# moderate.tt2 ~%]
2
From: [% fromlist %]
3
To: [% list.name %]-editor@[% list.host %]
4
Subject: [% FILTER qencode %][%|loc(list.name,msg_from)%]Message for list %1 from %2 to be approved[%END%][%END%]
salaun's avatar
salaun committed
5
Reply-To: [% conf.email %]@[% conf.host %]
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 from 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
[%|loc(mod_spool_size)%]They are %1 messages awaiting moderation.[%END%] 
18
[%|loc%]To browse the awaiting messages, you should click on the following link:[%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
30
31
<[% | mailtourl({subject => "DISTRIBUTE ${list.name} ${modkey}"}) ~%]
  [% conf.email %]@[% conf.host %]
[%~ END %]>
32
[%|loc(conf.email,conf.host)%]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
37
38
<[% | mailtourl({subject => "REJECT ${list.name} ${modkey}"}) ~%]
  [% conf.email %]@[% conf.host %]
[%~ END %]>
39
[%|loc(conf.email,conf.host)%]Or send a message to %1@%2 with the following subject:[%END%]
salaun's avatar
salaun committed
40
REJECT [% list.name %] [% modkey %]
41
[%END%]
42
[%|loc%]The messages moderating documentation:[%END%] <[% 'help/admin' | url_abs %]#moderate>
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 %]