summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/ToOutgoing.py
diff options
context:
space:
mode:
authorbwarsaw2001-02-15 04:43:30 +0000
committerbwarsaw2001-02-15 04:43:30 +0000
commit6aa7247ab3274044022d56b6b38a77305d858fd9 (patch)
tree8c831309abd5737fda0a7e30c933cac6646deb38 /Mailman/Handlers/ToOutgoing.py
parent310b234d16702b2254bb96b6302b07bfbd97446a (diff)
downloadmailman-6aa7247ab3274044022d56b6b38a77305d858fd9.tar.gz
mailman-6aa7247ab3274044022d56b6b38a77305d858fd9.tar.zst
mailman-6aa7247ab3274044022d56b6b38a77305d858fd9.zip
Diffstat (limited to 'Mailman/Handlers/ToOutgoing.py')
-rw-r--r--Mailman/Handlers/ToOutgoing.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/Mailman/Handlers/ToOutgoing.py b/Mailman/Handlers/ToOutgoing.py
index 02d6d0e36..1f121307b 100644
--- a/Mailman/Handlers/ToOutgoing.py
+++ b/Mailman/Handlers/ToOutgoing.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998,1999,2000 by the Free Software Foundation, Inc.
+# Copyright (C) 1998,1999,2000,2001 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -17,7 +17,11 @@
"""Re-queue the message to the outgoing queue."""
from Mailman import mm_cfg
+from Mailman.Queue.sbcache import get_switchboard
+from Mailman.Logging.Syslog import syslog
+
+
def process(mlist, msg, msgdata):
- msg.Requeue(mlist, newdata=msgdata,
- _whichq = mm_cfg.OUTQUEUE_DIR)
+ outq = get_switchboard(mm_cfg.OUTQUEUE_DIR)
+ outq.enqueue(msg, msgdata, listname=mlist.internal_name())