ons, 12.05.2004 kl. 00.08 skrev Robbie Scott:
When you do pattern matching on the body, you can match on any part of
the body, even parts of the body that the user doesn't realize exists,
like part separators (if that's what you call them). For example, a
filter like this:
if ( ( /codin/:b )){
to $THE_FOLDER
}
Catches things in the body like:
------=xxxxxxxxxxxxxxxxxxxxxxx
Content-Type: text/plain; charset=u
Content-Transfer-Encoding: 7bit
Is there a way to get body searches to avoid this? (I'm not sure I'm
using the right vocabulary, but you get the idea.)
Yes, if you use Postfix 2.x (I use 2.1 stable ATM) and POSIX or PCRE (I
use PCRE) body_checks. They will not catch header_checks or
mime_header_checks (Postfix definitions as such) like those you quote.
Moreover with PF, this is system-wide and not configurable per user. On
the other hand, what you quote would include body text in PF, such as
"coding", "(de|en)coding", "codine", etc and is /not/ a good filter ;)
--Tonni
--Tonni
--
We make out of the quarrel with others rhetoric
but out of the quarrel with ourselves, poetry.
mail: billy - at - billy.demon.nl
http://www.billy.demon.nl