Redirect erroneously removes headers

Jeff Tucker jefft@wciatl.com
Thu, 20 Dec 2001 10:55:50 -0500


The redirect function seems to be erroneously removing headers from email 
when it is redirected. These headers are extremely important for message 
tracing, and in particular determining the origin of spam.

Below is an example. First, the headers as they are in my Inbox, displayed 
using IMP. Second, the headers as received at a different server after 
being redirected by IMP. I'm using IMP from CVS-HEAD from about a week ago.

Thanks, Jeff

Message as displayed by IMP's "Message Source":

Return-Path: <jefft@wciatl.com>
Delivered-To: spamcop-net-jefft@spamcop.net
Received: (qmail 24000 invoked from network); 20 Dec 2001 15:48:47 -0000
Received: from unknown (HELO scg-database) (192.168.1.7)
  by alpha.cesmail.net with SMTP; 20 Dec 2001 15:48:47 -0000
Received: from 192.168.1.101 by scg-database (InterScan E-Mail VirusWall 
NT); Thu, 20 Dec 2001 10:39:11 -0500 (Eastern Standard Time)
Received: (qmail 1795 invoked from network); 20 Dec 2001 15:48:36 -0000
Received: from unknown (HELO wciatl.com) (65.82.198.85)
  by scgin.cesmail.net with SMTP; 20 Dec 2001 15:48:36 -0000
Received: (qmail 18512 invoked by uid 1011); 20 Dec 2001 15:48:05 -0000
Received: from jefft@wciatl.com by bardeen with qmail-scanner-0.96 
(inocucmd: 24.00/02.65. . Clean. Processed in 0.595183 secs); 20 Dec 2001 
15:48:05 -0000
Received: from jeff.wciatl.com (HELO ?192.168.0.71?) (192.168.0.71)
  by bardeen.wciatl.com with SMTP; 20 Dec 2001 15:48:04 -0000
Date: Thu, 20 Dec 2001 10:46:46 -0500
From: Jeff Tucker <jefft@wciatl.com>
To: jefft@spamcop.net
Subject: Test email
Message-ID: <167975285.1008845206@[192.168.0.71]>
X-Mailer: Mulberry/2.1.2 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-SpamCop-Checked: 192.168.1.7 192.168.1.101 65.82.198.85 192.168.0.71 
192.168.0.71

***********************************************************
Headers after the message has been redirected from IMP (note that several 
Received lines above are missing in these headers):

Received: (qmail 18647 invoked by alias); 20 Dec 2001 15:49:52 -0000
Delivered-To: jefft@wciatl.com
Received: (qmail 18643 invoked by uid 1011); 20 Dec 2001 15:49:52 -0000
Received: from jefft@wciatl.com by bardeen with qmail-scanner-0.96 
(inocucmd: 24.00/02.65. . Clean. Processed in 0.989047 secs); 20 Dec 2001 
15:49:52 -0000
Received: from in.scg-fl.com (HELO in2.scg.to) (198.92.99.107)
  by bardeen.wciatl.com with SMTP; 20 Dec 2001 15:49:50 -0000
Received: (qmail 1992 invoked from network); 20 Dec 2001 15:49:46 -0000
Received: from unknown (HELO alpha.cesmail.net) (192.168.1.8)
  by in2.scg.to with SMTP; 20 Dec 2001 15:49:46 -0000
Received: (qmail 24350 invoked by uid 99); 20 Dec 2001 15:49:46 -0000
Received: from jeff.wciatl.com (HELO ?192.168.0.71?) (192.168.0.71)
  by bardeen.wciatl.com with SMTP; 20 Dec 2001 15:48:04 -0000
Delivered-To: spamcop-net-jefft@spamcop.net
Date: Thu, 20 Dec 2001 10:46:46 -0500
From: Jeff Tucker <jefft@wciatl.com>
To: jefft@spamcop.net
Subject: Test email
Message-ID: <167975285.1008845206@[192.168.0.71]>
X-Mailer: Mulberry/2.1.2 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-SpamCop-Checked: 192.168.1.7 192.168.1.101 65.82.198.85 192.168.0.71 
192.168.0.71
Resent-Date: Thu, 20 Dec 2001 10:49:45 -0500
Resent-From: jefft@spamcop.net
Resent-To: jefft@wciatl.com
Resent-Message-ID: <1008863385.3c220899aa2a6@alpha.cesmail.net>



-- 
Jeff Tucker
Williams Consulting, Inc.
jefft@wciatl.com