Opened 15 years ago
Closed 15 years ago
#95 closed defect (fixed)
Items being dropped or indefinately que'd by mailman when email2trac has an error
Reported by: | anonymous | Owned by: | bas |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | email2trac | Version: | 0.6 |
Keywords: | Cc: | gmcgrath@… |
Description
In our syslogs we have been seeing this error:
Oct 22 04:02:22 sun email2trac: Traceback (most recent call last): Oct 22 04:02:22 sun email2trac: File "/usr/local/email2trac/bin/email2trac", line 1240, in <module> tktparser.parse(sys.stdin) Oct 22 04:02:22 sun email2trac: File "/usr/local/email2trac/bin/email2trac", line 818, in parse self.new_ticket(m, spam_msg) Oct 22 04:02:22 sun email2trac: File "/usr/local/email2trac/bin/email2trac", line 719, in new_ticket self.set_reply_fields(tkt, msg) Oct 22 04:02:22 sun email2trac: File "/usr/local/email2trac/bin/email2trac", line 458, in set_reply_fields if mail_list: Oct 22 04:02:22 sun email2trac: UnboundLocalError?: local variable 'mail_list' referenced before assignment
Connected to these issue we get errors similar to: Oct 24 04:02:20 sun sendmail[20474]: m9O8279H020473: to="|/usr/local/email2trac/bin/run_email2trac --project=PNIInternal --component=Tesla", ctladdr=<tesla-help@…> (47/0), delay=00:00:13, xdelay=00:00:13, mailer=prog, pri=60635, dsn=2.0.0, stat=Sent Oct 24 04:02:20 sun sendmail[20474]: m9O8279H020473: to=<lewing@…>, delay=00:00:13, xdelay=00:00:00, mailer=esmtp, pri=60635, relay=emfw4.xxxx.zzz. [128.112.131.23], dsn=2.0.0, stat=Sent (Ok: queued as A547D904E00)
This is causing some of our emails to not be processed into the ticket system.
We think it's because these are emails being generated en-masse to notify us and users of their ID's expiring. It could be a timing or threading issue but we arn't quite sure what's going on.
If you have any testing or suggestions we welcome them as this needs to be fixed.
Attachments (0)
Change History (6)
comment:1 Changed 15 years ago by gmcgrath@…
comment:2 Changed 15 years ago by bas
- Cc gmcgrath@… added
- Status changed from new to assigned
You have set the reply_all option for email2trac this trigger this bug, thanks. I have just commit a patch to the trunk version can you test this?
comment:3 Changed 15 years ago by bas
Just a question did this fixes the bug?
comment:4 Changed 15 years ago by Garrett McGrath
Haven't tested it yet. Was hoping to today but I was sick yesterday throwing everything off, I'll be on vacation next week so it will most likely sit till the week after that. As soon as we can test it I'll post our results. -Garrett email2trac wrote: > #95: Items being dropped or indefinately que'd by mailman when email2trac has an > error > ----------------------+--------------------------------------------- -------- > Reporter: anonymous | Owner: bas > Type: defect | Status: assigned > Priority: major | Component: email2trac > Version: trunk | Resolution: > Keywords: | > ----------------------+--------------------------------------------- -------- > > Comment(by bas): > > Just a question did this fixes the bug? > >
comment:5 Changed 15 years ago by bas
and any news
comment:6 Changed 15 years ago by bas
- Resolution set to fixed
- Status changed from assigned to closed
- Version changed from trunk to 0.6
will release new version
Just adding a second note here as I forgot to include my email address.