On Thu, 16 Jan 2014 13:42:11 +0200 Nerijus Baliunas
Post by Nerijus Baliunasto "./Maildir/.avirus"
to "./Maildir/.avirus"
And with 2.6.0 it's vice versa - works with quotes and does not work without.
Ok. This is a result of the switch to canonical UTF-8 pattern matching. The
message gets transcoded to a canonical UTF-8 format, internally, before it
gets searched. This involves converting all headers to a canonical format.
As part of this process, all headers get reparsed and reformatted. Message
text encoded with quoted-printable or base64 gets decoded. Before the switch
to UTF-8, it was not really possible to search base64-encoded content, so
this was a pretty big deal.
In the case here, the quotes are redundant, so they're removed before the
actual search takes place. So now, the same search pattern will match a
From: header with or without quotes, around the names. It should also match
a From: header that uses obsolete syntax, like "From: ***@xxx.lt (System
Anti-Virus Administrator)", using the same pattern.
You can see what exactly gets searched by executing "reformime -u" with the
message on standard input.
I agree that this is confusing, but this is the right thing to do. Being
able to correctly match non-Latin search patterns is more important. So, the
only result from this, is that better documentation is needed. Generally,
the patterns should be written against the output from reformime -u.