Bug 2610 - SA eating up my headers
Summary: SA eating up my headers
Status: RESOLVED WORKSFORME
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamassassin (show other bugs)
Version: 2.60
Hardware: Other other
: P5 normal
Target Milestone: 2.70
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-19 04:11 UTC by Andreas Kotowicz
Modified: 2003-10-19 09:45 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kotowicz 2003-10-19 04:11:10 UTC
I have some strange problem. whenever I run the sendmail command from a php
script and have spamassassin activated my email headers get changed to something
like this:

----snip----
Received: from localhost [127.0.0.1] by mail.server.com with 
SpamAssassin (2.60 1.212-2003-09-23-exp); Sun, 19 Oct 2003 00:12:02 +0200
----snap----

with spamassassin deactivated i get this:

----snip----
Received: from mail2.server.com (IDENT:postfix@mail2.server.com       
[123.123.123.123]) by mail.server.com (8.12.9/8.12.9) with ESMTPid       
h9IMEWtq026781 for <user@server.com>; Sun, 19 Oct 2003 00:14:32+0200
Received: by mail2.server.com (Postfix, from userid 99) id        9658168E9B;
Sun, 19 Oct 2003 00:14:32 +0200 (CEST)
Received: from p121.121.121.121.dialin.provider.de by           mail2.server.com
 webmail  for <user@mail2.server.com>; Sun, 19 Oct2003        00:14:32 +0200
----snap----

so how come in the first case spamassassin replaces all my other header entries
with itself? I'm running spamd on my system and I am calling spamassassin with 
---snip---
:0fw: spamassassin.lock
| /usr/bin/spamc
---snap---
in my .procmailrc file. am I doing something wrong? or is this behaviour on
purpose? or maybe just a bug?
Comment 1 Theo Van Dinter 2003-10-19 08:32:40 UTC
Subject: Re: [SAdev]  New: SA eating up my headers

On Sun, Oct 19, 2003 at 04:21:05AM -0700, bugzilla-daemon@bugzilla.spamassassin.org wrote:
> ----snip----
> Received: from localhost [127.0.0.1] by mail.server.com with 
> SpamAssassin (2.60 1.212-2003-09-23-exp); Sun, 19 Oct 2003 00:12:02 +0200
> ----snap----

This is what happens if the message is thought to be spam and you have
report_safe activated.  It encapsulates the original message into an
attachment of a new message, with that Received header.

Comment 2 Daniel Quinlan 2003-10-19 17:45:39 UTC
As Theo said, this is not a bug.  If you want the original headers, just
turn off safe reporting.