moderate.tt2 2.18 KB
Newer Older
1
From: [% fromlist %]
2
To: [% list.name %]-editor@[% list.host %]
3
[% IF request_topic -%]Subject: [% FILTER qencode %][%|loc(list.name,msg_from)%]Article to be tagged for list %1 from %2[%END%][%END%]
4
[% ELSE -%]Subject: [% FILTER qencode %][%|loc(list.name,msg_from)%]Message for list %1 from %2 to be approved[%END%][%END%]
5
[% END -%]
salaun's avatar
salaun committed
6
Reply-To: [% conf.email %]@[% conf.host %]
7
[% IF spam_status != 'spam' -%]
salaun's avatar
salaun committed
8
9
10
Content-Type: multipart/mixed; boundary="[% boundary %]"

--[% boundary %]
11
[% END -%]
12
13
Content-Type: text/plain; charset="UTF-8";
Content-Transfer-Encoding: 8bit
salaun's avatar
salaun committed
14

15
16
17
18
19
[%|loc(list.name,msg_from)%]One new message from list %1 from %2 arrived. [%END%]
[%- IF spam_status == 'spam' -%][%|loc%]This message as been tagued as a spam[%END%][% END %]

[%|loc(mod_spool_size)%]They are %1 messages awaiting moderation.[%END%] 
[%|loc(conf.wwsympa_url,one_time_ticket) %]You can browse and accept or refuse them by web : %1/ticket/%2[%END%] 
20

21
[% IF method == 'md5' -%]
22
[% IF request_topic -%][%|loc(list.name,conf.wwsympa_url,modkey)%]To tag the message in list %1 for the appropriate topic, please use the following link :
23

24
25
26
%2/viewmod/%1/%3
[%END%]
[%- ELSE -%]
27
28
29
30
[%- IF spam_status == 'spam' -%]
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.
[%- ELSE -%]	
31
[%|loc(list.name)%]To distribute the attached message in list %1:[%END%]
32
[% FILTER escape_url %]mailto:[%conf.sympa%]?subject=DISTRIBUTE [%list.name%] [%modkey%][% END %]
33
[%|loc(conf.email,conf.host)%]Or send a message to %1@%2 with the following subject :[%END%]
salaun's avatar
salaun committed
34
35
DISTRIBUTE [% list.name %] [% modkey %]

36
[%|loc%]To reject it (it will be removed):[%END%]
37
[% FILTER escape_url %]mailto:[%conf.sympa%]?subject=REJECT [%list.name%] [%modkey%][% END %] 
38
[%|loc(conf.email,conf.host)%]Or send a message to %1@%2 with the following subject :[%END%]
salaun's avatar
salaun committed
39
40
REJECT [% list.name %] [% modkey %]

41
[%|loc(conf.wwsympa_url)%]The messages moderating documentation: %1/help/admin#moderate[%END%]
42

salaun's avatar
salaun committed
43
44
--[% boundary %]
Content-Type: message/rfc822
45
Content-Transfer-Encoding: 8bit
salaun's avatar
salaun committed
46
Content-Disposition: inline
47
X-Sympa-Attach: yes
salaun's avatar
salaun committed
48

49
[% INSERT $msg_path IF msg_path %]
salaun's avatar
salaun committed
50
51

--[% boundary %]--
52
53
54
55
[%- END -%]
[% END %]
[% END %]