Re: Feature Request

[email protected] (Jason R. Mastaler) Fri, 03 Nov 2006 23:56:58 -0700
Newsgroups gmane.mail.spam.tmda.devel
Message-ID <[email protected]>
Conrad <[email protected]> writes:

> 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.

I'm pretty sure I understand what you're asking, but could you perhaps
illustrate with an example logfile entry?