diff --git a/roundup-mailgw b/roundup-mailgw
index e5a0b653616f216e1afb98c322591a1775f9a49c..1e1f4b4527423d0f3cf58d6b7defeabbbee0fb6a 100755 (executable)
--- a/roundup-mailgw
+++ b/roundup-mailgw
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundup-mailgw,v 1.13 2001-11-09 01:05:55 richard Exp $
+# $Id: roundup-mailgw,v 1.18 2001-12-13 00:20:01 richard Exp $
+
+# python version check
+from roundup import version_check
import sys, os, re, cStringIO
-if int(sys.version[0]) < 2:
- print "Roundup requires Python 2.0 or newer."
- sys.exit(1)
-from mimetools import Message
+from roundup.mailgw import Message
def do_pipe(handler):
'''Read a message from standard input and pass it to the mail handler.
# get a mail handler
db = instance.open('admin')
- handler = instance.MailGW(db)
+ handler = instance.MailGW(instance, db)
# if there's no more arguments, read a single message from stdin
if len(args) == 2:
#
# $Log: not supported by cvs2svn $
+# Revision 1.17 2001/12/02 05:06:16 richard
+# . We now use weakrefs in the Classes to keep the database reference, so
+# the close() method on the database is no longer needed.
+# I bumped the minimum python requirement up to 2.1 accordingly.
+# . #487480 ] roundup-server
+# . #487476 ] INSTALL.txt
+#
+# I also cleaned up the change message / post-edit stuff in the cgi client.
+# There's now a clearly marked "TODO: append the change note" where I believe
+# the change note should be added there. The "changes" list will obviously
+# have to be modified to be a dict of the changes, or somesuch.
+#
+# More testing needed.
+#
+# Revision 1.16 2001/11/30 18:23:55 jhermann
+# Cleaned up strange import (less pollution, too)
+#
+# Revision 1.15 2001/11/30 13:16:37 rochecompaan
+# Fixed bug. Mail gateway was not using the extended Message class
+# resulting in failed submissions when mails were processed from a Unix
+# mailbox
+#
+# Revision 1.14 2001/11/13 21:44:44 richard
+# . re-open the database as the author in mail handling
+#
+# Revision 1.13 2001/11/09 01:05:55 richard
+# Fixed bug #479511 ] mailgw to pop once engelbert gruber tested the POP
+# gateway.
+#
# Revision 1.12 2001/11/08 05:16:55 richard
# Rolled roundup-popgw into roundup-mailgw. Cleaned mailgw up significantly,
# tested unix mailbox some more. POP still untested.