listmaster_notification.tt2 17.3 KB
Newer Older
1
From: SYMPA <[% conf.email %]@[% conf.host %]>
2
To: [% FILTER qencode %][%|loc%]Listmaster[%END%] <[% to %]>[%END%]
sympa-authors's avatar
sympa-authors committed
3
[% IF type == 'request_list_creation' -%]
4
Subject: [% FILTER qencode %][%|loc(list.name,list.host,email)%]List "%1@%2" creation request from %3[%END%][%END%]
salaun's avatar
salaun committed
5

6
[%|loc(email,list.name)%]%1 requested creation of list "%2"[%END%]
7

salaun's avatar
salaun committed
8
9
10
11
[% list.name %]@[% list.host %]
[% list.subject %]
[% conf.wwsympa_url %]/info/[% list.name %]

12
[%|loc%]To activate/delete this mailing list :[%END%]
salaun's avatar
salaun committed
13
[% conf.wwsympa_url %]/get_pending_lists
14
15


16
[% ELSIF type == 'request_list_renaming' -%]
17
Subject: [% FILTER qencode %][%|loc(list.name)%]List "%1" renaming[%END%][%END%]
18

19
[%|loc(email,list.name,new_listname)%]%1 has renamed list "%2" to "%3"[%END%]
20
21
22
23

[%|loc%]To activate/delete this mailing list :[%END%]
[% conf.wwsympa_url %]/get_pending_lists

24
25
26
27
28
29
[% ELSIF type == 'no_db' -%]
Subject: [% FILTER qencode %][%|loc%]No DataBase[%END%][%END%]

[%|loc(db_name)%]Cannot connect to database %1, still trying...[%END%]


30
31
32
33
34
35
[% ELSIF type == 'missing_dbd' -%]
Subject: [% FILTER qencode %][%|loc(db_type)%]No DataBase Driver for %1[%END%][%END%]

[%|loc(db_type)%]No Database Driver installed for %1 ; you should download and install DBD::%1 from CPAN.[%END%]


36
[% ELSIF type == 'crash' -%]
37
Subject: [% FILTER qencode %][%|loc%]Previous process crashed[%END%][%END%]
38
39
40
41
42
43
44
45
46
47
48

[%|loc%]Previous process has died unexpectedly.[%END%]
[%|loc(crash_date)%]Date of crash : %1[%END%]
[%|loc%]Errors:[%END%]

[% FOREACH err IN crash_err%]
[% err %]
[% END %]

[%|loc%]Check log file for further details.[%END%]

49
50
51
52
53
54
55
56
[% ELSIF type == 'upgrade_failed' -%]
Subject: [% FILTER qencode %][%|loc%]Upgrade procedures failed[%END%][%END%]

[%|loc%]Sympa encountered the following error while running upgrade procedures : [%END%]
     [%error%]

[%|loc%]Check log file for further details.[%END%]

57
58
59
60
61
62
63
64
[% ELSIF type == 'db_struct_updated' -%]
Subject: [% FILTER qencode %][%|loc%]Database structure updated[%END%][%END%]

[%|loc(db_name)%]The database structure has been updated ; check log file for further details : [%END%]
[% FOREACH report_item = report -%]
  [% report_item %]
[% END %]

65
66
67
68
69
70
71
72
73
[% ELSIF type == 'db_restored' -%]
Subject: [% FILTER qencode %][%|loc%]DataBase connection restored[%END%][%END%]

[%|loc(db_name)%]Connection to database %1 restored.[%END%]


[% ELSIF type == 'loop_command' -%]
Subject: [% FILTER qencode %][%|loc%]Loop detected[%END%][%END%]
MIME-Version: 1.0
74
Content-Type: multipart/mixed; boundary="[% boundary %]"
75
76
77

--[% boundary %]
Content-Type: text/plain
78
Content-Transfer-Encoding: 8bit
79
80
81
82
83

[%|loc%]A loop has been detected with the following message[%END%]

--[% boundary %]
Content-Type: message/rfc822
84
Content-Transfer-Encoding: 8bit
85
Content-Disposition: inline
86
X-Sympa-Attach: yes
87
88
89
90
91
92

[% INSERT $msg IF msg %]

--[% boundary %]--


