From fea6ee9debbb5d46e756953afcd3383eb0c23f73 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Thu, 13 Jun 2024 23:06:48 -0400 Subject: mlmmj: Add user configuration directories Configuration variables for individual mailing lists should go in subdirectories under `userconfig/lists/`. The directory name is the list name and files/directories beginning with a '.' are ignored. The contents within these list directories should be the list's "tunable" settings which usually reside in the lists's "control" directory. See https://mlmmj.org/TUNABLES.html for more information. Files under `userconfig/listtext/` are the auto-response messages sent out by the lists. The files we store here are shared by all lists, and much of their contents are parameterized. This commit adds the default versions of these files. Signed-off-by: Malfurious --- userconfig/listtext/deny-post | 70 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 userconfig/listtext/deny-post (limited to 'userconfig/listtext/deny-post') diff --git a/userconfig/listtext/deny-post b/userconfig/listtext/deny-post new file mode 100644 index 0000000..9de308a --- /dev/null +++ b/userconfig/listtext/deny-post @@ -0,0 +1,70 @@ +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. + + %ifncontrol closedlist%%ifncontrol closedlistsub% + %^%%text subrelease% + %endif%%endif% + + %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 modonlypost% + because you are not a list moderator. +%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$_=-- -- cgit v1.2.3