PDA

View Full Version : EFM Question


steve3
09-11-2002, 09:50 PM
I'm seeing numerous entries in the log file located in my log_email log file. Here is a sample of what I'm seeing, but I have no clue what they mean. The email address have been replaced with *'s

[2002-09-11 20:00:58 12886] starting filter: command='/big/dom/xsmartin_designs/emailfilter/emailfilter_1.py' sender=<****@*****.com> recipient=<****@******.com> size=166196
[2002-09-11 20:00:58 12886]: Traceback (most recent call last):
[2002-09-11 20:00:58 12886]: File "/big/dom/xsmartin_designs/emailfilter/emailfilter_1.py", line 342, in ?
[2002-09-11 20:00:58 12886]: msg = smart_parser_obj.parse(raw_message)
[2002-09-11 20:00:58 12886]: File "/big/dom/xsmartin_designs/emailfilter/emailfilter_1.py", line 43, in parse
[2002-09-11 20:00:58 12886]: self._parsebody(root, fp)
[2002-09-11 20:00:58 12886]: File "/big/dom/xsmartin_designs/emailfilter/emailfilter_1.py", line 121, in _parsebody
[2002-09-11 20:00:58 12886]: msgobj = self.parsestr(part)
[2002-09-11 20:00:58 12886]: File "/big/dom/xsmartin_designs/emailfilter/emailfilter_1.py", line 47, in parsestr
[2002-09-11 20:00:58 12886]: return self.parse(StringIO(text))
[2002-09-11 20:00:58 12886]: File "/big/dom/xsmartin_designs/emailfilter/emailfilter_1.py", line 42, in parse
[2002-09-11 20:00:58 12886]: self._parseheaders(root, fp)
[2002-09-11 20:00:58 12886]: File "/big/dom/xsmartin_designs/emailfilter/emailfilter_1.py", line 83, in _parseheaders
[2002-09-11 20:00:58 12886]: raise Errors.HeaderParseError(
[2002-09-11 20:00:58 12886]: NameError: global name 'Errors' is not defined
[2002-09-11 20:00:58 12886] exited 1


My log is full of these can anyone provide some info on what they are. Any help is much appreciated. TIA

sheila
09-11-2002, 09:56 PM
Note how I said here:
http://www.aota.net/forums/showthread.php?postid=73426#post73426

that we are working on a bug fix? Um, what you show there, is evidence of one of the bugs, which I have now fixed in the development copy I'm working on. It basically means, I did something stupid in the code. :P

How much more detail would you like? I'd be happy to tell you about the actual problem in the Python source code, but I don't want to put you to sleep if that is something that won't really "do it" for you. ;)

(Note: that is a single error, just getting tossed around to different lines in the code, and the reason you probably have sooo many of these entries in your log, is because there is a single email that EFM cannot parse, and because of these other errors in the code, it fails to deliver the email and so delivery is reattempted repeatedly by Qmail, and each time it retries delivery, you get another listing of those same errors.)

steve3
09-11-2002, 10:10 PM
Originally posted by sheila:

How much more detail would you like? I'd be happy to tell you about the actual problem in the Python source code, but I don't want to put you to sleep if that is something that won't really "do it" for you. ;)
[/i][/COLOR]

No need, I'm not ready for bed yet. As long as its not something I need to worry about, thats all I need to know. Thanks for the fast support and the continued efforts on EFM it's much appreciated.