From acf2b19463d1a03b52f7db81eaade5eb9ebab662 Mon Sep 17 00:00:00 2001 From: Eric Helgeson Date: Mon, 19 Oct 2009 12:52:25 -0400 Subject: Ignoring Sent from my* line in mail (iPhone/Pre) --- scripts/maildaemon.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/maildaemon.php b/scripts/maildaemon.php index 11911dcbd..678ca24c3 100755 --- a/scripts/maildaemon.php +++ b/scripts/maildaemon.php @@ -362,6 +362,10 @@ class MailerDaemon if (preg_match('/^\s*Sent via/', $line)) { continue; } + if (preg_match('/^\s*Sent from my/', $line)) { + continue; + } + // skip everything after a sig if (preg_match('/^\s*--+\s*$/', $line) || preg_match('/^\s*__+\s*$/', $line)) -- cgit v1.2.3