summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/ToOutgoing.py
diff options
context:
space:
mode:
authorbwarsaw2001-11-20 16:40:25 +0000
committerbwarsaw2001-11-20 16:40:25 +0000
commit828f217842b5455661340bce013c07e3fd996f7c (patch)
tree74f7333faecf735dac96826b401e1188884dafdd /Mailman/Handlers/ToOutgoing.py
parent400d3072c224299c7da791f8f82383cda77f8071 (diff)
downloadmailman-828f217842b5455661340bce013c07e3fd996f7c.tar.gz
mailman-828f217842b5455661340bce013c07e3fd996f7c.tar.zst
mailman-828f217842b5455661340bce013c07e3fd996f7c.zip
Diffstat (limited to 'Mailman/Handlers/ToOutgoing.py')
-rw-r--r--Mailman/Handlers/ToOutgoing.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Mailman/Handlers/ToOutgoing.py b/Mailman/Handlers/ToOutgoing.py
index b400cde9b..6e0ba8abf 100644
--- a/Mailman/Handlers/ToOutgoing.py
+++ b/Mailman/Handlers/ToOutgoing.py
@@ -14,7 +14,12 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-"""Re-queue the message to the outgoing queue."""
+"""Re-queue the message to the outgoing queue.
+
+This module is only for use by the IncomingRunner for delivering messages
+posted to the list membership. Anything else that needs to go out to some
+recipient should just be placed in the out queue directly.
+"""
from Mailman import mm_cfg
from Mailman.Queue.sbcache import get_switchboard
@@ -22,5 +27,6 @@ from Mailman.Queue.sbcache import get_switchboard
def process(mlist, msg, msgdata):
+ # And now drop the message in qfiles/out
outq = get_switchboard(mm_cfg.OUTQUEUE_DIR)
outq.enqueue(msg, msgdata, listname=mlist.internal_name())