summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEric Helgeson <erichelgeson@gmail.com>2009-10-19 12:52:25 -0400
committerEric Helgeson <erichelgeson@gmail.com>2009-10-19 12:52:25 -0400
commitacf2b19463d1a03b52f7db81eaade5eb9ebab662 (patch)
tree3f3975550ac5611c97eee3ff9f16ba32e52b856a /scripts
parent4855cb58daf374404bec9489769cc57431e347f4 (diff)
Ignoring Sent from my* line in mail (iPhone/Pre)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/maildaemon.php4
1 files changed, 4 insertions, 0 deletions
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))