--- mailman-2.1.5/Mailman/Queue/ArchRunner.py.date_overflows 2005-11-28 12:24:25.834395006 -0700 +++ mailman-2.1.5/Mailman/Queue/ArchRunner.py 2005-11-28 12:28:41.161403306 -0700 @@ -49,7 +49,7 @@ elif abs(now - mktime_tz(tup)) > \ mm_cfg.ARCHIVER_ALLOWABLE_SANE_DATE_SKEW: clobber = 1 - except ValueError: + except (OverflowError, ValueError): # The likely cause of this is that the year in the Date: field # is horribly incorrect, e.g. (from SF bug # 571634): # Date: Tue, 18 Jun 0102 05:12:09 +0500 --- mailman-2.1.5/Mailman/Handlers/Scrubber.py.date_overflows 2005-11-28 12:26:39.825260152 -0700 +++ mailman-2.1.5/Mailman/Handlers/Scrubber.py 2005-11-28 12:28:41.161403306 -0700 @@ -113,7 +113,7 @@ def safe_strftime(fmt, floatsecs): try: return time.strftime(fmt, floatsecs) - except (TypeError, ValueError): + except (OverflowError, TypeError, ValueError): return None @@ -142,7 +142,7 @@ }.get(parts[3], 0) day = int(parts[4]) year = int(parts[6]) - except (IndexError, ValueError): + except (OverflowError, IndexError, ValueError): # Best we can do I think month = day = year = 0 datedir = '%04d%02d%02d' % (year, month, day)