From: Eric Helgeson Date: Mon, 19 Oct 2009 16:52:25 +0000 (-0400) Subject: Ignoring Sent from my* line in mail (iPhone/Pre) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=acf2b19463d1a03b52f7db81eaade5eb9ebab662;p=quix0rs-gnu-social.git Ignoring Sent from my* line in mail (iPhone/Pre) --- diff --git a/scripts/maildaemon.php b/scripts/maildaemon.php index 11911dcbdc..678ca24c31 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))