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

Davide Davini <[email protected]> Mon, 23 Jun 2014 12:40:46 +0200
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

We are talking about text attachments, I'm processing delivery failure
notifications. If I find the IP address of my client server I forward
the undeliverable DFN to them.

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

I mean, it works if the same text is in the "main body" so I would be
surprised if that is the problem, but I don't know really.

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

This is an example of the emails I'm talking about where
999.999.999.999 is the IP address I'm looking for:

Return-Path: <MAILER-DAEMON>
Received: from pino.bramieri.com (pino.bramieri.com [***.***.***.***])
	by gino.bramieri.com (8.14.7/8.14.7) with ESMTP id s5N8pGTI018808
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
	for <[email protected]>; Mon, 23 Jun 2014 10:51:16 +0200 (CEST)
Received: from localhost (localhost)
	by pino.bramieri.com (8.14.7/8.14.7) id s5N8pG3Y095815;
	Mon, 23 Jun 2014 10:51:16 +0200 (CEST)
	(envelope-from MAILER-DAEMON)
Date: Mon, 23 Jun 2014 10:51:16 +0200 (CEST)
From: Mail Delivery Subsystem <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="s5N8pG3Y095815.1403513476/pino.bramieri.com"
Subject: Postmaster notify: see transcript for details
Auto-Submitted: auto-generated (postmaster-notification)

This is a MIME-encapsulated message

- --s5N8pG3Y095815.1403513476/pino.bramieri.com

The original message was received at Mon, 23 Jun 2014 10:51:16 +0200
(CEST)
from localhost
with id s5N8pG3X095815

   ----- The following addresses had permanent fatal errors -----
<[email protected]>
    (reason: 550 #5.1.1 Rejected User unknown.)

   ----- Transcript of session follows -----
... while talking to ***.***.***.***.com.:
>>> RCPT To:<[email protected]>
<<< 550 5.1.1 <[email protected]>... User unknown
>>> DATA
<<< 503 #5.5.1 RCPT first

- --s5N8pG3Y095815.1403513476/pino.bramieri.com
Content-Type: message/delivery-status

Reporting-MTA: dns; pino.bramieri.com
Received-From-MTA: DNS; [999.999.999.999]
Arrival-Date: Mon, 23 Jun 2014 10:51:16 +0200 (CEST)

Final-Recipient: RFC822; [email protected]
Action: failed
Status: 5.1.1
Remote-MTA: DNS; ***.***.***.***.com
Diagnostic-Code: SMTP; 550 #5.1.0 Rejected by bounce verification.
Last-Attempt-Date: Mon, 23 Jun 2014 10:51:16 +0200 (CEST)

- --s5N8pG3Y095815.1403513476/pino.bramieri.com
Content-Type: text/rfc822-headers

Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
	by pino.bramieri.com (8.14.7/8.14.7) id s5N8pG3X095815;
	Mon, 23 Jun 2014 10:51:16 +0200 (CEST)
	(envelope-from MAILER-DAEMON)
Date: Mon, 23 Jun 2014 10:51:16 +0200 (CEST)
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <[email protected]>
To: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="s5N8pG3X095815.1403513476/pino.bramieri.com"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

- --s5N8pG3Y095815.1403513476/pino.bramieri.com--



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlOoBC4ACgkQYqpk3E5VqXGIGgCZAStK5L8SfKg9wJZzF9X/PK91
U+4AniIsDuxnmHcCyVrr6WFXRDdrWqY3
=MH2v
-----END PGP SIGNATURE-----

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