sympa-authors's avatar
sympa-authors committed
93
[% ELSIF type == 'virus_scan_failed' -%]
94
Subject: [% FILTER qencode %][%|loc%]Antivirus scan failed[%END%][%END%]
salaun's avatar
salaun committed
95

96
[%|loc%]The antivirus scan has failed while processing the following file:[%END%]
salaun's avatar
salaun committed
97
98
	[% filename %]

99
[%|loc%]The returned error message :[%END%]
salaun's avatar
salaun committed
100
	[% error_msg %]
101
102


103
104
105
[% ELSIF type == 'parameter_error' -%]
Subject: [% FILTER qencode %][%|loc%]Parameter error[%END%][%END%]

106
[%|loc(par_name,par_value)%]The value for parameter %1 was badly defined: %2[%END%]
107
108
109
[%|loc(action)%]%1 impossible.[%END%]
[%|loc%]See logs for more details.[%END%]

110
111
112
113
114
115
[% ELSIF type == 'unable_to_create_dir' -%]
Subject: [% FILTER qencode %][%|loc%]Unable to create directory[%END%][%END%]

[%|loc(dir)%]Sympa could not create directory %1[%END%]
[%|loc%]See logs for more details.[%END%]

116
117
118
119
120
121
[% ELSIF type == 'archiving_failed' -%]
Subject: [% FILTER qencode %][%|loc%]A message archiving failed[%END%][%END%]

[%|loc(file,bad)%]Sympa could not archive message '%1'. Moving it into directory '%2'.[%END%]
[%|loc%]See logs for more details.[%END%]

122
123
124
125
126
127
128
129
[% ELSIF type == 'bounce_management_failed' -%]
Subject: [% FILTER qencode %][%|loc%]A bounce management failed[%END%][%END%]

[%|loc(file,bad)%]Sympa could not handle bounce message '%1'. Moving it into directory '%2'.[%END%]

[%|loc(error)%]Error: %1[%END%]
[%|loc%]See logs for more details.[%END%]

sympa-authors's avatar
sympa-authors committed
130
[% ELSIF type == 'edit_list_error' -%]
131
Subject: [% FILTER qencode %][%|loc%]incorrect format of edit_list.conf[%END%][%END%]
salaun's avatar
salaun committed
132

133
[%|loc%]edit_list.conf format has changed :
salaun's avatar
salaun committed
134
135
'default' is no more accepted for a population.[%END%]

136
137
[%|loc(param0)%]Refer to documentation to adapt %1.[%END%]
[%|loc(param0)%]Until then we recommend your remove %1 ;
salaun's avatar
salaun committed
138
default configuration will be used.[%END%]
sympa-authors's avatar
Update    
sympa-authors committed
139
140

[% ELSIF type == 'sync_include_failed' -%]
141
Subject: [% FILTER qencode %][%|loc(param0)%]subscribers update failed for list %1[%END%][%END%]
salaun's avatar
salaun committed
142

143
[%|loc%]Sympa could not include subscribers from external data sources ; the
salaun's avatar
salaun committed
144
database or LDAP directory might be unreachable.[%END%] 
145
[%|loc%]Check Sympa log files for more precise information[%END%]
sympa-authors's avatar
Update    
sympa-authors committed
146

147
148
149
150
151
152
153

[% ELSIF type == 'sync_include_admin_failed' -%]
Subject: [% FILTER qencode %][%|loc(param0)%]admins update failed for list %1[%END%][%END%]

[%|loc%]Sympa could not include admins from external data sources ; the database or LDAP directory might be unreachable.[%END%]
[%|loc%]Check Sympa log files for more precise information[%END%]

sympa-authors's avatar
Update    
sympa-authors committed
154
155
156
157
158
159
160
[% ELSIF type == 'no_owner_defined' -%]
Subject: [% FILTER qencode %][%|loc(param0)%]list %1 in status error_config[%END%][%END%]

[%|loc(param0)%]No owner is defined for list %1.[%END%]
[%|loc%]The list status has been set to error_config.[%END%]
[%|loc%]Check Sympa log files for more precise information.[%END%]

161

