diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/forward_emails.php | 5 |
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"; } |