2010-05-26 17:40:41 |
Diogo Matsubara |
description |
Every hour, process-mail.py is generating several error messages of the form:
2010-01-07 02:33:15 ERROR An exception was raised inside the handler:
[...] (need more than 1 value to unpack)
The traceback is:
Traceback (most recent call last):
File "/srv/launchpad.net/production/launchpad-rev-8806/lib/canonical/launchpad/mail/incoming.py", line 275, in handleMail
user, domain = email_addr.split('@')
ValueError: need more than 1 value to unpack
The trigger is a malformed To: header - an attempt by spammers to get things past filters:
To: <<ex1@bugs.launchpad.net>,
<ex2@bugs.launchpad.net>,
<ex3@bugs.launchpad.net>,
<ex4@bugs.launchpad.net>,
<ex5@bugs.launchpad.net>>
We need to handle this better to allow us to again monitor this script for genuine failures. |
Every hour, process-mail.py is generating several error messages of the form:
2010-01-07 02:33:15 ERROR An exception was raised inside the handler:
[...] (need more than 1 value to unpack)
The traceback is:
Traceback (most recent call last):
File "/srv/launchpad.net/production/launchpad-rev-8806/lib/canonical/launchpad/mail/incoming.py", line 275, in handleMail
user, domain = email_addr.split('@')
ValueError: need more than 1 value to unpack
The trigger is a malformed To: header - an attempt by spammers to get things past filters:
To: <<ex1@bugs.launchpad.net>,
<ex2@bugs.launchpad.net>,
<ex3@bugs.launchpad.net>,
<ex4@bugs.launchpad.net>,
<ex5@bugs.launchpad.net>>
We need to handle this better to allow us to again monitor this script for genuine failures.
Recently: OOPS-1607CEMAIL801 |
|