Skip to content

Commit b31b1cb

Browse files
author
Roche Compaan
committed
Fixed bug. Mail gateway was not using the extended Message class...
...resulting in failed submissions when mails were processed from a Unix mailbox
1 parent b118998 commit b31b1cb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

roundup-mailgw

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: roundup-mailgw,v 1.14 2001-11-13 21:44:44 richard Exp $
19+
# $Id: roundup-mailgw,v 1.15 2001-11-30 13:16:37 rochecompaan Exp $
2020

2121
import sys, os, re, cStringIO
2222
if int(sys.version[0]) < 2:
2323
print "Roundup requires Python 2.0 or newer."
2424
sys.exit(1)
2525

26-
from mimetools import Message
26+
from roundup import mailgw
27+
Message = mailgw.Message
2728

2829
def do_pipe(handler):
2930
'''Read a message from standard input and pass it to the mail handler.
@@ -168,6 +169,9 @@ if __name__ == '__main__':
168169

169170
#
170171
# $Log: not supported by cvs2svn $
172+
# Revision 1.14 2001/11/13 21:44:44 richard
173+
# . re-open the database as the author in mail handling
174+
#
171175
# Revision 1.13 2001/11/09 01:05:55 richard
172176
# Fixed bug #479511 ] mailgw to pop once engelbert gruber tested the POP
173177
# gateway.

0 commit comments

Comments
 (0)