summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/mailinglist.py
diff options
context:
space:
mode:
authorBarry Warsaw2010-08-12 12:58:24 -0400
committerBarry Warsaw2010-08-12 12:58:24 -0400
commit81663e54791c4e0ccbf54c89b168d8b11f05eba8 (patch)
treec976878b745bb96fff834ae3959e38d6eef6b446 /src/mailman/interfaces/mailinglist.py
parent255c63fd28671c6b0366ef745db0b08fdfec3267 (diff)
downloadmailman-81663e54791c4e0ccbf54c89b168d8b11f05eba8.tar.gz
mailman-81663e54791c4e0ccbf54c89b168d8b11f05eba8.tar.zst
mailman-81663e54791c4e0ccbf54c89b168d8b11f05eba8.zip
Diffstat (limited to 'src/mailman/interfaces/mailinglist.py')
-rw-r--r--src/mailman/interfaces/mailinglist.py56
1 files changed, 54 insertions, 2 deletions
diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py
index 6f88ef64c..26373eb11 100644
--- a/src/mailman/interfaces/mailinglist.py
+++ b/src/mailman/interfaces/mailinglist.py
@@ -324,6 +324,58 @@ class IMailingList(Interface):
notifications.
""")
+ # Autoresponses.
+
+ autoresponse_grace_period = Attribute(
+ """Time period (in days) between automatic responses.
+
+ When this mailing list is set to send an auto-response for messages
+ sent to mailing list posts, the mailing list owners, or the `-request`
+ address, such reponses will not be sent to the same user more than
+ once during the grace period. Set to zero (or a negative value) for
+ no grace period (i.e. auto-respond to every message).
+ """)
+
+ autorespond_owner = Attribute(
+ """How should the mailing list automatically respond to messages sent
+ to the -owner or -moderator address?
+
+ Options are:
+ * No response sent
+ * Send a response and discard the original messge
+ * Send a response and continue processing the original message
+ """)
+
+ autoresponse_owner_text = Attribute(
+ """The text sent in an autoresponse to the owner or moderator.""")
+
+ autorespond_postings = Attribute(
+ """How should the mailing list automatically respond to messages sent
+ to the list's posting address?
+
+ Options are:
+ * No response sent
+ * Send a response and discard the original messge
+ * Send a response and continue processing the original message
+ """)
+
+ autoresponse_postings_text = Attribute(
+ """The text sent in an autoresponse to the list's posting address.""")
+
+ autorespond_requests = Attribute(
+ """How should the mailing list automatically respond to messages sent
+ to the list's `-request` address?
+
+ Options are:
+ * No response sent
+ * Send a response and discard the original messge
+ * Send a response and continue processing the original message
+ """)
+
+ autoresponse_request_text = Attribute(
+ """The text sent in an autoresponse to the list's `-request`
+ address.""")
+
# Processing.
pipeline = Attribute(
@@ -386,7 +438,7 @@ class IMailingList(Interface):
to a sequence to change it, or to None to empty it. Pass types are
consulted after filter types, and only if `pass_types` is non-empty.
""")
-
+
filter_extensions = Attribute(
"""Sequence of file extensions that should be filtered out.
@@ -400,7 +452,7 @@ class IMailingList(Interface):
Pass extensions are consulted after filter extensions, and only if
`pass_extensions` is non-empty.
""")
-
+