From 81d0c6e6efa57fde9744a6b5fc8fc22c338eaa42 Mon Sep 17 00:00:00 2001 From: mlmmj mailinglist daemon and simple webinterface Date: Fri, 23 Jul 2021 15:29:31 +0200 Subject: [PATCH] Changed README, disabled unneded features, Hiding some features from the GUI --- README.md | 13 +- add_list.php | 4 + del_list.php | 4 + edit_list.php | 2 +- login.php | 63 +++-- misc/config.txt | 6 +- ...3cc848d789a3c9c535c34_0.file.index.tpl.php | 122 +++++++++ ...c4ea961640eb703d16d4a_0.file.error.tpl.php | 59 ++++ ...a8c037161406e34f7e878_0.file.login.tpl.php | 90 +++++++ ...2cdbebb3e8d3eb432_0.file.edit_list.tpl.php | 254 ++++++++++++++++++ misc/smarty/templates_en/edit_list.tpl | 213 +++++++++++++++ misc/smarty/templates_en/error.tpl | 33 +++ misc/smarty/templates_en/index.tpl | 80 ++++++ misc/smarty/templates_en/login.tpl | 62 +++++ misc/smarty/templates_ru/edit_list.tpl | 213 +++++++++++++++ misc/smarty/templates_ru/error.tpl | 33 +++ misc/smarty/templates_ru/index.tpl | 80 ++++++ misc/smarty/templates_ru/login.tpl | 62 +++++ misc/template_en/control/addtohdr | 0 misc/template_en/control/customheaders | 0 misc/template_en/control/delheaders | 3 + misc/template_en/control/footer-html | 2 + misc/template_en/control/footer-text | 2 + misc/template_en/control/listaddress | 1 + misc/template_en/control/moderators | 0 misc/template_en/control/prefix | 0 misc/template_en/index | 0 misc/template_en/lastdigest | 0 misc/template_en/list_type.txt | 1 + misc/template_en/mlmmj-maintd.lastrun.log | 0 misc/template_en/text/confirm | 52 ++++ misc/template_en/text/deny | 76 ++++++ misc/template_en/text/deny-post | 63 +++++ misc/template_en/text/digest | 5 + misc/template_en/text/faq | 4 + misc/template_en/text/finish | 55 ++++ misc/template_en/text/finish-sub | 44 +++ misc/template_en/text/gatekeep-sub | 19 ++ misc/template_en/text/help | 88 ++++++ misc/template_en/text/list | 25 ++ misc/template_en/text/moderate-post | 41 +++ misc/template_en/text/notify | 41 +++ misc/template_en/text/probe | 11 + misc/template_en/text/prologue | 2 + misc/template_en/text/wait-post | 1 + misc/template_en/text/wait-sub | 7 + misc/template_ru/control/addtohdr | 0 misc/template_ru/control/customheaders | 0 misc/template_ru/control/delheaders | 3 + misc/template_ru/control/footer-html | 2 + misc/template_ru/control/footer-text | 2 + misc/template_ru/control/listaddress | 1 + misc/template_ru/control/moderators | 0 misc/template_ru/control/prefix | 0 misc/template_ru/index | 0 misc/template_ru/lastdigest | 0 misc/template_ru/list_type.txt | 1 + misc/template_ru/mlmmj-maintd.lastrun.log | 0 misc/template_ru/text/confirm | 45 ++++ misc/template_ru/text/deny | 35 +++ misc/template_ru/text/deny-post | 61 +++++ misc/template_ru/text/finish | 18 ++ misc/template_ru/text/finish-sub | 30 +++ misc/template_ru/text/moderate-post | 41 +++ misc/template_ru/text/prologue | 1 + misc/template_ru/text/wait-post | 1 + 66 files changed, 2143 insertions(+), 34 deletions(-) create mode 100644 misc/smarty/templates_c/0dee7916f2ab5d00e5d3cc848d789a3c9c535c34_0.file.index.tpl.php create mode 100644 misc/smarty/templates_c/87eadf281c71f110fa4c4ea961640eb703d16d4a_0.file.error.tpl.php create mode 100644 misc/smarty/templates_c/bebbc40e386876d1f34a8c037161406e34f7e878_0.file.login.tpl.php create mode 100644 misc/smarty/templates_c/d26886be440fe5530a216e22cdbebb3e8d3eb432_0.file.edit_list.tpl.php create mode 100644 misc/smarty/templates_en/edit_list.tpl create mode 100644 misc/smarty/templates_en/error.tpl create mode 100644 misc/smarty/templates_en/index.tpl create mode 100644 misc/smarty/templates_en/login.tpl create mode 100644 misc/smarty/templates_ru/edit_list.tpl create mode 100644 misc/smarty/templates_ru/error.tpl create mode 100644 misc/smarty/templates_ru/index.tpl create mode 100644 misc/smarty/templates_ru/login.tpl create mode 100644 misc/template_en/control/addtohdr create mode 100644 misc/template_en/control/customheaders create mode 100644 misc/template_en/control/delheaders create mode 100644 misc/template_en/control/footer-html create mode 100644 misc/template_en/control/footer-text create mode 100644 misc/template_en/control/listaddress create mode 100644 misc/template_en/control/moderators create mode 100644 misc/template_en/control/prefix create mode 100644 misc/template_en/index create mode 100644 misc/template_en/lastdigest create mode 100644 misc/template_en/list_type.txt create mode 100644 misc/template_en/mlmmj-maintd.lastrun.log create mode 100644 misc/template_en/text/confirm create mode 100644 misc/template_en/text/deny create mode 100644 misc/template_en/text/deny-post create mode 100644 misc/template_en/text/digest create mode 100644 misc/template_en/text/faq create mode 100644 misc/template_en/text/finish create mode 100644 misc/template_en/text/finish-sub create mode 100644 misc/template_en/text/gatekeep-sub create mode 100644 misc/template_en/text/help create mode 100644 misc/template_en/text/list create mode 100644 misc/template_en/text/moderate-post create mode 100644 misc/template_en/text/notify create mode 100644 misc/template_en/text/probe create mode 100644 misc/template_en/text/prologue create mode 100644 misc/template_en/text/wait-post create mode 100644 misc/template_en/text/wait-sub create mode 100644 misc/template_ru/control/addtohdr create mode 100644 misc/template_ru/control/customheaders create mode 100644 misc/template_ru/control/delheaders create mode 100644 misc/template_ru/control/footer-html create mode 100644 misc/template_ru/control/footer-text create mode 100644 misc/template_ru/control/listaddress create mode 100644 misc/template_ru/control/moderators create mode 100644 misc/template_ru/control/prefix create mode 100644 misc/template_ru/index create mode 100644 misc/template_ru/lastdigest create mode 100644 misc/template_ru/list_type.txt create mode 100644 misc/template_ru/mlmmj-maintd.lastrun.log create mode 100644 misc/template_ru/text/confirm create mode 100644 misc/template_ru/text/deny create mode 100644 misc/template_ru/text/deny-post create mode 100644 misc/template_ru/text/finish create mode 100644 misc/template_ru/text/finish-sub create mode 100644 misc/template_ru/text/moderate-post create mode 100644 misc/template_ru/text/prologue create mode 100644 misc/template_ru/text/wait-post diff --git a/README.md b/README.md index f971519..e484f56 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,15 @@ This repository was forked from [GitHub](https://github.com/sergei-bondarenko/ml ## Description -A light PHP web interface for [mlmmj](http://mlmmj.org/). It does not use a database. Available in two languages: English and Russian. \ No newline at end of file +A light PHP web interface for [mlmmj](http://mlmmj.org/). It does not use a database. Available in two languages: English and Russian. + +## Installation + +Change values in `misc/config.txt` +Navigate to directory `misc` +Untar the following two archives: + +```bash +tar xzvf ./templates.tar.gz -C . +tar xzvf ./smarty.tar.gz -C . +``` diff --git a/add_list.php b/add_list.php index 88fcace..07a02be 100644 --- a/add_list.php +++ b/add_list.php @@ -1,4 +1,8 @@ _decodeProperties($_smarty_tpl, array ( + 'version' => '3.1.31', + 'unifunc' => 'content_60fac2d08b3df8_25701302', + 'has_nocache_code' => false, + 'file_dependency' => + array ( + '0dee7916f2ab5d00e5d3cc848d789a3c9c535c34' => + array ( + 0 => '/home/pacs/ecg00/users/mlmmj/doms/list.ecogood.org/htdocs-ssl/mlmmj-light-web-ecg/misc/smarty/templates_en/index.tpl', + 1 => 1627046606, + 2 => 'file', + ), + ), + 'includes' => + array ( + ), +),false)) { +function content_60fac2d08b3df8_25701302 (Smarty_Internal_Template $_smarty_tpl) { +?> + + + + +> + function validate_form() + { + var name = document.getElementById('add_list_input').value; + var name = name.toLowerCase(); + + if (name == "") + { + return false; + } + + if (name.length > 30) + { + alert("Mailing list name must not be longer than 30 characters."); + return false; + } + + if ( name.match(/[^a-z0-9_]/) ) + { + alert("Mailing list name must contain only english letters, digits and undercores."); + return false; + } + } + + function confirm_delete() + { + return confirm("Are you really want to delete the mailing list?"); + } + +> + + + + +
+
+ All available mailing lists: +   +
+ + + You can edit mailing lists on this page. Just click on its name. + To post a message into a mailing list send an email to example@tpl_vars['domain']->value;?> +, where "example" is the list name. + +
+
+ + smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['lists']->value, 'list'); +if ($_from !== null) { +foreach ($_from as $_smarty_tpl->tpl_vars['list']->value) { +?> + + + + + + smarty->ext->_foreach->restore($_smarty_tpl, 1); +?> + +
+ • + + tpl_vars['list']->value;?> + +
+ +
+ + +_decodeProperties($_smarty_tpl, array ( + 'version' => '3.1.31', + 'unifunc' => 'content_60fac21cabbde3_88848843', + 'has_nocache_code' => false, + 'file_dependency' => + array ( + '87eadf281c71f110fa4c4ea961640eb703d16d4a' => + array ( + 0 => '/home/pacs/ecg00/users/mlmmj/doms/list.ecogood.org/htdocs-ssl/mlmmj-light-web-ecg/misc/smarty/templates_en/error.tpl', + 1 => 1485891660, + 2 => 'file', + ), + ), + 'includes' => + array ( + ), +),false)) { +function content_60fac21cabbde3_88848843 (Smarty_Internal_Template $_smarty_tpl) { +?> + + + + + + +
+ tpl_vars['error_code']->value == 1) {?> + Domain can contain only english letters, dots, hyphens and digits. + tpl_vars['error_code']->value == 2) {?> + Password can contain only english letters and digits. + tpl_vars['error_code']->value == 3) {?> + Incorrect password. + tpl_vars['error_code']->value == 4) {?> + There is no such domain. + tpl_vars['error_code']->value == 5) {?> + Mailing list name can contain only english letters, digits and undercores. + tpl_vars['error_code']->value == 6) {?> + The length of a list name can not exceed 30 characters. + tpl_vars['error_code']->value == 7) {?> + The length of a prefix can not exceed 128 characters. + tpl_vars['error_code']->value == 8) {?> + The length of a footer can not exceed 1024 characters. + tpl_vars['error_code']->value == 9) {?> + There is an incorrect email in the subscribers list. + tpl_vars['error_code']->value == 10) {?> + There is an incorrect email in the moderators list. + + Unknown error. + +
+ + +_decodeProperties($_smarty_tpl, array ( + 'version' => '3.1.31', + 'unifunc' => 'content_60fac0fc392119_19400816', + 'has_nocache_code' => false, + 'file_dependency' => + array ( + 'bebbc40e386876d1f34a8c037161406e34f7e878' => + array ( + 0 => '/home/pacs/ecg00/users/mlmmj/doms/list.ecogood.org/htdocs-ssl/mlmmj-light-web-ecg/misc/smarty/templates_en/login.tpl', + 1 => 1485892620, + 2 => 'file', + ), + ), + 'includes' => + array ( + ), +),false)) { +function content_60fac0fc392119_19400816 (Smarty_Internal_Template $_smarty_tpl) { +?> + + + + +> + function validate_form() + { + var domain = document.getElementById('domain_input').value; + var password = document.getElementById('password_input').value; + + if (domain == "") + { + alert("Enter domain."); + return false; + } + + if (password == "") + { + alert("Enter password."); + return false; + } + if ( domain.match(/[^A-Za-z0-9\-\.]/) ) + { + alert("Domain can contain only english letters, dots, hyphens and digits."); + return false; + } + if ( password.match(/[^A-Za-z0-9]/) ) + { + alert("Password can contain only english letters and digits."); + return false; + } + } + +> + + + +
+
+
+
+
+ Domain: +
+
+ +
+
+
+
+ Password: +
+
+ +
+
+
+ +
+
+
+
+ + +_decodeProperties($_smarty_tpl, array ( + 'version' => '3.1.31', + 'unifunc' => 'content_60fac3b35e71a9_13035792', + 'has_nocache_code' => false, + 'file_dependency' => + array ( + 'd26886be440fe5530a216e22cdbebb3e8d3eb432' => + array ( + 0 => '/home/pacs/ecg00/users/mlmmj/doms/list.ecogood.org/htdocs-ssl/mlmmj-light-web-ecg/misc/smarty/templates_en/edit_list.tpl', + 1 => 1627046833, + 2 => 'file', + ), + ), + 'includes' => + array ( + ), +),false)) { +function content_60fac3b35e71a9_13035792 (Smarty_Internal_Template $_smarty_tpl) { +?> + + + + +> + // Do not use Smarty here + function switch_moderators_form() + { + // Get a selected value + var select = document.getElementById("list_type"); + var selected_value = select.options[select.selectedIndex].value; + + // If selected conference list type, then disable moderators form + if (selected_value == "2") + { + document.getElementById("moderators").disabled = true; + document.getElementById("moderators_header").style.color = "#777777"; + } + else + { + document.getElementById("moderators").disabled = false; + document.getElementById("moderators_header").style.color = "#222222"; + } + } + + function validate_form() + { + var prefix = document.getElementById('prefix').value; + var footer = document.getElementById('footer').value; + var subscribers = document.getElementById('subscribers').value; + var moderators = document.getElementById('moderators').value; + + // Regex for a valid e-mail + var re_email = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; + + // Transform subscribers and moderators into array + subscribers = subscribers.split("\n"); + moderators = moderators.split("\n"); + + if (prefix.length > 128) + { + alert("A prefix length can not be longer than 128 characters."); + return false; + } + + if (footer.length > 1024) + { + alert("A footer length can not be longer than 1024 characters."); + return false; + } + + for(var i in subscribers) + { + if ( subscribers[i] != "" && !re_email.test(subscribers[i]) ) + { + alert('Subscriber "' + subscribers[i] + '" (line #' + (parseFloat(i)+1) + ') have incorrect email.'); + return false; + } + } + + for(var i in moderators) + { + if ( moderators[i] != "" && !re_email.test(moderators[i]) ) + { + alert('Moderator "' + moderators[i] + '" (line #' + (parseFloat(i)+1) + ') have incorrect email.'); + return false; + } + } + } + // + +> + + + + +
+
+ +
+
+ Subscribers:  +
+ + + Please, provide one email per line. Do not forget to add moderators if you + want them able to post into the mailing list. + +
+
+
+ +
+
+
+
+
+ + + + + + + +
+
+
+ + + Prefix added to the subject field of each message. + +
+  Prefix: +
+
+ +" id="prefix"> +
+
+
+ +
+
+
+
+
+ Moderators:  +
+ + + In case of a moderated list the messages will be send to these + emails before publishing. In case of a news list only moderators can post to the mailing list. + In case of conference there are no moderators. + +
+
+
+ +
+
+
+
+ + + + + + + + + + +
+
+ +
+
+ Subscribers:  +
+ + + Please, provide one email per line. Do not forget to add moderators if you + want them able to post into the mailing list. + +
+
+
+ +
+
+
+
+
+ + + + + + + +
+
+
+ + + Prefix added to the subject field of each message. + +
+  Prefix: +
+
+ +
+
+
+ +
+
+
+
+
+ Moderators:  +
+ + + In case of a moderated list the messages will be send to these + emails before publishing. In case of a news list only moderators can post to the mailing list. + In case of conference there are no moderators. + +
+
+
+ +
+
+
+
+ + diff --git a/misc/smarty/templates_en/error.tpl b/misc/smarty/templates_en/error.tpl new file mode 100644 index 0000000..bb7020a --- /dev/null +++ b/misc/smarty/templates_en/error.tpl @@ -0,0 +1,33 @@ + + + + + + +
+ {if $error_code == 1} + Domain can contain only english letters, dots, hyphens and digits. + {elseif $error_code == 2} + Password can contain only english letters and digits. + {elseif $error_code == 3} + Incorrect password. + {elseif $error_code == 4} + There is no such domain. + {elseif $error_code == 5} + Mailing list name can contain only english letters, digits and undercores. + {elseif $error_code == 6} + The length of a list name can not exceed 30 characters. + {elseif $error_code == 7} + The length of a prefix can not exceed 128 characters. + {elseif $error_code == 8} + The length of a footer can not exceed 1024 characters. + {elseif $error_code == 9} + There is an incorrect email in the subscribers list. + {elseif $error_code == 10} + There is an incorrect email in the moderators list. + {else} + Unknown error. + {/if} +
+ + diff --git a/misc/smarty/templates_en/index.tpl b/misc/smarty/templates_en/index.tpl new file mode 100644 index 0000000..586cb73 --- /dev/null +++ b/misc/smarty/templates_en/index.tpl @@ -0,0 +1,80 @@ + + + + + + + + +
+
+ All available mailing lists: +   +
+ + + You can edit mailing lists on this page. Just click on its name. + To post a message into a mailing list send an email to example@{$domain}, where "example" is the list name. + +
+
+ + {foreach $lists as $list} + + + + + + {/foreach} +
+ • + + {$list} +
+ +
+ + diff --git a/misc/smarty/templates_en/login.tpl b/misc/smarty/templates_en/login.tpl new file mode 100644 index 0000000..f8acf70 --- /dev/null +++ b/misc/smarty/templates_en/login.tpl @@ -0,0 +1,62 @@ + + + + + + + +
+
+
+
+
+ Domain: +
+
+ +
+
+
+
+ Password: +
+
+ +
+
+
+ +
+
+
+
+ + diff --git a/misc/smarty/templates_ru/edit_list.tpl b/misc/smarty/templates_ru/edit_list.tpl new file mode 100644 index 0000000..9cd9ea7 --- /dev/null +++ b/misc/smarty/templates_ru/edit_list.tpl @@ -0,0 +1,213 @@ + + + + + + + + +
+
+ +
+
+ Список подписчиков:  +
+ + + Добавляйте по одному почтовому адресу в каждой строке. Не забудьте добавить + модераторов, если хотите, чтобы они также могли писать в рассылку. + +
+
+
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + +
+
+
+ + + Модерируемая рассылка: подписчиков устанавливаете Вы, сообщения + от обычных участников проходят модерацию.

+ Новостная рассылка: подписаться может кто угодно, отправив пустое письмо + на {$list_name}+subscribe@{$domain}, при этом подтверждение модератора не требуется. + Письма в рассылку могут отправлять только модераторы.

+ Конференция: аналог канала в IRC. Подписчиков устанавливаете Вы, + сообщения может отправлять любой подписчик без модерации. +
+
+  Тип рассылки: +
+
+ +
+
+
+ + + Текст, добавляемый в начало заголовка каждого сообщения рассылки. + +
+  Префикс: +
+
+ +
+ + + +
+
+
+
+ + + Отправитель будет исключён из списка рассылки для своего сообщения. + Это означает, что ему не будут приходить копии своих сообщений. + +
+ + Не отправлять копию своих сообщений. +
+
+
+
+
+ +
+
+
+
+
+ Список модераторов:  +
+ + + Для модерируемой рассылки на эти email будут отправляться письма перед их + опубликованием в рассылку. Для новостной рассылки только эти адреса могут + могут писать в рассылку. Для конференции модераторы не предумотрены. + +
+
+
+ +
+
+
+
+ + diff --git a/misc/smarty/templates_ru/error.tpl b/misc/smarty/templates_ru/error.tpl new file mode 100644 index 0000000..a9b3bb2 --- /dev/null +++ b/misc/smarty/templates_ru/error.tpl @@ -0,0 +1,33 @@ + + + + + + +
+ {if $error_code == 1} + Домен может содержать только латинские буквы, точки, дефисы и цифры. + {elseif $error_code == 2} + Пароль может содержать только латинские буквы и цифры. + {elseif $error_code == 3} + Неверный пароль. + {elseif $error_code == 4} + Такой домен не зарегистрирован. + {elseif $error_code == 5} + Название рассылки может содержать только латинские буквы, цифры и символы нижнего подчёркивания. + {elseif $error_code == 6} + Длина названия рассылки не может превышать 30-ти символов. + {elseif $error_code == 7} + Длина префикса не может превышать 128-ти символов. + {elseif $error_code == 8} + Длина подписи не может превышать 1024-ти символов. + {elseif $error_code == 9} + Среди подписчиков есть некорректный e-mail. + {elseif $error_code == 10} + Среди модераторов есть некорректный e-mail. + {else} + Неизвестная ошибка. + {/if} +
+ + diff --git a/misc/smarty/templates_ru/index.tpl b/misc/smarty/templates_ru/index.tpl new file mode 100644 index 0000000..ce4cd01 --- /dev/null +++ b/misc/smarty/templates_ru/index.tpl @@ -0,0 +1,80 @@ + + + + + + + + +
+
+ Все листы рассылок: +   +
+ + + Добавляйте и удаляйте списки рассылки с помощью данной формы. Вы можете редактировать список, кликнув по его названию. + Письмо в рассылку отправляется на адрес example@{$domain}, где example – имя рассылки. + +
+
+ + {foreach $lists as $list} + + + + + + {/foreach} +
+ • + + {$list} + + +
+
+
+ +   + +
+
+
+ + diff --git a/misc/smarty/templates_ru/login.tpl b/misc/smarty/templates_ru/login.tpl new file mode 100644 index 0000000..b2c9613 --- /dev/null +++ b/misc/smarty/templates_ru/login.tpl @@ -0,0 +1,62 @@ + + + + + + + +
+
+
+
+
+ Домен: +
+
+ +
+
+
+
+ Пароль: +
+
+ +
+
+
+ +
+
+
+
+ + diff --git a/misc/template_en/control/addtohdr b/misc/template_en/control/addtohdr new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_en/control/customheaders b/misc/template_en/control/customheaders new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_en/control/delheaders b/misc/template_en/control/delheaders new file mode 100644 index 0000000..035e44f --- /dev/null +++ b/misc/template_en/control/delheaders @@ -0,0 +1,3 @@ +From: +To: +Reply-To: diff --git a/misc/template_en/control/footer-html b/misc/template_en/control/footer-html new file mode 100644 index 0000000..79347f2 --- /dev/null +++ b/misc/template_en/control/footer-html @@ -0,0 +1,2 @@ +------
+To unsubscribe please send empty letter to _unsub_addr_ diff --git a/misc/template_en/control/footer-text b/misc/template_en/control/footer-text new file mode 100644 index 0000000..53f3c52 --- /dev/null +++ b/misc/template_en/control/footer-text @@ -0,0 +1,2 @@ +------ +To unsubscribe please send empty letter to _unsub_addr_ diff --git a/misc/template_en/control/listaddress b/misc/template_en/control/listaddress new file mode 100644 index 0000000..ff00079 --- /dev/null +++ b/misc/template_en/control/listaddress @@ -0,0 +1 @@ +template@template diff --git a/misc/template_en/control/moderators b/misc/template_en/control/moderators new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_en/control/prefix b/misc/template_en/control/prefix new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_en/index b/misc/template_en/index new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_en/lastdigest b/misc/template_en/lastdigest new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_en/list_type.txt b/misc/template_en/list_type.txt new file mode 100644 index 0000000..573541a --- /dev/null +++ b/misc/template_en/list_type.txt @@ -0,0 +1 @@ +0 diff --git a/misc/template_en/mlmmj-maintd.lastrun.log b/misc/template_en/mlmmj-maintd.lastrun.log new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_en/text/confirm b/misc/template_en/text/confirm new file mode 100644 index 0000000..ae8cbdd --- /dev/null +++ b/misc/template_en/text/confirm @@ -0,0 +1,52 @@ +%ifaction sub%Subject: Confirm subscription to $list$@$domain$%endif% +%ifaction unsub%Subject: Confirm unsubscribe from $list$@$domain$%endif% + +%text prologue% + +%ifaction sub% + %^%%wrap% + %ifreason admin% + An administrator + %endif% + %ifreason request% + Somebody (and we hope it was you) + %endif% + has requested that your email address <$subaddr$> be added + %iftype normal% + to the list. This means every time a post is sent to the list, you will + receive a copy of it. + %endif% + %iftype digest% + to the list, to receive digests. This means you will receive multiple + posts in a single mail message, at regular intervals, or when a lot of + posts have accumulated. + %endif% + %iftype nomail% + to the list, without mail delivery. This means you will not receive any + posts to the list, but you are considered a member. This means, for + instance, you are able to post to a list which only subscribers may post + to, while you follow the list using a web archive or another subscribed + email address. + %endif% +%endif% + +%ifaction unsub% + %^%%wrap% + %ifreason admin% + An administrator + %endif% + %ifreason request% + Somebody (and we hope it was you) + %endif% + has requested that the email address <$subaddr$> be removed from the list. +%endif% + +%wrap%To confirm you want to do this, please send a message to <$confaddr$> +which can usually be done simply by replying to this message. The subject +and the body of the message can be anything. + +After doing so, you should receive a reply informing you that the operation +succeeded. + +If you do not want to do this, simply ignore this message. + diff --git a/misc/template_en/text/deny b/misc/template_en/text/deny new file mode 100644 index 0000000..e02b1be --- /dev/null +++ b/misc/template_en/text/deny @@ -0,0 +1,76 @@ +%ifaction sub%Subject: Unable to subscribe to $list$@$domain$%endif% +%ifaction unsub%Subject: Unable to unsubscribe from $list$@$domain$%endif% +%ifaction release reject%Subject: Unable to moderate $list$@$domain$%endif% +%ifaction permit obstruct%Subject: Unable to gatekeep $list$@$domain$%endif% + +%text prologue% + +%ifaction sub% + %^%%wrap%You were unable to be subscribed to the list + %ifreason disabled% + because the + %iftype normal% normal %endif% + %iftype digest% digest %endif% + %iftype nomail% no-mail %endif% + version of the list is turned off. + %endif% + %ifreason closed% + because people are not allowed to subscribe to this list by email. + %endif% + %ifreason subbed% + because you are already subscribed. + %endif% + %ifreason expired% + because too much time passed without a gatekeeper permitting your entry. + %endif% + %ifreason obstruct% + because a gatekeeper obstructed your entry. + %endif% +%endif% + +%ifaction unsub% + %^%%wrap%You were unable to be unsubscribed from the list + %ifreason unsubbed% + because you are not subscribed. + + %^%%wrap%If you are receiving messages, perhaps a different email + address is subscribed. To find out which address you are subscribed + with, refer to the message welcoming you to the list, or look at the + envelope "Return-Path" header of a message you receive from the list. + %endif% +%endif% + +%ifaction release reject% + %^%%wrap% + %ifaction release% + You were unable to release the specified post to the list + %endif% + %ifaction reject% + You were unable to reject the specified post + %endif% + %ifreason notfound% + because it could not be found. Perhaps another moderator already + released or rejected it, or it expired. + %endif% + %ifreason moderators% + because you are not a moderator for the list. + %endif% +%endif% + +%ifaction permit obstruct% + %^%%wrap% + %ifaction permit% + You were unable to permit the specified subscription request + %endif% + %ifaction obstruct% + You were unable to obstruct the specified subscription request + %endif% + %ifreason notfound% + because it could not be found. Perhaps another gatekeeper already + permitted or obstructed it, or it expired. + %endif% + %ifreason gatekeepers% + because you are not a gatekeeper for the list. + %endif% +%endif% + diff --git a/misc/template_en/text/deny-post b/misc/template_en/text/deny-post new file mode 100644 index 0000000..f5d604c --- /dev/null +++ b/misc/template_en/text/deny-post @@ -0,0 +1,63 @@ +Subject: Post to $list$@$domain$ denied: $subject$ +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=_$random0$$random1$_=" +Content-Transfer-Encoding: 8bit + +--=_$random0$$random1$_= +Content-Type: text/plain; charset=utf8 +Content-Transfer-Encoding: 8bit + +%text prologue% + +%wrap%The message from <$posteraddr$> with subject "$subject$" was unable to +be delivered to the list +%ifreason maxmailsize% + because it exceeded the maximum allowed message size of $maxmailsize$ + bytes. +%endif% +%ifreason tocc% + because the list address was not found in either the To: or CC: header. +%endif% +%ifreason access% + because of an access rule set up by the list administrator. +%endif% +%ifreason expired% + because too much time passed without any moderator releasing it. +%endif% +%ifreason reject% + because a moderator rejected it. +%endif% +%ifreason subonlypost% + because you are not a list subscriber. + + %ifcontrol closedlist closedlistsub% + %^%%wrap%If you wish to become a subscriber, you will need to contact a + list administrator. You can email <$list+$owner@$domain$> to contact the + list owner. + %endif% + + %^%%wrap%If you believe you are a subscriber, you are probably subscribed + with a different email address. To find out which address you are + subscribed with, refer to the message welcoming you to the list, or look + at the envelope "Return-Path" header of a message you receive from the + list. +%endif% + +%ifreason maxmailsize% + %^%(The beginning of the denied message is below.) +%else% + %^%(The denied message is below.) +%endif% + +--=_$random0$$random1$_= +Content-Type: message/rfc822 +Content-Transfer-Encoding: 8bit +Content-Disposition: inline; filename="message.eml" + +%ifreason maxmailsize% + %^%%originalmail 300% +%else% + %^%%originalmail% +%endif% +--=_$random0$$random1$_=-- diff --git a/misc/template_en/text/digest b/misc/template_en/text/digest new file mode 100644 index 0000000..e9fa859 --- /dev/null +++ b/misc/template_en/text/digest @@ -0,0 +1,5 @@ +Subject: Digest of $list$@$domain$ issue $digestissue$ ($digestinterval$) + +Topics (messages $digestfirst$ through $digestlast$): +- %digestthreads% + diff --git a/misc/template_en/text/faq b/misc/template_en/text/faq new file mode 100644 index 0000000..28f22fe --- /dev/null +++ b/misc/template_en/text/faq @@ -0,0 +1,4 @@ +Subject: Frequently asked questions of $list$@$domain$ + +Sorry, no FAQ available yet. + diff --git a/misc/template_en/text/finish b/misc/template_en/text/finish new file mode 100644 index 0000000..8560bae --- /dev/null +++ b/misc/template_en/text/finish @@ -0,0 +1,55 @@ +%ifaction unsub%Subject: Goodbye from $list$@$domain$%endif% +%ifaction release reject%Subject: Moderated $list$@$domain$: $subject$%endif% +%ifaction permit obstruct%Subject: Guarded $list$@$domain$: $subaddr$%endif% +%ifaction post%Subject: Posted to $list$@$domain$: $subject$%endif% + +%text prologue% + +%ifaction unsub% + %^%%wrap% + %ifreason request% + %endif% + %ifreason confirm% + Thank you for confirming your unsubscribe. + %endif% + %ifreason admin% + An administrator has removed you from the list. + %else% + You have now been removed from the list. + %endif% +%endif% + +%ifaction release% + %^%%wrap%You have successfully released the message from <$posteraddr$> + with subject "$subject$" to the list. +%endif% + +%ifaction reject% + %^%%wrap%You have successfully rejected the message from <$posteraddr$> + with subject "$subject$". +%endif% + +%ifaction permit% + %^%%wrap%You have successfully permitted <$subaddr$> to join the list. +%endif% + +%ifaction obstruct% + %^%%wrap%You have successfully obstructed <$subaddr$> from joining the + list. +%endif% + +%ifaction post% + %^%%wrap% + %ifreason confirm% + Thank you for confirming + %endif% + %ifreason release% + A moderator has released + %endif% + %ifreason request% + Thank you for + %endif% + your post with subject "$subject$". It is now being distributed to the + list. +%endif% + diff --git a/misc/template_en/text/finish-sub b/misc/template_en/text/finish-sub new file mode 100644 index 0000000..64337a3 --- /dev/null +++ b/misc/template_en/text/finish-sub @@ -0,0 +1,44 @@ +Subject: Welcome to $list$@$domain$ + +%text prologue% + +%wrap% +%ifreason request% + Thank you for your request to join us. +%endif% +%ifreason confirm% + Thank you for confirming your subscription. +%endif% +%ifreason permit% + A gatekeeper has permitted you to join us. +%endif% +%ifreason switch% + Your subscription has been switched to the +%else% + %ifreason admin% + An administrator has subscribed you to the + %else% + You have now been added to the + %endif% +%endif% +%iftype normal% normal %endif% +%iftype digest% digest %endif% +%iftype nomail% no-mail %endif% +version of the list. + +%wrap%The email address you are subscribed with is <$subaddr$>. + +%ifcontrol closedlist% + %^%%wrap%If you ever wish to unsubscribe, you will need to contact a list + administrator. You can email <$list+$owner@$domain$> to contact the list + owner. +%else% + %^%%wrap%If you ever wish to unsubscribe, send a message to + <$list+$unsubscribe@$domain$> using this email address. The subject and + the body of the message can be anything. You will then receive + confirmation or further instructions. +%endif% + +%wrap%For other information and help about this list, send a message to +<$list+$help@$domain$>. + diff --git a/misc/template_en/text/gatekeep-sub b/misc/template_en/text/gatekeep-sub new file mode 100644 index 0000000..ba46088 --- /dev/null +++ b/misc/template_en/text/gatekeep-sub @@ -0,0 +1,19 @@ +Subject: Subscription request for $list$@$domain$: $subaddr$ + +%text prologue% + +%wrap%There has been a request from <$subaddr$> to join the +%iftype normal% normal %endif% +%iftype digest% digest %endif% +%iftype nomail% no-mail %endif% +version of the list. + +%wrap%To permit this, please send a message to <$permitaddr$> which can +usually be done simply by replying to this message. + +%wrap%If you do not want to do this, either send a message to +<$obstructaddr$> or simply ignore this message. + +The following gatekeepers have received this mail: +- %gatekeepers% + diff --git a/misc/template_en/text/help b/misc/template_en/text/help new file mode 100644 index 0000000..3b104bc --- /dev/null +++ b/misc/template_en/text/help @@ -0,0 +1,88 @@ +Subject: Information for $list$@$domain$ + +%text prologue% + +Here is some information about the list. + +You can subscribe to the following versions: + +- %wrap%The normal version: Every time a post is sent to the list, +subscribers receive a copy of it. +%ifcontrol closedlist closedlistsub% + Subscribe by contacting a list administrator. +%else% + Subscribe by emailing <$list+$subscribe@$domain$>. +%endif% + +%ifncontrol nodigestsub% + %^%- %wrap%The digest version: Subscribers receive multiple posts in a + single mail message, at regular intervals, or when a lot of posts have + accumulated. + %ifcontrol closedlist closedlistsub% + Subscribe by contacting a list administrator. + %else% + Subscribe by emailing <$list+$subscribe-digest@$domain$>. + %endif% +%endif% + +%ifncontrol nonomailsub% + %^%- %wrap%The no-mail version: Subscribers do not receive any posts to + the list. This means, though, they are able to post to a list which only + subscribers may post to, while they follow the list using a web archive or + another subscribed email address. + %ifcontrol closedlist closedlistsub% + Subscribe by contacting a list administrator. + %else% + Subscribe by emailing <$list+$subscribe-nomail@$domain$>. + %endif% +%endif% + +%ifcontrol submod% + %^%%wrap%The list has gatekeepers who will review subscription requests + before permitting new members. +%endif% + +%ifcontrol closedlist% + %^%%wrap%Unsubscribe by contacting a list administrator. +%else% + %^%%wrap%Unsubscribe by emailing <$list+$unsubscribe@$domain$>. +%endif% + +%wrap%Posts are made by emailing <$list$@$domain$>. + +%ifcontrol subonlypost%%ifncontrol modnonsubposts% + %^%%wrap%However, only subscribers may post to the list. +%endif%%endif% + +%ifcontrol moderated% + %^%%wrap%The list has moderators who will review all posts before + releasing them to the list. +%else% + %ifcontrol subonlypost%%ifcontrol modnonsubposts% + %^%%wrap%The list has moderators who will review posts from + non-subscribers before releasing them to the list. + %endif%%endif% +%endif% + +%ifcontrol access% + %^%%wrap%The list also has access rules which may affect who can post and + which posts are moderated. +%endif% + +%ifncontrol noget%%ifncontrol noarchive% + %^%%wrap% + %ifcontrol subonlyget% + Anyone + %else% + Subscribers + %endif% + can retrieve message number N from the list's archive by sending a message + to <$list+$get-N@$domain$> (change the N to the number of the desired + message). +%endif%%endif% + +%wrap%You can retrieve the frequently asked questions document for the list +by sending a message to <$list+$faq@$domain$>. + +%wrap%To contact the list owner, send a message to <$list+$owner@$domain$>. + diff --git a/misc/template_en/text/list b/misc/template_en/text/list new file mode 100644 index 0000000..52f3be8 --- /dev/null +++ b/misc/template_en/text/list @@ -0,0 +1,25 @@ +Subject: Subscribers to $list$@$domain$ + +%text prologue% + +%wrap%Here is the list of subscribers +%iftype all% + (to all versions of the list): +%else% + to the + %iftype normal% normal %endif% + %iftype digest% digest %endif% + %iftype nomail% no-mail %endif% + version of the list: +%endif% + +%iftype all normal% + %^%- %listsubs% +%endif% +%iftype all digest% + %^%- %digestsubs% +%endif% +%iftype all nomail% + %^%- %nomailsubs% +%endif% + diff --git a/misc/template_en/text/moderate-post b/misc/template_en/text/moderate-post new file mode 100644 index 0000000..ddaa465 --- /dev/null +++ b/misc/template_en/text/moderate-post @@ -0,0 +1,41 @@ +Subject: Please moderate $list$@$domain$: $subject$ +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=_$random0$$random1$_=" +Content-Transfer-Encoding: 8bit + +--=_$random0$$random1$_= +Content-Type: text/plain; charset=utf8 +Content-Transfer-Encoding: 8bit + +%text prologue% + +%wrap%A message from <$posteraddr$> with subject "$subject$" has been +submitted for posting. You are being asked to moderate +%ifreason modnonsubposts% + because the requester is not a subscriber. +%endif% +%ifreason moderated% + because this is a moderated list. +%endif% +%ifreason access% + because of an access rule. +%endif% +The message is below. + +%wrap%To release it to the list, please send a message to <$releaseaddr$> +which can usually be done simply by replying to this message. + +%wrap%If you do not want to do any of this, either send a message to +<$rejectaddr$> or simply ignore this message. + +The following moderators have received this mail: +- %moderators% + +--=_$random0$$random1$_= +Content-Type: message/rfc822 +Content-Transfer-Encoding: 8bit +Content-Disposition: inline; filename="message.eml" + +%originalmail% +--=_$random0$$random1$_=-- diff --git a/misc/template_en/text/notify b/misc/template_en/text/notify new file mode 100644 index 0000000..6c2876c --- /dev/null +++ b/misc/template_en/text/notify @@ -0,0 +1,41 @@ +%ifaction sub%Subject: Subscribed to $list$@$domain$: $subaddr$%endif% +%ifaction unsub%Subject: Unsubscribed from $list$@$domain$: $subaddr$%endif% + +%text prologue% + +%ifaction sub% + %^%%wrap%The address <$subaddr$> has been subscribed to the + %iftype normal% normal %endif% + %iftype digest% digest %endif% + %iftype nomail% no-mail %endif% + version of the list + %ifreason request% + because a request to join was received. + %endif% + %ifreason confirm% + because a request to join was confirmed. + %endif% + %ifreason admin% + because an administrator commanded it. + %endif% + %ifreason permit% + because a gatekeeper permitted it. + %endif% +%endif% + +%ifaction unsub% + %^%%wrap%The address <$subaddr$> has been unsubscribed from the list + %ifreason request% + because a request to unsubscribe was received. + %endif% + %ifreason confirm% + because a request to unsubscribe was confirmed. + %endif% + %ifreason admin% + because an administrator commanded it. + %endif% + %ifreason bouncing% + because it has been bouncing for too long. + %endif% +%endif% + diff --git a/misc/template_en/text/probe b/misc/template_en/text/probe new file mode 100644 index 0000000..397ebbe --- /dev/null +++ b/misc/template_en/text/probe @@ -0,0 +1,11 @@ +Subject: Bouncing messages from $list$@$domain$ + +%text prologue% + +Some messages to you could not be delivered. If you're seeing this +message it means things are back to normal, and it's merely for your +information. + +Here is the list of the bounced messages: +- %bouncenumbers% + diff --git a/misc/template_en/text/prologue b/misc/template_en/text/prologue new file mode 100644 index 0000000..ef76595 --- /dev/null +++ b/misc/template_en/text/prologue @@ -0,0 +1,2 @@ +%wrap%Hi, this is the Mlmmj program managing the <$list$@$domain$> mailing +list. diff --git a/misc/template_en/text/wait-post b/misc/template_en/text/wait-post new file mode 100644 index 0000000..ebe3daa --- /dev/null +++ b/misc/template_en/text/wait-post @@ -0,0 +1 @@ +DISCARD_THIS_MAIL diff --git a/misc/template_en/text/wait-sub b/misc/template_en/text/wait-sub new file mode 100644 index 0000000..84df549 --- /dev/null +++ b/misc/template_en/text/wait-sub @@ -0,0 +1,7 @@ +Subject: Awaiting permission to join $list$@$domain$ + +%text prologue% + +%wrap%Your request to join the list has been received. However, the +gatekeepers are being asked to review it before permitting you to join. + diff --git a/misc/template_ru/control/addtohdr b/misc/template_ru/control/addtohdr new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_ru/control/customheaders b/misc/template_ru/control/customheaders new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_ru/control/delheaders b/misc/template_ru/control/delheaders new file mode 100644 index 0000000..035e44f --- /dev/null +++ b/misc/template_ru/control/delheaders @@ -0,0 +1,3 @@ +From: +To: +Reply-To: diff --git a/misc/template_ru/control/footer-html b/misc/template_ru/control/footer-html new file mode 100644 index 0000000..9e15dff --- /dev/null +++ b/misc/template_ru/control/footer-html @@ -0,0 +1,2 @@ +------
+Чтобы отписаться от рассылки, отправьте пустое письмо на _unsub_addr_ diff --git a/misc/template_ru/control/footer-text b/misc/template_ru/control/footer-text new file mode 100644 index 0000000..b221b7c --- /dev/null +++ b/misc/template_ru/control/footer-text @@ -0,0 +1,2 @@ +------ +Чтобы отписаться от рассылки, отправьте пустое письмо на _unsub_addr_ diff --git a/misc/template_ru/control/listaddress b/misc/template_ru/control/listaddress new file mode 100644 index 0000000..ff00079 --- /dev/null +++ b/misc/template_ru/control/listaddress @@ -0,0 +1 @@ +template@template diff --git a/misc/template_ru/control/moderators b/misc/template_ru/control/moderators new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_ru/control/prefix b/misc/template_ru/control/prefix new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_ru/index b/misc/template_ru/index new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_ru/lastdigest b/misc/template_ru/lastdigest new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_ru/list_type.txt b/misc/template_ru/list_type.txt new file mode 100644 index 0000000..573541a --- /dev/null +++ b/misc/template_ru/list_type.txt @@ -0,0 +1 @@ +0 diff --git a/misc/template_ru/mlmmj-maintd.lastrun.log b/misc/template_ru/mlmmj-maintd.lastrun.log new file mode 100644 index 0000000..e69de29 diff --git a/misc/template_ru/text/confirm b/misc/template_ru/text/confirm new file mode 100644 index 0000000..4c72f47 --- /dev/null +++ b/misc/template_ru/text/confirm @@ -0,0 +1,45 @@ +%ifaction sub%Subject: Подтвердите добавление к $list$@$domain$%endif% +%ifaction unsub%Subject: Подтвердите удаление из $list$@$domain$%endif% + +%text prologue% + +%ifaction sub% + %^%%wrap% + %ifreason admin% + Администратор + %endif% + %ifreason request% + Кто-то (мы надеемся, что это были Вы) + %endif% + запросил, чтобы Ваш e-mail <$subaddr$> был добавлен + %iftype normal% + к листу рассылки. Это означает, что каждый раз, когда сообщение отправляется + в рассылку, Вы будете получать его копию. + %endif% + %iftype digest% + to the list, to receive digests. This means you will receive multiple + posts in a single mail message, at regular intervals, or when a lot of + posts have accumulated. + %endif% +%endif% + +%ifaction unsub% + %^%%wrap% + %ifreason admin% + Администратор + %endif% + %ifreason request% + Кто-то (мы надеемся, что это были Вы) + %endif% + запросил, чтобы Ваш e-mail <$subaddr$> был удалён из листа рассылки. +%endif% + +%wrap%Для того, чтобы подтвердить это, пожалуйста, отправьте сообщение на +<$confaddr$>, обычно это можно сделать, просто ответив на это письмо. Темой +и телом письма может быть что угодно. + +После этого, Вы получите сообщение, информируещее Вас об успешном окончании +операции. + +Если Вы не хотите этого, просто проигнорируйте это сообщение. + diff --git a/misc/template_ru/text/deny b/misc/template_ru/text/deny new file mode 100644 index 0000000..e74bd21 --- /dev/null +++ b/misc/template_ru/text/deny @@ -0,0 +1,35 @@ +%ifaction sub%Subject: Невозможно подписаться на $list$@$domain$%endif% +%ifaction unsub%Subject: Невозможно отписаться от $list$@$domain$%endif% +%ifaction release reject%Subject: Невозможно модерировать $list$@$domain$%endif% + +%text prologue% + +%ifaction unsub% + %^%%wrap%Вы не можете отписаться от листа рассылки + %ifreason unsubbed% + потому что Вы не подписаны. + + %^%%wrap%Если Вы получаете сообщения, возможно, подписан другой email. + Чтобы узнать, какой адрес подписан, обратитесь к письму-приветствию + о начале подписки, либо обратите внимание на поле "Return-Path" сообщений, + которые Вы получаете из рассылки. + %endif% +%endif% + +%ifaction release reject% + %^%%wrap% + %ifaction release% + Вы не можете одобрить публикацию сообщения + %endif% + %ifaction reject% + Вы не можете запретить публикацию сообщения + %endif% + %ifreason notfound% + потому что оно не найдено. Возможно, потому что другой модератор + уже одобрил или запретил, или время ожидания истекло. + %endif% + %ifreason moderators% + потому что Вы не модератор рассылки. + %endif% +%endif% + diff --git a/misc/template_ru/text/deny-post b/misc/template_ru/text/deny-post new file mode 100644 index 0000000..96a938e --- /dev/null +++ b/misc/template_ru/text/deny-post @@ -0,0 +1,61 @@ +Subject: Post to $list$@$domain$ denied: $subject$ +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=_$random0$$random1$_=" +Content-Transfer-Encoding: 8bit + +--=_$random0$$random1$_= +Content-Type: text/plain; charset=utf8 +Content-Transfer-Encoding: 8bit + +%text prologue% + +%wrap%Сообщение от <$posteraddr$> с темой "$subject$" не может быть доставлено +в лист рассылки +%ifreason maxmailsize% + потому что оно превышает максимально допустимый размер в $maxmailsize$ + байт. +%endif% +%ifreason tocc% + потому что адрес листа рассылки не найден ни в поле To:, ни в поле CC:. +%endif% +%ifreason access% + из-за правил, установленных администратором. +%endif% +%ifreason expired% + потому что прошло слишком много времени и модераторы не одобрили публикацию. +%endif% +%ifreason reject% + потому что модератор отклонил его. +%endif% +%ifreason subonlypost% + потому что Вы не подписчик. + + %ifcontrol closedlist closedlistsub% + %^%%wrap%Если Вы хотите стать подписчиком, Вам следует связаться с владельцем + листа рассылки. + %endif% + + %^%%wrap%Если Вы считаете, что являетесь подписчиком, возможно, Вы подписаны + с другим адресом e-mail. Чтобы его выяснить, обратитесь к письму-приветствию, + либо обратите внимание на поле "Return-Path" сообщений, которые Вы получаете + из рассылки. +%endif% + +%ifreason maxmailsize% + %^%(Начало отклонённого сообщения приведено ниже.) +%else% + %^%(Отклонённое сообщение приведено ниже.) +%endif% + +--=_$random0$$random1$_= +Content-Type: message/rfc822 +Content-Transfer-Encoding: 8bit +Content-Disposition: inline; filename="message.eml" + +%ifreason maxmailsize% + %^%%originalmail 300% +%else% + %^%%originalmail% +%endif% +--=_$random0$$random1$_=-- diff --git a/misc/template_ru/text/finish b/misc/template_ru/text/finish new file mode 100644 index 0000000..19eca44 --- /dev/null +++ b/misc/template_ru/text/finish @@ -0,0 +1,18 @@ +%ifaction unsub%Subject: Вы отписались от $list$@$domain$%endif% + +%text prologue% + +%ifaction unsub% + %^%%wrap% + %ifreason request% + %endif% + %ifreason confirm% + Благодарим Вас за подтверждение удаления из листа рассылки. + %endif% + %ifreason admin% + Администратор исключил Вас из листа рассылки. + %else% + Вы были исключены из листа рассылки. + %endif% +%endif% + diff --git a/misc/template_ru/text/finish-sub b/misc/template_ru/text/finish-sub new file mode 100644 index 0000000..3d7b430 --- /dev/null +++ b/misc/template_ru/text/finish-sub @@ -0,0 +1,30 @@ +Subject: Добро пожаловать в $list$@$domain$ + +%text prologue% + +%wrap% +%ifreason request% + Благодарим Вас за запрос на добавление в список рассылки. +%endif% +%ifreason confirm% + Благодарим Вас за подтверждение вступления в список рассылки. +%endif% +%ifreason permit% + A gatekeeper has permitted you to join us. +%endif% +%ifreason switch% + Ваша подписка была изменена на +%else% + %ifreason admin% + Администратор подписал Вас + %else% + Вы были добавлены к + %endif% +%endif% +%iftype normal% нормальной %endif% +%iftype digest% дайджест %endif% +%iftype nomail% no-mail %endif% +версии листа. + +%wrap%Ваш e-mail, который был добавлен <$subaddr$>. + diff --git a/misc/template_ru/text/moderate-post b/misc/template_ru/text/moderate-post new file mode 100644 index 0000000..320c191 --- /dev/null +++ b/misc/template_ru/text/moderate-post @@ -0,0 +1,41 @@ +Subject: Необходима модерация для сообщения $list$@$domain$: $subject$ +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=_$random0$$random1$_=" +Content-Transfer-Encoding: 8bit + +--=_$random0$$random1$_= +Content-Type: text/plain; charset=utf8 +Content-Transfer-Encoding: 8bit + +%text prologue% + +%wrap%Сообщение от <$posteraddr$> с темой "$subject$" было предложено +предложено к публикации. Вы должны разрешить или запретить его публикацию, +%ifreason modnonsubposts% + потому что он не подписчик. +%endif% +%ifreason moderated% + потому что это модерируемый лист. +%endif% +%ifreason access% + потому что таковы правила доступа. +%endif% +Сообщение приведено ниже. + +%wrap%Для одобрения публикации, пожалуйста, отправьте сообщение на <$releaseaddr$> +обычно это можно сделать, просто ответив на это сообщение. + +%wrap%В случае, если Вы не хотите этого, отправьте, пожалуйста, сообщение на +<$rejectaddr$> или просто проигнорируйте это письмо. + +Следующие модераторы получили это письмо: +- %moderators% + +--=_$random0$$random1$_= +Content-Type: message/rfc822 +Content-Transfer-Encoding: 8bit +Content-Disposition: inline; filename="message.eml" + +%originalmail% +--=_$random0$$random1$_=-- diff --git a/misc/template_ru/text/prologue b/misc/template_ru/text/prologue new file mode 100644 index 0000000..acc3eac --- /dev/null +++ b/misc/template_ru/text/prologue @@ -0,0 +1 @@ +%wrap%Здравствуйте, это программа, управляющая списком рассылки <$list$@$domain$>. diff --git a/misc/template_ru/text/wait-post b/misc/template_ru/text/wait-post new file mode 100644 index 0000000..ebe3daa --- /dev/null +++ b/misc/template_ru/text/wait-post @@ -0,0 +1 @@ +DISCARD_THIS_MAIL