Roundup Tracker - Issues

Issue 640854

classification
infinite email loop
Type: Severity: normal
Components: Mail interface Versions:
process
Status: closed fixed
:
: richard : ber, johnmrowe, richard
Priority: normal :

Created on 2002-11-19 18:42 by johnmrowe, last changed 2002-12-05 16:05 by ber.

Messages
msg512 Author: [hidden] (johnmrowe) Date: 2002-11-19 18:42
Whilst testing roundup it managed to get into an
infinite and fairly fast Whilst testing roundup it
managed to get into an infinite and fairly fast (~100
per minute) email loop. As far as I can tell, roundup's
response to being unable to send an email is to send an
email with the entire text of the email it couldn't
send. No prizes for guessing how big the emails got..

Error message enclosed below.  I was running 5.2 on
linux (RH7.3)

Thanks for writing roundup.

John

==============================================================

An unexpected error occurred during the processing
of your message. The tracker administrator is being
notified.

----  traceback of failure  ----
Traceback (most recent call last):
  File
"/usr/local/lib/python2.2/site-packages/roundup/mailgw.py",
line 248, in handle_Message
    return self.handle_message(message)
  File
"/usr/local/lib/python2.2/site-packages/roundup/mailgw.py",
line 525, in handle_message
    recipient = uidFromAddress(self.db, recipient, create)
  File
"/usr/local/lib/python2.2/site-packages/roundup/mailgw.py",
line 867, in uidFromAddress
    realname=realname,
roles=db.config.NEW_EMAIL_USER_ROLES)
  File
"/usr/local/lib/python2.2/site-packages/roundup/backends/back_anydbm.py",
line 786, in create
    raise ValueError, 'node with key "%s" exists'%value
ValueError: node with key "admin" exists
msg513 Author: [hidden] (ber) Date: 2002-12-05 16:05
Logged In: YES 
user_id=113859

Sound like the fix should be a check if that email comes
from a robot
or this roundup instance itself. Usually this is done adding
an X-Loop header
and checking for it.
History
Date User Action Args
2002-11-19 18:42:49johnmrowecreate