/
listowner_notification.tt2
146 lines (103 loc) · 5.67 KB
/
listowner_notification.tt2
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[%# listowner_notification.tt2 ~%]
To: [% to %]
[% IF type == 'list_created' -%]
[% PROCESS 'list_created.tt2' -%]
[% ELSIF type == 'list_rejected' -%]
[% PROCESS 'list_rejected.tt2' -%]
[% ELSIF type == 'arc_quota_exceeded' -%]
Subject: [%"List %1 archive quota exceeded"|loc(list.name)|qencode%]
[%|loc(list.name,domain,size,domain,conf.listmaster_email)%]%1 archive quota exceeded.
Total size used for %1@%2 archive is %3 Bytes. Messages are no longer being web-archived. Please contact %5@%4.[%END%]
[% ELSIF type == 'arc_quota_95' -%]
Subject: [%"List \"%1\" warning: archive %2% full"|loc(list.name,rate)|qencode%]
[%|loc(rate2,list.name,domain,rate)%]%2@%3 archives use %4% of allowed disk quota.[%END%]
[%|loc(list.name,size)%]Total size used for %1@%2 Bytes.[%END%]
[%|loc(domain,conf.listmaster_email)%]Messages are still archived but you should contact %2@%1[%END%].
[% ELSIF type == 'list_closed_family' -%]
Subject: [%"List %1 is closed"|loc(list.name)|qencode%]
[%|loc(list.name,domain,list.family.name)%]%1@%2 is no longer an instance of family %3.
This list has been closed.[%END%]
[% ELSIF type == 'warn-signoff' -%]
Subject: [%"FYI: %1 List \"%2\" from %3 %4"|loc(type,list.name,who,gecos)|qencode%]
[%|loc(who,gecos,list.name)%]WARNING: %1 %2 failed to unsubscribe from %3 because their address was not found in the list.
You may help this person looking for similar email in subscriber list using the following link :[%END%]
[% 'search' | url_abs([list.name,who]) %]
[% ELSIF type == 'erase_customizing' -%]
Subject: [%"List \"%1\" customizations have been removed"|loc(list.name)|qencode%]
[%|loc(list.name,domain,param0,param1,param2)%]List %1@%2 has been reinstantiated (family %3).
Some of the customizations have been removed because they no longer respect the family rules:
Parameters: %4
[%END%]
[% ELSIF type == 'subrequest' -%]
Subject: [%"Subscription request to list %1"|loc(list.name)|qencode%]
[%|loc(list.name)%]Dear owner of list %1,[%END%]
[%IF gecos; SET target="${gecos} <${who}>"; ELSE; SET target="<${who}>"; END~%]
[%|loc(target)%]A user %1 asked to be added as a subscriber to your list. If this is OK with you, you should click the following URL:[%END%]
[% IF conf.wwsympa_url -%]
[% 'auth' | url_abs([keyauth,'add',list.name],{email=>user.email}) %]
[%- ELSE -%]
[% "${conf.email}@${domain}" | mailtourl({subject=>"AUTH ${keyauth} ADD ${list.name} ${who} ${gecos}"}) %]
[%|loc(conf.email,domain)%]Or send a message to %1@%2 with the following subject:[%END%]
AUTH [%keyauth%] ADD [%list.name%] [%who%] [%gecos%]
[%- END %]
[% IF custom_attribute %]
[%|loc%]The user has provided the following information:[%END%]
[% FOREACH attribute = custom_attribute %]
[% attribute.key %][%|loc%]:[%END%] [% attribute.value.value -%]
[%END-%]
[% END %]
[% ELSIF type == 'sigrequest' -%]
Subject: [%"UNsubscription request from list %1"|loc(list.name)|qencode%]
[%|loc(list.name)%]Dear owner of list %1,[%END%]
[% SET target = "<${who}>" ~%]
[%|loc(target)%]A user %1 asked to be deleted from your list. If this is OK with you, you should click the following URL:[%END%]
[% IF conf.wwsympa_url -%]
[% 'auth' | url_abs([keyauth,'del',list.name],{email=>user.email}) %]
[%- ELSE -%]
[% "${conf.email}@${domain}" | mailtourl({subject=>"AUTH ${keyauth} DEL ${list.name} ${who}"}) %]
[%|loc(conf.email,domain)%]Or send a message to %1@%2 with the following subject:[%END%]
AUTH [%keyauth%] DEL [%list.name%] [%who%]
[%- END %]
[% ELSIF type == 'automatic_bounce_management' -%]
[% PROCESS 'automatic_bounce_management.tt2' -%]
[% ELSIF type == 'bounce_rate' -%]
Subject: [%"WARNING: bounce rate too high in list %1"|loc(list.name)|qencode%]
[%|loc(list.name,rate)%]Bounce rate in list %1 is %2. You should delete bouncing subscribers:
[%END%]
[% 'reviewbouncing' | url_abs([list.name]) %]
[% ELSIF type == 'notice' -%]
Subject: [%"FYI: %1 list %2 from %3 %4"|loc(command,list.name,who,gecos)|qencode%]
[%|loc(command,list.name,who,gecos)%]FYI command %1 list %2 from %3 %4[%END%][% IF by -%][%|loc(by)%] validated by %1 [%END%]
[%|loc%]No action is needed on your side.[%END%]
[%END%]
[% ELSIF type == 'automatic_del' -%]
Subject: [%"FYI: automatic removal of user %1"|loc(who)|qencode%]
Content-Type: multipart/mixed; boundary="[% boundary %]"
--[% boundary %]
Content-Disposition: inline
[%|loc(who,list.name)%]User <%1> has been automatically removed from list %2.[%END%]
[% IF reason == 'arf' -%]
[%|loc%]The user complain to abuse service about a message from the list using email feedback report.[%END%]
[% ELSIF reason == 'welcome' -%]
[%|loc%]The welcome message (or a subscription reminder) sent to the user has triggered a non-delivery report. The user email address might be incorrect.[%END%]
[%END%]
[%|loc%](no action needed)[%END%]
--[% boundary %]
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
X-Sympa-Attach: yes
[%# msg #%]
--[% boundary %]--
[% ELSIF type == 'failed_to_change_included_member' -%]
Subject: [%"List %1: Failed to change member email address"|loc(list.name)|qencode%]
[%|loc(current_email,new_email,datasource)%]User %1 could not change their member email address (new email address is %2) because they are included via a the following data sources: %3.
If you are able to do so, you should probably update these data sources with this person's new email address.[%END%]
[% ELSIF type == 'bad_named_filter' -%]
Subject: [%"List %1: Failed to load named filter"|loc(list.name)|qencode%]
[%|loc(list.name,domain,filter)%]A named filter for list %1@%2 could not be loaded. Check the filter definition in %3.[%END%]
[% ELSE -%]
Subject: [%"List %1 / %2"|loc(list.name,type)|qencode%]
[% param0 %]
[% END %]
[%# end listowner_notification.tt2 ~%]