diff options
| author | bwarsaw | 1999-11-30 03:45:33 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-11-30 03:45:33 +0000 |
| commit | 5b9548432717f4bd959213c8e81b7828cbbe74c3 (patch) | |
| tree | f295646d0bbd944f51d105f13081dfc472198502 /Mailman/Handlers/HandlerAPI.py | |
| parent | 777dff6f4794f4cefe96910a12c6316377fb4f62 (diff) | |
| download | mailman-5b9548432717f4bd959213c8e81b7828cbbe74c3.tar.gz mailman-5b9548432717f4bd959213c8e81b7828cbbe74c3.tar.zst mailman-5b9548432717f4bd959213c8e81b7828cbbe74c3.zip | |
Diffstat (limited to 'Mailman/Handlers/HandlerAPI.py')
| -rw-r--r-- | Mailman/Handlers/HandlerAPI.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Mailman/Handlers/HandlerAPI.py b/Mailman/Handlers/HandlerAPI.py index ac4036734..f51e2e1f6 100644 --- a/Mailman/Handlers/HandlerAPI.py +++ b/Mailman/Handlers/HandlerAPI.py @@ -26,6 +26,13 @@ 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 @@ -40,7 +47,7 @@ def DeliverToList(mlist, msg): 'ToUsenet', 'CalcRecips', 'Decorate', - 'Sendmail', + DELIVERY_MODULE, 'Acknowledge', 'AfterDelivery', ] @@ -59,7 +66,7 @@ def DeliverToList(mlist, msg): # None? def DeliverToUser(mlist, msg): pipeline = ['CookHeaders', - 'Sendmail', + DELIVERY_MODULE, ] msg.fastrack = 1 for modname in pipeline: |
