[Mailman-Developers] [ mailman-Bugs-571634 ] Date: header field handling

noreply@sourceforge.net noreply@sourceforge.net
Wed, 24 Jul 2002 22:45:16 -0700


Bugs item #571634, was opened at 2002-06-20 09:08
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=571634&group_id=103

Category: mail delivery
Group: 2.1 beta
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Daniel Buchmann (avalon)
Assigned to: Nobody/Anonymous (nobody)
Summary: Date: header field handling

Initial Comment:
I got this traceback in my error log (using latest CVS,
2.1b2+):

Jun 20 14:58:21 2002 (1991) Traceback (most recent call
last):
  File "/home/mailman/Mailman/Queue/Runner.py", line
105, in __oneloop
    self.__onefile(msg, msgdata)
  File "/home/mailman/Mailman/Queue/Runner.py", line
154, in __onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/home/mailman/Mailman/Queue/ArchRunner.py",
line 54, in _dispose
    elif abs(now - mktime_tz(tup)) > \
  File
"/usr/src/build/87651-i386/install/usr/lib/python2.2/rfc822.py",
line 955, in mktime_tz
    t = time.mktime(data[:8] + (0,))
ValueError: year out of range

The offending mail was moved to the qfiles/shunt/
directory.
A quick dump_db on the .pck file showed this Date:
field in the header:

Date: Tue, 18 Jun 0102 05:12:09 +0500

The offending mail was a spam mail, so I've deleted the
.db and .pck file. But reporting it anyway. :)

----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-07-25 01:45

Message:
Logged In: YES 
user_id=12800

Fixed.  The occurrance of this exception is a pretty good
indication that the date needs to be clobbered. ;)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=571634&group_id=103