diff options
author | Eric Helgeson <erichelgeson@gmail.com> | 2009-10-19 12:52:25 -0400 |
---|---|---|
committer | Eric Helgeson <erichelgeson@gmail.com> | 2009-10-19 12:52:25 -0400 |
commit | acf2b19463d1a03b52f7db81eaade5eb9ebab662 (patch) | |
tree | 3f3975550ac5611c97eee3ff9f16ba32e52b856a /scripts | |
parent | 4855cb58daf374404bec9489769cc57431e347f4 (diff) |
Ignoring Sent from my* line in mail (iPhone/Pre)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maildaemon.php | 4 |
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)) |