summaryrefslogtreecommitdiff
path: root/scripts/forward_emails.php
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2011-06-02 20:06:26 -0700
committerJesse Morgan <jesse@jesterpm.net ; true>2011-06-02 20:06:26 -0700
commit36d95e85868100b5b65b136f322b686566eaaffd (patch)
tree677ac8acc768088cf8f762cb4887314ae74eabdf /scripts/forward_emails.php
parent18a8041cac4ef0e29b5afe0176c78cea5c9f20dd (diff)
Fixed a couple bugs
Diffstat (limited to 'scripts/forward_emails.php')
-rw-r--r--scripts/forward_emails.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/forward_emails.php b/scripts/forward_emails.php
index bd4846f..d40afac 100644
--- a/scripts/forward_emails.php
+++ b/scripts/forward_emails.php
@@ -47,10 +47,13 @@ foreach ($splitmsg as $line) {
$subject = $header[1];
break;
- case 'delivered-to':
+ case 'x-original-to':
$to = $header[1];
break;
+ case 'delivered-to':
+ break;
+
default:
$headers .= "$line\n";
}