summaryrefslogtreecommitdiff
path: root/Mailman/Defaults.py
diff options
context:
space:
mode:
authorBarry Warsaw2007-08-05 00:32:09 -0400
committerBarry Warsaw2007-08-05 00:32:09 -0400
commit959f34a62e0ec3cbe73da3d43640ccb6791cf3a0 (patch)
treeafcf868061fe6a5b56aeb7493c1e72e215fcce1a /Mailman/Defaults.py
parentec734fab4791c107610caf73931e570b2d1b6bd0 (diff)
downloadmailman-959f34a62e0ec3cbe73da3d43640ccb6791cf3a0.tar.gz
mailman-959f34a62e0ec3cbe73da3d43640ccb6791cf3a0.tar.zst
mailman-959f34a62e0ec3cbe73da3d43640ccb6791cf3a0.zip
Diffstat (limited to 'Mailman/Defaults.py')
-rw-r--r--Mailman/Defaults.py22
1 files changed, 3 insertions, 19 deletions
diff --git a/Mailman/Defaults.py b/Mailman/Defaults.py
index 951b61bfc..b53065da6 100644
--- a/Mailman/Defaults.py
+++ b/Mailman/Defaults.py
@@ -20,9 +20,10 @@
import os
from datetime import timedelta
-from munepy import Enum
+from Mailman.constants import *
+
def seconds(s):
return timedelta(seconds=s)
@@ -994,7 +995,7 @@ from: .*@uplinkpro.com
# 0 - Reply-To: not munged
# 1 - Reply-To: set back to the list
# 2 - Reply-To: set to an explicit value (reply_to_address)
-DEFAULT_REPLY_GOES_TO_LIST = 0
+DEFAULT_REPLY_GOES_TO_LIST = ReplyToMunging.no_munging
# Mailman can be configured to strip any existing Reply-To: header, or simply
# extend any existing Reply-To: with one based on the above setting.
@@ -1289,23 +1290,6 @@ Moderate = 128
DontReceiveDuplicates = 256
-class DeliveryMode(Enum):
- # Non-digest delivery
- Regular = 1
- # Digest delivery modes
- MIME = 2
- Plain = 3
-
-
-class DeliveryStatus(Enum):
- Enabled = 0
- # Disabled reason
- Unknown = 1
- ByUser = 2
- ByAdmin = 3
- ByBounce = 4
-
-
# A mapping between short option tags and their flag
OPTINFO = {'hide' : ConcealSubscription,
'nomail' : DisableDelivery,