Re: Body flag doesn't look into attachments in 2.7
Davide Davini <[email protected]> Fri, 14 Nov 2014 17:07:09 +0100
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/06/2014 16:30, Davide Davini wrote: > Yep, I did this: FOUND=`fgrep -m1 999.999.999.999` if ($FOUND == > /999.999.999.999/ && /^To:.*[email protected]/) { <do stuff> } I was checking old emails when I noticed this post of mine. It works much better like this. if (/^To:.*[email protected]/) { FOUND=`fgrep -m1 -o 999.999.999.999` if ( $FOUND == 999.999.999.999) { <do stuff> } } Bye, Davide -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) iEYEARECAAYFAlRmKK0ACgkQYqpk3E5VqXF4sACffq/qR21IBLbMT+uw7jeMw91V 85AAoJXoTjWyx/ifKTbQmOhxr2Bl2z+p =giXt -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk