Bug 177867

Summary: mailman BounceRunner dies with ValueError : day of year out of range
Product: [Fedora] Fedora Reporter: Derek Atkins <warlord>
Component: mailmanAssignee: Tomas Smetana <tsmetana>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-17 15:01:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Derek Atkins 2006-01-15 21:54:11 UTC
Description of problem:

The mailman bouncerunner in FC4 dies with the following error:

Jan 15 01:46:08 2006 qrunner(12639):   File "/usr/lib/mailman/bin/qrunner", line
230, in main
Jan 15 01:46:08 2006 qrunner(12639):      qrunner.run()
Jan 15 01:46:08 2006 qrunner(12639):   File
"/usr/lib/mailman/Mailman/Queue/Runner.py", line 87, in run
Jan 15 01:46:08 2006 qrunner(12639):      self._cleanup()
Jan 15 01:46:08 2006 qrunner(12639):   File
"/usr/lib/mailman/Mailman/Queue/BounceRunner.py", line 220, in _cleanup
Jan 15 01:46:08 2006 qrunner(12639):      BounceMixin._cleanup(self)
Jan 15 01:46:08 2006 qrunner(12639):   File
"/usr/lib/mailman/Mailman/Queue/BounceRunner.py", line 132, in _cleanup
Jan 15 01:46:08 2006 qrunner(12639):      self._register_bounces()
Jan 15 01:46:08 2006 qrunner(12639):   File
"/usr/lib/mailman/Mailman/Queue/BounceRunner.py", line 120, in _register_bounces
Jan 15 01:46:08 2006 qrunner(12639):      mlist.registerBounce(addr, msg, day=day)
Jan 15 01:46:08 2006 qrunner(12639):   File
"/usr/lib/mailman/Mailman/Bouncer.py", line 131, in registerBounce
Jan 15 01:46:08 2006 qrunner(12639):      time.strftime('%d-%b-%Y', day + (0,)*6))
Jan 15 01:46:08 2006 qrunner(12639): ValueError :  day of year out of range


Version-Release number of selected component (if applicable):

mailman-2.1.5-35.fc4
python-2.4.1-2

How reproducible:

Every time

Steps to Reproduce:
1. Run Mailman
2. Wait for a bounce
3. See the bouncerunner crash
  
Actual results:

See error message above

Expected results:

The bouncerunner shouldn't crash -- it should process the bounces.

Additional info:

This is discussed on the mailman list:
http://mail.python.org/pipermail/mailman-users/2005-March/043640.html

The proposed patch fixes the problem.

Comment 1 Harald Hoyer 2006-05-12 06:24:56 UTC
Please test:
http://www.redhat.com/archives/fedora-test-list/2006-May/msg00131.html

Comment 2 Christian Iseli 2007-01-22 11:03:04 UTC
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Thanks.

Comment 3 Tomas Smetana 2007-04-17 15:01:45 UTC
This was fixed in mailman 2.1.6 and is not present in FC5 or newer.
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1394696&group_id=103