summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
authorbwarsaw2001-12-19 06:15:11 +0000
committerbwarsaw2001-12-19 06:15:11 +0000
commit03261e91d9d5f4e0cba27c7cc87a05df09b4b9fe (patch)
tree7ffdc02a268548a28c026417f7cd57893a83f7d3 /Mailman/HTMLFormatter.py
parent22e43039ab1431ec588fcf12a533d7764553ed0f (diff)
downloadmailman-03261e91d9d5f4e0cba27c7cc87a05df09b4b9fe.tar.gz
mailman-03261e91d9d5f4e0cba27c7cc87a05df09b4b9fe.tar.zst
mailman-03261e91d9d5f4e0cba27c7cc87a05df09b4b9fe.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: InitVars(): Add delivery_status attribute for new lists. DisableBouncingAddress(): Test getDeliveryStatus() against ENABLED to see if the address is already disabled or not. Also, when disabling, use the BYBOUNCE status.
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions