Sebastian Kaps <[EMAIL PROTECTED]> writes:

> > I haven't had time to look at the RFC2047 part of this question, but
> > right off, I can see that this won't work.  You need to remove the
> > surrounding single quotes from the line.  Quotes are only necessary in
> > filter files so that the parser can figure out where the regular
> > expression ends (embedded whitespace is a problem).  In text files
> > with one expression per line (like REs in 'headers-file' files, or
> > email addresses in 'from-file' files), the quotes are just part of the
> > string -- they are neither recognized not removed.
> 
> But this would mean that all REs in this file shouldn't work, wouldn't
> it? However, they do work as I can see in the logfile - at least when
> the Subject: line is in plain text and not base64 encoded.

Yeah, ignore my last message.  Over a year and a half ago I put a fix
in so that we stripped quotes.  I had forgotten about that.  I'm not
sure I'm happy about it.  Because of the implementation, which I'm
also not happy with (!), quotes are *required* if you have embedded
whitespace in your regular expression, even in the text files.  Ugh.
I'm not sure what to do about this, but it's now on my list of
bugs/misfeatures.

Anyhow, I'll try to get a look at the RFC2047 stuff, if Jason doesn't
get to it first, to solve the particular problem you're having.


Tim

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to