summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-12-19 06:16:46 +0000
committerbwarsaw2001-12-19 06:16:46 +0000
commite72345b8338edfcade82b337037608538dda071a (patch)
treecb204ea3a77a89fb7e7d6f2236110092653a9618
parent03261e91d9d5f4e0cba27c7cc87a05df09b4b9fe (diff)
downloadmailman-e72345b8338edfcade82b337037608538dda071a.tar.gz
mailman-e72345b8338edfcade82b337037608538dda071a.tar.zst
mailman-e72345b8338edfcade82b337037608538dda071a.zip
First step on the bounce processer sanity road. These changes fix
Mailman to keep track of why (and when) delivery is disabled. New list attribute delivery_status and new MemberAdaptor interface methods are added. Delivery status has the following states: ENABLED, BYUSER (disabled by user selection), BYADMIN (disabled by admin selection), BYBOUNCE (disabled by excessive bouncing), UNKNOWN (legacy disable). We no longer use the DisableDelivery user option. Also, for status changes from <anything> -> <anything-but-ENABLED>, we record the time.time(). This information gets thrown away when the delivery is re-enabled. Specific changes here: Add a comment that DisableDelivery is obsolete.
-rw-r--r--Mailman/Defaults.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 3c3e4e15c..ebb4b1f67 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -926,7 +926,7 @@ TEXTFIELDWIDTH = 40
# Bitfield for user options
Digests = 0 # handled by other mechanism, doesn't need a flag.
-DisableDelivery = 1
+DisableDelivery = 1 # Obsolete; use set/getDeliveryStatus()
DontReceiveOwnPosts = 2 # Non-digesters only
AcknowledgePosts = 4
DisableMime = 8 # Digesters only