Re: Body flag doesn't look into attachments in 2.7

Sam Varshavchik <[email protected]> Mon, 23 Jun 2014 06:12:15 -0400
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
Davide Davini writes:

> On: FreeBSD gino.bramieri.com 8.4-RELEASE-p12 FreeBSD 8.4-RELEASE-p12
> #14: Thu Jun 19 15:45:31 CEST 2014
>
> Mail drop port version: maildrop-2.7.1_1
>
> Since [yesterday] I upgraded to 2.7[1] my scripts that use :b flag don't
> seem to look into the attachment anymore. Curses.
>
> Example:
> if (/pippo/:b && /^To:.*[email protected]/)
> {
> 	<do stuff>
> }
>
> It works fine when "pippo" is in the, let's say, main body of the email
> but it fails miserably when "pippo" is in the attachment part of the
> body. It was working like a charm until the upgrade.
>
> Did something that I do not know of change? Is it a bug? Workarounds?

:b should look in attachments if they are text attachments. It will no  
longer look inside binary attachments.

Starting with 2.7.0, maildrop's text search is fully UTF-8-compliant. The  
search strings must be specified in the UTF-8 codeset; and maildrop will, if  
necessary, transcode each MIME section into UTF-8 text, for searching.

This means that non-textual binary attachments are no longer searched; only  
text attachments get searched.

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems

_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJTp/1/AAoJEGs6Yr4nnb8lMw8P/jythU1Bieu7ZJDpO2qeiVMk
H7H7F4TTBWLuPJdVIjki16pWfwfNzsa3PlwR7slVvGnB8Cex/U8i43XdfLVLdP1k
WEXx4MUlQL/RU4Yf1GLE7NmLgmocvQlXsbjLOZGUR4ZSEF0tPQ0f+CKvBrvMTkzw
JAjQ5FFs4AT8sTPPHXuWZTMp91TuGWY6Oj5eEtyeUD777yWCZIiGU5eGld+qsMl8
jiI+CLfaDB7jJb8H5MWx866PjFgBdjfJS+xduyagneNcazmLPEkbd5HZaea3O+TK
l0/NTPc+T+0saKfSXMTAiaXd6YitLQM440vNbcx06mFj1PYb9XoWmdUMZQ6tNYQ9
i8ZkUcJFnDOwAZ/Zc00Fp1Nfpwu7oO1UIjwOV2EMTMik1ltoL/UMkbZhekOFQ1Vq
e1UBU6YzxO/pwzFoZmKWZ1xv/JNMpXDQZwYu4kATXU8rSAdL6K2JYLUXb7Vx2CqD
rCdUdd44ZFekQ52LUxrS4gzPLkHQxgVn//8wpnW9jr/Kl5zz4io08ZWOVHpN7OhP
Q81fM8kwXkDtPruI5dbXmuLvvaWDpahe+85hpipi/tG0yqhJJmFLMW8MdyHV5EJP
8sgesvA/F3kSdQFc6rPuw0zO1grBQ/axYxX0qAPr8AmPBQKlgnfTPs9K2TQ13ICX
i7UWwRJx1yJz1SdTcypI
=frV2
-----END PGP SIGNATURE-----