diff src/readpst.c @ 280:f897afe47db0

ignore internet headers that don't seem to be real rfc822 headers
author Carl Byington <carl@five-ten-sg.com>
date Sun, 22 May 2011 16:08:10 -0700
parents 8c2c7d8d7518
children d9b1e2e0f25a
line wrap: on
line diff
--- a/src/readpst.c	Sun May 22 15:52:12 2011 -0700
+++ b/src/readpst.c	Sun May 22 16:08:10 2011 -0700
@@ -1092,7 +1092,8 @@
     if (header) {
         if ((strncasecmp(header, "Return-Path: ", 13) == 0) ||
             (strncasecmp(header, "Received: ",    10) == 0) ||
-            (strncasecmp(header, "From: ",         6) == 0)) {
+            (strncasecmp(header, "From: ",         6) == 0) ||
+            (strncasecmp(header, "X-x: ",          5) == 0)) {
             return 1;
         }
         else {