Re: Body flag doesn't look into attachments in 2.7
Sam Varshavchik <[email protected]> Mon, 23 Jun 2014 08:40:35 -0400
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
Davide Davini writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sam Varshavchik wrote: > > Davide Davini writes: > > > >>> 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: > > > > I see. What you're looking for has > > > > Content-Type: message/<subtype> > > > > and maildrop is looking only inside MIME text content type. This > > will need to be changed; I don't see a problem with doing a text > > search inside the "message" MIME content type. > > If I'm understanding it correctly you are saying that maildrop finds > "Content-Type: message/delivery-status" and not the content type it > aspects to find [Content-Type: text/plain or whatever] and that is why > it doesn't get parsed. > > That's a bummer because those messages are generated automatically by > the MTA and I can't change them. As far as I know anyway. Correct. maildrop will need to be changed, so that it can search inside the message/delivery-status MIME content. As a workaround in the meantime, you can have maildrop use fgrep: FOUND=`fgrep -q 999.999.999.999; echo \$?` Something like that. Might need experimenting, to get the syntax right. ------------------------------------------------------------------------------ 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 iQIcBAABAgAGBQJTqCBDAAoJEGs6Yr4nnb8lrgIQAMq7iiEVOPqt1+Ijmg66eDEk X+nq3EqibEklndoklfPYnbzkB5i4cihQhcHaYraBR3ja7lRyBZ9Ee1fV6MWLUdxd aM+XV8A2iyR/GR0+n1MgL/Cis8yipUPW6KMF2nYv3Ez8v2psIStae6gTAnH4ITaw jV0Ipy8Gv59ZczJ6xQqp+QjoxsG8gJAVyCcC7cP/CKn47FhHQiS1rRXjJMoVRwiq t+5QET7GT/3ST3S8HP6LkJGnsMjPikhq87aDc3y5CjUp6lnlJ/ktLNwm/5B4GjyE UulQ4JwohHDuiNrL/vu3wIAUFIJRxR0jkJDpHqSH5nEvsmqi1m9ZkJpCmiELQdzI ue7SVQSSVbze9QJNsIuBQTMzaScjhHZCK90g3EWoMuyqEk2ghIGx5fsnUWmpIeB4 rWNd0BtESqYSoCfiyL87SgtRJrVjtmlgI4IFw/rAEx51Qt86SmF07Vgh8EsSkyCm Q8v6pn1o6putLMnoGNK5cOajeVNlKxioT0ML4O6ErpMa4rqP4ySUqxx+RquypjxI 5us0f9EwnV30G3m3AjpGPpqJanqc7Yo32BNoUOLD96vtSmZE9GeRY2LoO6f3gHtn 6OCkJWqToBAhJ6zGlfZagi8fdcumG1h4pWwt0JzrJG3+54cPSxhz2DPmSD5vW+V5 +cLo5+0LTVzO7jN9P6Lc =QTil -----END PGP SIGNATURE-----