Update of /cvsroot/mailman/mailman/Mailman
In directory usw-pr-cvs1:/tmp/cvs-serv18737
Modified Files:
Tag: Release_2_0_1-branch
Message.py
Log Message:
OutgoingMessage.__init__(): Jason Mastaler's contribution to add a
unique Message-ID: header if one is not already present.
Index: Message.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Message.py,v
retrieving revision 1.40.2.2
retrieving revision 1.40.2.3
diff -C2 -d -r1.40.2.2 -r1.40.2.3
*** Message.py 3 Apr 2002 22:40:41 -0000 1.40.2.2
--- Message.py 4 Apr 2002 21:14:59 -0000 1.40.2.3
***************
*** 197,204 ****
Message.__init__(self, StringIO(text))
# RFC 2822 requires a Date: header, and while most MTAs add one if
! # it's missing, Qmail does not.
if not self.get('date'):
self['Date'] = Utils.formatdate(localtime=1)
!
--- 197,208 ----
Message.__init__(self, StringIO(text))
# RFC 2822 requires a Date: header, and while most MTAs add one if
! # it's missing, qmail does not.
if not self.get('date'):
self['Date'] = Utils.formatdate(localtime=1)
! # RFC 2822 recommends a Message-ID: header, and while most MTAs add
! # one if it's missing, qmail does not.
! if not self.get('message-id'):
! self['Message-ID'] = Utils.make_msgid(idstring='Mailman')
!
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins