Roundup Tracker - Issues

Issue 479502

classification
mailgw crashes if no from
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed fixed
:
: richard : grubert, richard
Priority: low :

Created on 2001-11-08 09:43 by grubert, last changed 2001-11-09 22:34 by richard.

Messages
msg58 Author: [hidden] (grubert) Date: 2001-11-08 09:43
roundup-mailgw 1.12 from cvs

File "roundup/mailgw.py", line 137,
in handle_Message
    sendto = [message.getaddrlist('from')[0][1]]
IndexError: list index out of range

the actual error is that no message was retrieved.
msg59 Author: [hidden] (richard) Date: 2001-11-08 20:07
Logged In: YES 
user_id=6405

That's really wierd - how can there be no From:?

msg60 Author: [hidden] (grubert) Date: 2001-11-09 06:57
Logged In: YES 
user_id=147070

rellay simple the pop-retrieve was wrong and only the first line was fed into.
as said previously, i donot like the break messages,
although for coding the line numbers are really handy.
msg61 Author: [hidden] (richard) Date: 2001-11-09 07:14
Logged In: YES 
user_id=6405

So in short, this is fixed?
msg62 Author: [hidden] (grubert) Date: 2001-11-09 12:29
Logged In: YES 
user_id=147070

the pop retrieve works now, but if one meets a bad pop server who knows.
set it to lowest or i can see to it next week.
msg63 Author: [hidden] (richard) Date: 2001-11-09 22:34
Logged In: YES 
user_id=6405

Well, either way, I handle the bad input data now. Sends 
mail to the admin address if a message is retrieved that 
has no From: line.
History
Date User Action Args
2001-11-08 09:43:34grubertcreate