162
163
164
165
166
167
168
169
170
[% ELSIF type == 'listowner_email_changed' -%]
Subject: [% FILTER qencode %][%|loc(param0)%]List owner/editor email changes[%END%][%END%]

[%|loc(previous_email,new_email)%]User %1 has changed his owner/editor email address to %2. This changed has been performed to the following lists :[%END%]
[% FOREACH updated_list = updated_lists -%]
[% updated_list %]
[% END %]


171
[% ELSIF type == 'error_copy_file' -%]
sympa-authors's avatar
Update    
sympa-authors committed
172
173
174
175
176
177
Subject: [% FILTER qencode %][%|loc(param0)%]list %1 in status error_config[%END%][%END%]

[%|loc(param0,param1)%]Errors occured while copying family %2 file in list %1 directory.[%END%]
[%|loc%]The list status has been set to error_config.[%END%]
[%|loc%]Check Sympa log files for more precise information.[%END%]

178

sympa-authors's avatar
Update    
sympa-authors committed
179
180
181
182
183
184
185
186
187
188
189
190
191
192
[% ELSIF type == 'no_respect_rules_family' -%]
Subject: [% FILTER qencode %][%|loc(param0)%]list %1 in status error_config[%END%][%END%]

[%|loc(param0,param1)%]List %1 configuration does not respect family %2 rules.[%END%]
[%|loc%]The list status has been set to error_config.[%END%]
[%|loc%]Check Sympa log files for more precise information.[%END%]

[% ELSIF type == 'no_check_rules_family' -%]
Subject: [% FILTER qencode %][%|loc(param0)%]list %1 in status error_config[%END%][%END%]

[%|loc(param0,param1)%]Sympa could not check family %2 rules with list %1 param_constraint.conf file.[%END%]
[%|loc%]The list status has been set to error_config.[%END%]
[%|loc%]Check Sympa log files for more precise information.[%END%]

193

sympa-authors's avatar
Update    
sympa-authors committed
194
195
196
197
198
199
[% ELSIF type == 'param_constraint_conf_error' -%]
Subject: [% FILTER qencode %][%|loc%]errors in param_constraint.conf file[%END%][%END%]

[%|loc(param0)%]Error(s) found in the file %1.[%END%]
[%|loc%]Check Sympa log files for more precise information.[%END%]

200

201
202
[% ELSIF type == 'param_constraint_conf_error' -%]
Subject: [% FILTER qencode %][%|loc%]errors in param_constraint.conf file[%END%][%END%]
sympa-authors's avatar
Update    
sympa-authors committed
203

204
[%|loc(param0)%]Error(s) found in the file %1.[%END%]
sympa-authors's avatar
Update    
sympa-authors committed
205
206
[%|loc%]Check Sympa log files for more precise information.[%END%]

207
208
209
210
211
212
[% ELSIF type == 'file_removed' -%]
Subject: [% FILTER qencode %][%|loc%]File removed[%END%][%END%]

[%|loc(param0)%]The following file has been removed : %1[%END%]
[%|loc(param1)%]A backup of the file has been made : %1[%END%]

213

sympa-authors's avatar
Update    
sympa-authors committed
214
215
216
217
218
219
220
221
222
223
224
225
226
227
[% ELSIF type == 'no_list_family' -%]
Subject: [% FILTER qencode %][%|loc(param0)%]list %1 in status error_config[%END%][%END%]

[%|loc(param0,param1)%]Sympa could not load family %2 for list %1.[%END%]
[%|loc%]The list status has been set to error_config.[%END%]
[%|loc%]Check Sympa log files for more precise information.[%END%]

[% ELSIF type == 'instantiation_family' -%]
Subject: [% FILTER qencode %][%|loc(param0)%]list %1 in status error_config[%END%][%END%]

[%|loc(param0,param1)%]Failed to instantiate family %2 for list %1[%END%]
[%|loc%]The list status has been set to error_config.[%END%]
[%|loc%]Check Sympa log files for more precise information.[%END%]

228
229
230
231
232
233
234
[% ELSIF type == 'modify_list_family' -%]
Subject: [% FILTER qencode %][%|loc(param0)%]list %1 in status error_config[%END%][%END%]

[%|loc(param0,param1)%]Sympa could not modify list %1 (Family %2)[%END%]
[%|loc%]The list status has been set to error_config.[%END%]
[%|loc%]Check Sympa log files for more precise information.[%END%]

