summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/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 100755
--- 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";
}