SA Bugzilla – Bug 2610
SA eating up my headers
Last modified: 2003-10-19 09:45:39 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?
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.
As Theo said, this is not a bug. If you want the original headers, just turn off safe reporting.