summaryrefslogtreecommitdiffstats
path: root/userconfig/listtext/deny-post
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-06-13 23:06:48 -0400
committerMalfurious <m@lfurio.us>2024-06-15 17:41:53 -0400
commitfea6ee9debbb5d46e756953afcd3383eb0c23f73 (patch)
tree72099ccf022c419529622f5fe413965d1b5f3157 /userconfig/listtext/deny-post
parent7d2158a75b6ff294146444a6e1b51170d3f43010 (diff)
downloadmailnode-fea6ee9debbb5d46e756953afcd3383eb0c23f73.tar.gz
mailnode-fea6ee9debbb5d46e756953afcd3383eb0c23f73.zip
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 <m@lfurio.us>
Diffstat (limited to 'userconfig/listtext/deny-post')
-rw-r--r--userconfig/listtext/deny-post70
1 files changed, 70 insertions, 0 deletions
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$_=--