235

sympa-authors's avatar
sympa-authors committed
236
[% ELSIF type == 'automatic_bounce_management' -%]
237
Subject: [% FILTER qencode %][%|loc(list.name)%]List %1 automatic bounce management[%END%][%END%]
238

sympa-authors's avatar
sympa-authors committed
239
[% IF action == 'notify_bouncers' -%]
240
[%|loc(total,list.name)%]Because we received MANY non-delivery reports, the %1 subscribers listed below have been
241
notified that they might be removed from list %2:[%END%]
sympa-authors's avatar
sympa-authors committed
242
[% ELSIF action == 'remove_bouncers' -%]
243
[%|loc(total,list.name)%]Because we received MANY non-delivery reports, the %1 subscribers listed below have been
244
removed from list %2:[%END%]
sympa-authors's avatar
sympa-authors committed
245
[% ELSIF action == 'none' -%]
246
[%|loc(total,list.name)%]Because we received MANY non-delivery reports, the %1 subscribers listed below have been
247
248
249
selected by Sympa as severe bouncing addresses:[%END%]
[%END%]

sympa-authors's avatar
Update    
sympa-authors committed
250
[% FOREACH user = user_list -%]
251
[% user %]
252
[% END %]
253

sympa-authors's avatar
sympa-authors committed
254
[%|loc%]Managing bouncing subscribers:[%END%] [% conf.wwsympa_url %]/reviewbouncing/[% list.name %]
255
256
257
258
259

