Hey guys-

I have a feature request of you guys. Unfortunately, I dont have the 
time to write/debug it at the moment.

I have a couple of clients who are now writing their own regex's. As 
expected, they tend to go crazy, and then ask why messages are not in 
their queue. When using the headers-file or body-file filter, it 
would be wonderful to be able to see what exact rule caused the 
action. A line number would suffice. This would help tremendously to 
debug client-added regex files, instead of just having to waste a ton 
of time trying regex's and debugging it for them.

This info could be printed out to the incoming log, and to 
ACTION_HEADER_INCOMING. A quick check of the code, and I think it 
would just mean making a loop in FilterParser.py around line 1122 and 
something to make it meaningful at around 1150.

Thanks.

--Photocon
Conrad Hunziker III
NightSky Hosting - http://www.nightskyhosting.com/ 

_________________________________________________
tmda-workers mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to