diff options
| author | bwarsaw | 1999-11-30 23:09:45 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-11-30 23:09:45 +0000 |
| commit | ba8b044b21c08e5fb57d0a6935b8be1d817df9bd (patch) | |
| tree | 39cb8cda72171c36b2cfdba3fc31894c53c4fe64 | |
| parent | 9870a8e67e209a25aa5c1d8388af164c63c14f24 (diff) | |
| download | mailman-ba8b044b21c08e5fb57d0a6935b8be1d817df9bd.tar.gz mailman-ba8b044b21c08e5fb57d0a6935b8be1d817df9bd.tar.zst mailman-ba8b044b21c08e5fb57d0a6935b8be1d817df9bd.zip | |
| -rw-r--r-- | Mailman/Handlers/HandlerAPI.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Mailman/Handlers/HandlerAPI.py b/Mailman/Handlers/HandlerAPI.py index f51e2e1f6..02b6fee41 100644 --- a/Mailman/Handlers/HandlerAPI.py +++ b/Mailman/Handlers/HandlerAPI.py @@ -16,6 +16,8 @@ """Contains all the common functionality for the msg handler API.""" +from Mailman import mm_cfg + class HandlerError(Exception): """Base class for all handler errors""" pass @@ -26,13 +28,6 @@ class MessageHeld(HandlerError): pass -# Choose either Sendmail or SMTPDirect as your message delivery module, or -# edit the pipeline variables if you want to use a different one for delivery -# to the lists and delivery to a single recipient. -DELIVERY_MODULE = 'Sendmail' -#DELIVERY_MODULE = 'SMTPDirect' - - # for messages that arrive from the outside, to be delivered to all mailing # list subscribers @@ -47,7 +42,7 @@ def DeliverToList(mlist, msg): 'ToUsenet', 'CalcRecips', 'Decorate', - DELIVERY_MODULE, + mm_cfg.DELIVERY_MODULE, 'Acknowledge', 'AfterDelivery', ] @@ -66,7 +61,7 @@ def DeliverToList(mlist, msg): # None? def DeliverToUser(mlist, msg): pipeline = ['CookHeaders', - DELIVERY_MODULE, + mm_cfg.DELIVERY_MODULE, ] msg.fastrack = 1 for modname in pipeline: |