[%# INTERNAL SERVER ERROR  : MAIL -%]
[% ELSIF type == 'mail_intern_error' -%]
Subject: [% FILTER qencode %][%|loc(list.name)%]Listmaster : internal server error [%END%][%END%]

260
[%|loc(who)%] User %1 has encountered an internal server error[%END%]
261
([%action%][% IF msg_id %] - MSG_ID : [%msg_id%][%END%][% IF cmd %] - COMMAND : [%cmd%][%END%][% IF list.name %] - LIST : [%list.name%]@[%conf.host%][%END%]) :
262

263
[%IF error%][%error%]
264
265
266
267
268
269
270
271
[%END%]  

[%|loc%]See logs for more details.[%END%]

[%# INTERNAL SERVER ERROR  : WEB -%]
[% ELSIF type == 'web_intern_error' -%]
Subject: [% FILTER qencode %][%|loc(list.name)%]Listmaster : internal server error [%END%][%END%]

272
[%|loc(who)%] User %1 has encountered an internal server error[%END%]
273
([%|loc%]Web interface[%END%] - ACTION : [%action%][% IF list.name %] - LIST : [%list.name%]@[%conf.host%][%END%]) :
274
275

[%IF error == 'chdir_error' %][%|loc%]Unable to change directory.[%END%]
276
[%ELSIF error == 'no_authentication_service_name' %][%|loc%]The authentication server name is not defined.[%END%]
277
278
279
[%ELSIF error == 'auth_conf_no_identified_user' %][%|loc%]auth.conf error : either email_http_header or ldap_host/ldap_get_email_by_uid_filter entries should be defined.[%END%]
[%ELSIF error == 'unknown_authentication_service' %][%|loc(name)%]Unkown authentication service %1.[%END%]
[%ELSIF error == 'add_user_db_failed' %][%|loc(user)%]Add user '%1' in DB failed.[%END%]
280
[%ELSIF error == 'update_user_db_failed' %][%|loc(user)%]Update user '%1' in DB failed[%END%][% IF old_email %][%|loc(old_email)%] (old email : %1)[%END%][%END%]
281
[%ELSIF error == 'add_subscriber_db_failed' %][%|loc(sub)%]Add subscriber '%1' in DB failed.[%END%]
282
[%ELSIF error == 'update_subscriber_db_failed' %][%|loc(sub,old_email)%]Update subscriber '%1' in DB failed[%END%][% IF old_email %][%|loc(old_email)%] (old email : %1)[%END%][%END%]
283
[%ELSIF error == 'delete_subscriber_db_failed' %][%|loc(sub)%]Delete subscriber '%1' in DB failed.[%END%]
284
[%ELSIF error == 'delete_email_failed' %][%|loc(old_email)%]Delete user in DB for old email '%1' failed.[%END%]
285
[%ELSIF error == 'subscriber_not_found' %][%|loc(email,list.name)%]Subscriber '%1' is not found in list %2.[%END%]
286
287
288
289
[%ELSIF error == 'cannot_read' %][%|loc(filepath)%]Unable to read file : '%1'.[%END%]
[%ELSIF error == 'cannot_write' %][%|loc(filepath)%]Unable to write file : '%1'.[%END%]
[%ELSIF error == 'cannot_open_file' %][%|loc(file)%]Unable to open file '%1'.[%END%]
[%ELSIF error == 'cannot_open_dir' %][%|loc(directory)%]Unable to open directory '%1'.[%END%]
290
[%ELSIF error == 'cannot_mkdir' %][%|loc(dir)%]Unable to create directory '%1'.[%END%]
291
292
293
294
295
[%ELSIF error == 'cannot_open_spool' %][%|loc(spool)%]Unable to open spool '%1'.[%END%]
[%ELSIF error == 'cannot_get_msg' %][%|loc(msg)%]Unable to get message '%1'.[%END%]
[%ELSIF error == 'rename_file' %][%|loc(old,new)%]Unable to rename file '%1' into '%2'.[%END%]
[%ELSIF error == 'rename_dir' %][%|loc(old,new)%]Unable to rename directory '%1' into '%2'.[%END%]
[%ELSIF error == 'erase_file' %][%|loc(file)%]Unable to erase file '%1'.[%END%]
296
[%ELSIF error == 'cannot_send_distribute' %][%|loc(from,list.name)%]Unable to send command DISTRIBUTE from '%1' to list '%2'.[%END%]
297
[%ELSIF error == 'no_html_message_available' %][%|loc(dir)%]No HTML version of the message available in '%1'.[%END%]
298
299
300
301
[%ELSIF error == 'update_config_changes' %][%|loc(list.name)%]Unable to update file config_changes for list '%1'.[%END%]
[%ELSIF error == 'month_not_found' %][%|loc(month,list.name)%]Unable to find month '%1' for list '%2'[%END%][%IF dir%][%|loc(dir)%] : unable to read '%1'.[%END%][%END%]
[%ELSIF error == 'arc_not_found' %][%|loc(arc_file,list.name,path)%]Unable to find archive '%1' for list '%2'[%END%][%IF path%][%|loc(path)%] : unable to read '%1'.[%END%][%END%]
[%ELSIF error == 'inaccessible_archive' %][%|loc(list.name)%]Unable to find archive for list '%1'[%END%][%IF path%][%|loc(path)%] : unable to read '%1'.[%END%][%END%]
302
303
[%ELSIF error == 'may_not_send_me'%][%|loc()%]Unable to send archive : no message id found.[%END%]
[%ELSIF error == 'archive_not_found'%][%|loc(msgid)%]No message found in archives matching Message-ID '%1'.[%END%]
304
[%ELSIF error == 'cannot_save_config'%][%|loc(list.name)%]Cannot save config file for list '%1'.[%END%]
305
306
307
308
309
310
[%ELSIF error == 'failed_to_install_aliases'%][%|loc%]Failed to install aliases.[%END%]
[%ELSIF error == 'failed_to_remove_aliases'%][%|loc%]Failed to remove aliases.[%END%]
[%ELSIF error == 'internal_scenario_error_create_list'%][%|loc%]Internal scenario error for 'create_list'.[%END%]
[%ELSIF error == 'create_list'%][%|loc%]Unable to create list.[%END%]
[%ELSIF error == 'unable_to_load_list_of_topics'%][%|loc%]Unable to load list topics.[%END%]
[%ELSIF error == 'unable_to_load_create_list_templates'%][%|loc%]Unable to load create_list templates.[%END%]
311
312
313
314
[%ELSIF error == 'unable_get_family'%][%|loc(list.name)%]Unable to get family for list '%1'.[%END%]
[%ELSIF error == 'list_reload'%][%IF new_list.name %][%|loc(new_listname)%]Unable to reload list with new listname '%1'.[%END%][%ELSE%][%|loc%]Unable to reload list[%END%][%END%]
[%ELSIF error == 'sync_include_failed' %][%|loc(list.name)%]Failed to inlude members for list '%1'[%END%] 
[%ELSIF error == 'sync_include_admin_failed' %][%|loc(list.name)%]Failed to include list admins for list '%1'[%END%] 
315
[%ELSIF error == 'no_owner_defined' %][%|loc%]No owner is defined for the list '%1'[%END%] 
316
[%ELSIF error == 'exportation_failed' %][%|loc(list.name)%]The exportation to an Ldap directory failed for list '%1'[%END%] 
317
[%ELSIF error == 'unable_to_check_list_smtp' %][%|loc(new_listname)%]Unable to check listname '%1' on SMTP server[%END%]
318
319
320
[%ELSIF error == 'create_shared' %][%|loc(list.name)%]Cannot create shared for list '%1'.[%END%]
[%ELSIF error == 'restore_shared'%][%|loc(list.name)%]Cannot restore shared for list '%1'.[%END%]
[%ELSIF error == 'delete_shared'%][%|loc(list.name)%]Cannot delete shared for list '%1'.[%END%]
321
[%ELSIF error == 'browse_shared'%][%|loc%]Impossible to browse shared documents for list '%1'.[%END%]
322
323
324
[%ELSIF error == 'cannot_upload'%][%|loc(path)%]Cannot upload file '%1'.[%END%]
[%ELSIF error == 'cannot_unzip' %][%|loc(name)%]Cannot unzip file '%1'.[%END%] 
[%ELSIF error == 'error_during_unzip' %][%|loc(name)%]Errors while unzipping file '%1'.[%END%] 
325
326
327
[%ELSIF error == 'cannot_send_remind' %][%|loc(from,list.name)%]Unable to send command REMIND from '%1' to list '%2'.[%END%]
[%ELSIF error == 'cannot_send_mail' %][%|loc(from,list.name)%]Unable to send mail from '%1' to list '%2'.[%END%]
[%ELSIF error == 'auth_msg_failed' %][%|loc(key,list.name)%]Unable to access the message authenticated with key '%1' for list '%2'.[%END%]
328
329
330
[%ELSIF error == 'del_sub_request' %][%|loc(sub)%]Unable to delete subscription request for user '%1'.[%END%]
[%ELSIF error == 'add_file_zip' %][%|loc(file)%]Unable to add file '%1' to archives.[%END%]
[%ELSIF error == 'write_file_zip' %][%|loc(zipfile)%]Unable to write file zip '%1'.[%END%]
331
[%ELSIF error == 'err_404' %][%|loc(zipfile)%]File not found.[%END%]
332
[%ELSIF error == 'new_document_failed' %][%|loc(path,list.name)%]Unable to create a SharedDocument with path '%1' for list '%2'.[%END%]
333
334
[%ELSIF error == 'cookie_error' %][%|loc%]Parameter cookie undefined, authentication failure.[%END%]
[%ELSIF error == 'cookie_error_env' %][%|loc(env)%]Cookie error : '%1' undefined, authentication failure.[%END%]
335
[%ELSIF error%][%error%]
336
337
338
339
340
341
342
[%END%]
[%|loc%]See logs for more details.[%END%]

[%# SYSTEM ERROR  : WEB -%]
[% ELSIF type == 'web_system_error' -%]
Subject: [% FILTER qencode %][%|loc(list.name)%]Listmaster : system error [%END%][%END%]

343
[%|loc(who)%] User %1 has encountered a system error[%END%]
344
([%|loc%]Web interface[%END%] - ACTION : [%action%][% IF list.name %] - LIST : [%list.name%]@[%conf.host%][%END%]) :
345

346
347
[%IF error == 'a' %]
[%ELSIF error%][% error %]
348
349
350
351
[%END%]
[%|loc%]See logs for more details.[%END%]

[%# OTHER -%]
sympa-authors's avatar
sympa-authors committed
352
[% ELSE -%]
353
Subject: [% FILTER qencode %]Listmaster / [% type %][%END%]
salaun's avatar
salaun committed
354

salaun's avatar
fix    
salaun committed
355
[% param0 %]
salaun's avatar
salaun committed
356
[% END %]