summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2000-12-20 21:41:02 +0000
committerbwarsaw2000-12-20 21:41:02 +0000
commit6990c8136fa0b294952b69ad3e3add258872f794 (patch)
treeb30f1edabf976c60e239f4d0bd082f7c8ae8d8b4
parent3281c4603f2741876d0fe6597d6a29b99af73322 (diff)
downloadmailman-6990c8136fa0b294952b69ad3e3add258872f794.tar.gz
mailman-6990c8136fa0b294952b69ad3e3add258872f794.tar.zst
mailman-6990c8136fa0b294952b69ad3e3add258872f794.zip
intermediate
-rw-r--r--Mailman/Handlers/ToOutgoing.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/Mailman/Handlers/ToOutgoing.py b/Mailman/Handlers/ToOutgoing.py
new file mode 100644
index 000000000..02d6d0e36
--- /dev/null
+++ b/Mailman/Handlers/ToOutgoing.py
@@ -0,0 +1,23 @@
+# Copyright (C) 1998,1999,2000 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
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# 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."""
+
+from Mailman import mm_cfg
+
+def process(mlist, msg, msgdata):
+ msg.Requeue(mlist, newdata=msgdata,
+ _whichq = mm_cfg.OUTQUEUE_DIR)