You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2007/07/30 16:36:24 UTC

Re: Problem with 3.2.2 and mail headers in the email

could you try adding the 3.2.2 patch from 
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5574 ? it could
be some buggy error-handling code is being triggered.

--j.

Nigel Frankcom writes:
>I'm top posting this since bottom posting is pointless. As far as I
>can tell each mail is being dealt with twice. I'm really unsure what
>to do; whether my mailserver is the problem or SA. Or, more
>accurately, what change in the way SA handles headers has caused this
>problem to appear on my server now (I'm assuming it's idiosyncratic to
>my server since the list isn't deluged with HELP messages).
>
>I tried dropping back to 3.2.1 but couldn't find a port for it
>anywhere. I'll keep digging and see if I can find one since that
>didn't exhibit this issue with my server.
>
>Any help at all would be massively appreciated since I have a good few
>customers who are a tad concerned (not least of which being me).
>
>I did manage to pull a 3.1.9 version to test but that pretty much
>'blew up' and refused to accept any connections at all even though it
>--lint's clean.
>
>I really am at a loss and desperately in need of some advice.
>
>If you look at the stuff below this bit you'll see pretty clearly the
>problem I've got. If the dev's need to see raw messages (before SA
>gets them, let me know)
>
>TIA
>
>Nigel
>
>
>On Mon, 30 Jul 2007 11:56:53 +0100, Nigel Frankcom
><ni...@blue-canoe.com> wrote:
>
>>Hi All,
>>
>>This morning I upgraded to 3.2.2 on CentOS 64 via yum.
>>
>>I'm now getting a copy of all email headers inside the body of the
>>email.
>>
>>Everything --lint's clean and apart from this it's working fine. As an
>>example I've copied in a list post below I received since the upgrade.
>>
>>Any help or workaround suggestions would be greatly appreciated.
>>
>>Kind regards
>>
>>Nigel.
>>
>>>Spamassassin List wrote:
>>>>
>>>> Any idea for qmail?
>>>Look on www.qmail.org for links - e.g. Qmail-Scanner allows you the
>>>option of generating the bounce - or SMTP-level rejecting it as
>>>mentioned in this thread.
>>>
>>>--=20
>>>Cheers
>>>
>>>Jason Haar
>>>Information Security Manager, Trimble Navigation Ltd.
>>>Phone: +64 3 9635 377 Fax: +64 3 9635 417
>>>PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
>>>
>>>SPAMD/1.1 0 EX_OK
>>>Content-length: 3802
>>>
>>>X-Spam-RBLReport: <dns:spamassassin.apache.org> [140.211.11.130]
>>>	<dns:spamassassin.apache.org?type=3DMX> [10 mx1.us.apache.org., 20 =
>mail.apache.org.]
>>>	<dns:2.11.211.140.list.dnswl.org> [127.0.4.2]
>>>X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on =
>ratsnest.bleh
>>>X-Spam-Level:=20
>>>X-Spam-Status: No, score=3D-200.5 required=3D5.0 =
>tests=3DBAYES_99=3D3.5,
>>>	DKIM_POLICY_SIGNSOME=3D0,RCVD_IN_DNSWL_MED=3D-4,SPF_PASS=3D-0.001,
>>>	USER_IN_SPF_WHITELIST=3D-100,USER_IN_WHITELIST=3D-100 =
>autolearn=3Ddisabled
>>>	version=3D3.2.2
>>>Received: from mail.apache.org (hermes.apache.org [140.211.11.2])
>>>	by blue-canoe.org.uk (envelope-sender =
><us...@spamassassin.apache.org>) with=
> ESMTP (MTSPro MTSSmtp 1.61)
>>>	for <ni...@blue-canoe.com>; Mon, 30 Jul 2007 09:49:03 +0100
>>>Received: (qmail 41753 invoked by uid 500); 30 Jul 2007 08:48:53 -0000
>>>Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm
>>>Precedence: bulk
>>>list-help: <ma...@spamassassin.apache.org>
>>>list-unsubscribe: <ma...@spamassassin.apache.org>
>>>List-Post: <ma...@spamassassin.apache.org>
>>>List-Id: <users.spamassassin.apache.org>
>>>Delivered-To: mailing list users@spamassassin.apache.org
>>>Received: (qmail 41743 invoked by uid 99); 30 Jul 2007 08:48:53 -0000
>>>Received: from Unknown (HELO athena.apache.org) (140.211.11.136)
>>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 01:48:53 =
>-0700
>>>X-ASF-Spam-Status: No, hits=3D-0.0 required=3D10.0
>>>	tests=3DSPF_PASS
>>>Received-SPF: pass (athena.apache.org: local policy)
>>>Received: from [218.101.54.16] (HELO mailsrv1.trimble.co.nz) =
>(218.101.54.16)
>>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 08:48:43 =
>+0000
>>>Received: (qmail 10376 invoked by uid 502); 30 Jul 2007 20:48:20 +1200
>>>Received: from 10.3.254.3 by mailsrv1.trimble.co.nz (envelope-from =
><Ja...@trimble.co.nz>, uid 107) with qmail-scanner-2.02=20
>>> (clamdscan: 0.90.3/3819. trophie: 8.310-1002/623/211940. sophie: =
>3.06/2.47.0/4.19. spamassassin: 3.2.1. =20
>>> Clear:RC:1(10.3.254.3):SA:0(0.1/5.0):.=20
>>> Processed in 3.957727 secs); 30 Jul 2007 08:48:20 -0000
>>>Received: from webmail.trimble.co.nz (10.3.254.3)
>>>  by mailsrv1.trimble.co.nz with (DHE-RSA-AES256-SHA encrypted) SMTP; =
>30 Jul 2007 20:48:16 +1200
>>>Received: (qmail 12405 invoked from network); 30 Jul 2007 20:48:16 =
>+1200
>>>Received: from unknown (HELO tnz-jhaar-lt.ap.trimblecorp.net) =
>(222.154.246.214)
>>>  by webmail.trimble.co.nz with (DHE-RSA-AES256-SHA encrypted) SMTP
>>>  (cert Jason.Haar@trimble.co.nz); 30 Jul 2007 20:48:16 +1200
>>>Message-ID: <46...@trimble.co.nz>
>>>Date: Mon, 30 Jul 2007 20:48:10 +1200
>>>From: Jason Haar <Ja...@trimble.co.nz>
>>>Organization: Trimble Navigation Ltd.
>>>User-Agent: Thunderbird 2.0.0.5 (X11/20070719)
>>>MIME-Version: 1.0
>>>To:  users@spamassassin.apache.org
>>>Subject: Re: How would you provide a 554 rejection notice for spam?
>>>References: <11...@talk.nabble.com> =
><46...@verizon.net> <26...@dw>
>>>In-Reply-To: <26...@dw>
>>>X-Enigmail-Version: 0.95.1
>>>Content-Type: text/plain; charset=3DISO-8859-1
>>>Content-Transfer-Encoding: 7bit
>>>X-Old-Spam-Status: No, score=3D0.1 required=3D5.0
>>>X-Abuse-Report-URL: http://www.blue-canoe.net/abuse
>>>X-Envelope-Sender: =
><us...@spamassassin.apache.org>
>>>X-Envelope-Receiver: <ni...@blue-canoe.com>
>>>
>>>Spamassassin List wrote:
>>>>
>>>> Any idea for qmail?
>>>Look on www.qmail.org for links - e.g. Qmail-Scanner allows you the
>>>option of generating the bounce - or SMTP-level rejecting it as
>>>mentioned in this thread.
>>>
>>>--=20
>>>Cheers
>>>
>>>Jason Haar
>>>Information Security Manager, Trimble Navigation Ltd.
>>>Phone: +64 3 9635 377 Fax: +64 3 9635 417
>>>PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
>>>
>>>SPAMD/1.1 0 EX_OK
>>>Content-length: 3802
>>>
>>>X-Spam-RBLReport: <dns:spamassassin.apache.org> [140.211.11.130]
>>>	<dns:spamassassin.apache.org?type=3DMX> [10 mx1.us.apache.org., 20 =
>mail.apache.org.]
>>>	<dns:2.11.211.140.list.dnswl.org> [127.0.4.2]
>>>X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on =
>ratsnest.bleh
>>>X-Spam-Level:=20
>>>X-Spam-Status: No, score=3D-200.5 required=3D5.0 =
>tests=3DBAYES_99=3D3.5,
>>>	DKIM_POLICY_SIGNSOME=3D0,RCVD_IN_DNSWL_MED=3D-4,SPF_PASS=3D-0.001,
>>>	USER_IN_SPF_WHITELIST=3D-100,USER_IN_WHITELIST=3D-100 =
>autolearn=3Ddisabled
>>>	version=3D3.2.2
>>>Received: from mail.apache.org (hermes.apache.org [140.211.11.2])
>>>	by blue-canoe.org.uk (envelope-sender =
><us...@spamassassin.apache.org>) with=
> ESMTP (MTSPro MTSSmtp 1.61)
>>>	for <ni...@blue-canoe.com>; Mon, 30 Jul 2007 09:49:03 +0100
>>>Received: (qmail 41753 invoked by uid 500); 30 Jul 2007 08:48:53 -0000
>>>Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm
>>>Precedence: bulk
>>>list-help: <ma...@spamassassin.apache.org>
>>>list-unsubscribe: <ma...@spamassassin.apache.org>
>>>List-Post: <ma...@spamassassin.apache.org>
>>>List-Id: <users.spamassassin.apache.org>
>>>Delivered-To: mailing list users@spamassassin.apache.org
>>>Received: (qmail 41743 invoked by uid 99); 30 Jul 2007 08:48:53 -0000
>>>Received: from Unknown (HELO athena.apache.org) (140.211.11.136)
>>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 01:48:53 =
>-0700
>>>X-ASF-Spam-Status: No, hits=3D-0.0 required=3D10.0
>>>	tests=3DSPF_PASS
>>>Received-SPF: pass (athena.apache.org: local policy)
>>>Received: from [218.101.54.16] (HELO mailsrv1.trimble.co.nz) =
>(218.101.54.16)
>>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 08:48:43 =
>+0000
>>>Received: (qmail 10376 invoked by uid 502); 30 Jul 2007 20:48:20 +1200
>>>Received: from 10.3.254.3 by mailsrv1.trimble.co.nz (envelope-from =
><Ja...@trimble.co.nz>, uid 107) with qmail-scanner-2.02=20
>>> (clamdscan: 0.90.3/3819. trophie: 8.310-1002/623/211940. sophie: =
>3.06/2.47.0/4.19. spamassassin: 3.2.1. =20
>>> Clear:RC:1(10.3.254.3):SA:0(0.1/5.0):.=20
>>> Processed in 3.957727 secs); 30 Jul 2007 08:48:20 -0000
>>>Received: from webmail.trimble.co.nz (10.3.254.3)
>>>  by mailsrv1.trimble.co.nz with (DHE-RSA-AES256-SHA encrypted) SMTP; =
>30 Jul 2007 20:48:16 +1200
>>>Received: (qmail 12405 invoked from network); 30 Jul 2007 20:48:16 =
>+1200
>>>Received: from unknown (HELO tnz-jhaar-lt.ap.trimblecorp.net) =
>(222.154.246.214)
>>>  by webmail.trimble.co.nz with (DHE-RSA-AES256-SHA encrypted) SMTP
>>>  (cert Jason.Haar@trimble.co.nz); 30 Jul 2007 20:48:16 +1200
>>>Message-ID: <46...@trimble.co.nz>
>>>Date: Mon, 30 Jul 2007 20:48:10 +1200
>>>From: Jason Haar <Ja...@trimble.co.nz>
>>>Organization: Trimble Navigation Ltd.
>>>User-Agent: Thunderbird 2.0.0.5 (X11/20070719)
>>>MIME-Version: 1.0
>>>To:  users@spamassassin.apache.org
>>>Subject: Re: How would you provide a 554 rejection notice for spam?
>>>References: <11...@talk.nabble.com> =
><46...@verizon.net> <26...@dw>
>>>In-Reply-To: <26...@dw>
>>>X-Enigmail-Version: 0.95.1
>>>Content-Type: text/plain; charset=3DISO-8859-1
>>>Content-Transfer-Encoding: 7bit
>>>X-Old-Spam-Status: No, score=3D0.1 required=3D5.0
>>>X-Abuse-Report-URL: http://www.blue-canoe.net/abuse
>>>X-Envelope-Sender: =
><us...@spamassassin.apache.org>
>>>X-Envelope-Receiver: <ni...@blue-canoe.com>
>>>
>>>Spamassassin List wrote:
>>>>
>>>> Any idea for qmail?
>>>Look on www.qmail.org for links - e.g. Qmail-Scanner allows you the
>>>option of generating the bounce - or SMTP-level rejecting it as
>>>mentioned in this thread.
>>>
>>>--=20
>>>Cheers
>>>
>>>Jason Haar
>>>Information Security Manager, Trimble Navigation Ltd.
>>>Phone: +64 3 9635 377 Fax: +64 3 9635 417
>>>PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
>>SPAMD/1.1 0 EX_OK
>>Content-length: 11531
>>
>>X-Spam-RBLReport: <dns:spamassassin.apache.org> [140.211.11.130]
>>	<dns:spamassassin.apache.org?type=3DMX> [10 mx1.us.apache.org., 20 =
>mail.apache.org.]
>>	<dns:2.11.211.140.list.dnswl.org> [127.0.4.2]
>>X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on ratsnest.bleh
>>X-Spam-Level:=20
>>X-Spam-Status: No, score=3D-201.0 required=3D5.0 tests=BAYES_95=3D3,
>>	=
>DKIM_POLICY_SIGNSOME=3D0,NORMAL_HTTP_TO_IP=3D0.001,RCVD_IN_DNSWL_MED=3D-4=
>,
>>	SPF_PASS=3D-0.001,USER_IN_SPF_WHITELIST=3D-100,USER_IN_WHITELIST=3D-100
>>	autolearn=3Ddisabled version=3D3.2.2
>>Received: from mail.apache.org (hermes.apache.org [140.211.11.2])
>>	by blue-canoe.org.uk (envelope-sender =
><us...@spamassassin.apache.org>) with=
> ESMTP (MTSPro MTSSmtp 1.61)
>>	for <ni...@blue-canoe.com>; Mon, 30 Jul 2007 11:57:50 +0100
>>Received: (qmail 21930 invoked by uid 500); 30 Jul 2007 10:57:38 -0000
>>Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm
>>Precedence: bulk
>>list-help: <ma...@spamassassin.apache.org>
>>list-unsubscribe: <ma...@spamassassin.apache.org>
>>List-Post: <ma...@spamassassin.apache.org>
>>List-Id: <users.spamassassin.apache.org>
>>Delivered-To: mailing list users@spamassassin.apache.org
>>Received: (qmail 21921 invoked by uid 99); 30 Jul 2007 10:57:38 -0000
>>Received: from Unknown (HELO athena.apache.org) (140.211.11.136)
>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 03:57:38 =
>-0700
>>X-ASF-Spam-Status: No, hits=3D0.0 required=10.0
>>	tests=3DNORMAL_HTTP_TO_IP,SPF_PASS
>>Received-SPF: pass (athena.apache.org: domain of nigel@blue-canoe.com =
>designates 217.35.90.98 as permitted sender)
>>Received: from [217.35.90.98] (HELO mail.blue-canoe.org.uk) =
>(217.35.90.98)
>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 10:57:27 =
>+0000
>>Received: by blue-canoe.org.uk (MTSPro MTSAgent 1.60.20) ; Mon, 30 Jul =
>2007 11:57:26 +0100
>>    for <us...@spamassassin.apache.org>
>>Received: from snakepit.bleh (mail.blue-canoe.org.uk [217.35.90.98])
>>	by blue-canoe.org.uk (envelope-sender <ni...@blue-canoe.com>) with =
>ESMTPA (MTSPro MTSSmtp 1.61)
>>	for <us...@spamassassin.apache.org>; Mon, 30 Jul 2007 11:56:57 +0100
>>From: Nigel Frankcom <ni...@blue-canoe.com>
>>To: users@spamassassin.apache.org
>>Subject: Problem with 3.2.2 and mail headers in the email
>>Date: Mon, 30 Jul 2007 11:56:53 +0100
>>Message-ID: <7m...@blue-canoe.net>
>>X-Mailer: Forte Agent 4.2/32.1118
>>MIME-Version: 1.0
>>Content-Type: text/plain; charset=3Dus-ascii
>>Content-Transfer-Encoding: quoted-printable
>>X-Envelope-Sender: =
><us...@spamassassin.apache.org>
>>X-Envelope-Receiver: <us...@spamassassin.apache.org>
>>
>>Hi All,
>>
>>This morning I upgraded to 3.2.2 on CentOS 64 via yum.
>>
>>I'm now getting a copy of all email headers inside the body of the
>>email.
>>
>>Everything --lint's clean and apart from this it's working fine. As an
>>example I've copied in a list post below I received since the upgrade.
>>
>>Any help or workaround suggestions would be greatly appreciated.
>>
>>Kind regards
>>
>>Nigel.
>>
>>>Spamassassin List wrote:
>>>>
>>>> Any idea for qmail?
>>>Look on www.qmail.org for links - e.g. Qmail-Scanner allows you the
>>>option of generating the bounce - or SMTP-level rejecting it as
>>>mentioned in this thread.
>>>
>>>--=20
>>>Cheers
>>>
>>>Jason Haar
>>>Information Security Manager, Trimble Navigation Ltd.
>>>Phone: +64 3 9635 377 Fax: +64 3 9635 417
>>>PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
>>>
>>>SPAMD/1.1 0 EX_OK
>>>Content-length: 3802
>>>
>>>X-Spam-RBLReport: <dns:spamassassin.apache.org> [140.211.11.130]
>>>	<dns:spamassassin.apache.org?type=3DMX> [10 mx1.us.apache.org., 20 =
>mail.apache.org.]
>>>	<dns:2.11.211.140.list.dnswl.org> [127.0.4.2]
>>>X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on =
>ratsnest.bleh
>>>X-Spam-Level:=20
>>>X-Spam-Status: No, score=3D-200.5 required=3D5.0 =
>tests=3DBAYES_99=3D3.5,
>>>	DKIM_POLICY_SIGNSOME=3D0,RCVD_IN_DNSWL_MED=3D-4,SPF_PASS=3D-0.001,
>>>	USER_IN_SPF_WHITELIST=3D-100,USER_IN_WHITELIST=3D-100 =
>autolearn=3Ddisabled
>>>	version=3D3.2.2
>>>Received: from mail.apache.org (hermes.apache.org [140.211.11.2])
>>>	by blue-canoe.org.uk (envelope-sender =
><us...@spamassassin.apache.org>) with=
> ESMTP (MTSPro MTSSmtp 1.61)
>>>	for <ni...@blue-canoe.com>; Mon, 30 Jul 2007 09:49:03 +0100
>>>Received: (qmail 41753 invoked by uid 500); 30 Jul 2007 08:48:53 -0000
>>>Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm
>>>Precedence: bulk
>>>list-help: <ma...@spamassassin.apache.org>
>>>list-unsubscribe: <ma...@spamassassin.apache.org>
>>>List-Post: <ma...@spamassassin.apache.org>
>>>List-Id: <users.spamassassin.apache.org>
>>>Delivered-To: mailing list users@spamassassin.apache.org
>>>Received: (qmail 41743 invoked by uid 99); 30 Jul 2007 08:48:53 -0000
>>>Received: from Unknown (HELO athena.apache.org) (140.211.11.136)
>>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 01:48:53 =
>-0700
>>>X-ASF-Spam-Status: No, hits=3D-0.0 required=3D10.0
>>>	tests=3DSPF_PASS
>>>Received-SPF: pass (athena.apache.org: local policy)
>>>Received: from [218.101.54.16] (HELO mailsrv1.trimble.co.nz) =
>(218.101.54.16)
>>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 08:48:43 =
>+0000
>>>Received: (qmail 10376 invoked by uid 502); 30 Jul 2007 20:48:20 +1200
>>>Received: from 10.3.254.3 by mailsrv1.trimble.co.nz (envelope-from =
><Ja...@trimble.co.nz>, uid 107) with qmail-scanner-2.02=20
>>> (clamdscan: 0.90.3/3819. trophie: 8.310-1002/623/211940. sophie: =
>3.06/2.47.0/4.19. spamassassin: 3.2.1. =20
>>> Clear:RC:1(10.3.254.3):SA:0(0.1/5.0):.=20
>>> Processed in 3.957727 secs); 30 Jul 2007 08:48:20 -0000
>>>Received: from webmail.trimble.co.nz (10.3.254.3)
>>>  by mailsrv1.trimble.co.nz with (DHE-RSA-AES256-SHA encrypted) SMTP; =
>30 Jul 2007 20:48:16 +1200
>>>Received: (qmail 12405 invoked from network); 30 Jul 2007 20:48:16 =
>+1200
>>>Received: from unknown (HELO tnz-jhaar-lt.ap.trimblecorp.net) =
>(222.154.246.214)
>>>  by webmail.trimble.co.nz with (DHE-RSA-AES256-SHA encrypted) SMTP
>>>  (cert Jason.Haar@trimble.co.nz); 30 Jul 2007 20:48:16 +1200
>>>Message-ID: <46...@trimble.co.nz>
>>>Date: Mon, 30 Jul 2007 20:48:10 +1200
>>>From: Jason Haar <Ja...@trimble.co.nz>
>>>Organization: Trimble Navigation Ltd.
>>>User-Agent: Thunderbird 2.0.0.5 (X11/20070719)
>>>MIME-Version: 1.0
>>>To:  users@spamassassin.apache.org
>>>Subject: Re: How would you provide a 554 rejection notice for spam?
>>>References: <11...@talk.nabble.com> =
><46...@verizon.net> <26...@dw>
>>>In-Reply-To: <26...@dw>
>>>X-Enigmail-Version: 0.95.1
>>>Content-Type: text/plain; charset=3DISO-8859-1
>>>Content-Transfer-Encoding: 7bit
>>>X-Old-Spam-Status: No, score=3D0.1 required=3D5.0
>>>X-Abuse-Report-URL: http://www.blue-canoe.net/abuse
>>>X-Envelope-Sender: =
><us...@spamassassin.apache.org>
>>>X-Envelope-Receiver: <ni...@blue-canoe.com>
>>>
>>>Spamassassin List wrote:
>>>>
>>>> Any idea for qmail?
>>>Look on www.qmail.org for links - e.g. Qmail-Scanner allows you the
>>>option of generating the bounce - or SMTP-level rejecting it as
>>>mentioned in this thread.
>>>
>>>--=20
>>>Cheers
>>>
>>>Jason Haar
>>>Information Security Manager, Trimble Navigation Ltd.
>>>Phone: +64 3 9635 377 Fax: +64 3 9635 417
>>>PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
>>>
>>>SPAMD/1.1 0 EX_OK
>>>Content-length: 3802
>>>
>>>X-Spam-RBLReport: <dns:spamassassin.apache.org> [140.211.11.130]
>>>	<dns:spamassassin.apache.org?type=3DMX> [10 mx1.us.apache.org., 20 =
>mail.apache.org.]
>>>	<dns:2.11.211.140.list.dnswl.org> [127.0.4.2]
>>>X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on =
>ratsnest.bleh
>>>X-Spam-Level:=20
>>>X-Spam-Status: No, score=3D-200.5 required=3D5.0 =
>tests=3DBAYES_99=3D3.5,
>>>	DKIM_POLICY_SIGNSOME=3D0,RCVD_IN_DNSWL_MED=3D-4,SPF_PASS=3D-0.001,
>>>	USER_IN_SPF_WHITELIST=3D-100,USER_IN_WHITELIST=3D-100 =
>autolearn=3Ddisabled
>>>	version=3D3.2.2
>>>Received: from mail.apache.org (hermes.apache.org [140.211.11.2])
>>>	by blue-canoe.org.uk (envelope-sender =
><us...@spamassassin.apache.org>) with=
> ESMTP (MTSPro MTSSmtp 1.61)
>>>	for <ni...@blue-canoe.com>; Mon, 30 Jul 2007 09:49:03 +0100
>>>Received: (qmail 41753 invoked by uid 500); 30 Jul 2007 08:48:53 -0000
>>>Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm
>>>Precedence: bulk
>>>list-help: <ma...@spamassassin.apache.org>
>>>list-unsubscribe: <ma...@spamassassin.apache.org>
>>>List-Post: <ma...@spamassassin.apache.org>
>>>List-Id: <users.spamassassin.apache.org>
>>>Delivered-To: mailing list users@spamassassin.apache.org
>>>Received: (qmail 41743 invoked by uid 99); 30 Jul 2007 08:48:53 -0000
>>>Received: from Unknown (HELO athena.apache.org) (140.211.11.136)
>>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 01:48:53 =
>-0700
>>>X-ASF-Spam-Status: No, hits=3D-0.0 required=3D10.0
>>>	tests=3DSPF_PASS
>>>Received-SPF: pass (athena.apache.org: local policy)
>>>Received: from [218.101.54.16] (HELO mailsrv1.trimble.co.nz) =
>(218.101.54.16)
>>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 08:48:43 =
>+0000
>>>Received: (qmail 10376 invoked by uid 502); 30 Jul 2007 20:48:20 +1200
>>>Received: from 10.3.254.3 by mailsrv1.trimble.co.nz (envelope-from =
><Ja...@trimble.co.nz>, uid 107) with qmail-scanner-2.02=20
>>> (clamdscan: 0.90.3/3819. trophie: 8.310-1002/623/211940. sophie: =
>3.06/2.47.0/4.19. spamassassin: 3.2.1. =20
>>> Clear:RC:1(10.3.254.3):SA:0(0.1/5.0):.=20
>>> Processed in 3.957727 secs); 30 Jul 2007 08:48:20 -0000
>>>Received: from webmail.trimble.co.nz (10.3.254.3)
>>>  by mailsrv1.trimble.co.nz with (DHE-RSA-AES256-SHA encrypted) SMTP; =
>30 Jul 2007 20:48:16 +1200
>>>Received: (qmail 12405 invoked from network); 30 Jul 2007 20:48:16 =
>+1200
>>>Received: from unknown (HELO tnz-jhaar-lt.ap.trimblecorp.net) =
>(222.154.246.214)
>>>  by webmail.trimble.co.nz with (DHE-RSA-AES256-SHA encrypted) SMTP
>>>  (cert Jason.Haar@trimble.co.nz); 30 Jul 2007 20:48:16 +1200
>>>Message-ID: <46...@trimble.co.nz>
>>>Date: Mon, 30 Jul 2007 20:48:10 +1200
>>>From: Jason Haar <Ja...@trimble.co.nz>
>>>Organization: Trimble Navigation Ltd.
>>>User-Agent: Thunderbird 2.0.0.5 (X11/20070719)
>>>MIME-Version: 1.0
>>>To:  users@spamassassin.apache.org
>>>Subject: Re: How would you provide a 554 rejection notice for spam?
>>>References: <11...@talk.nabble.com> =
><46...@verizon.net> <26...@dw>
>>>In-Reply-To: <26...@dw>
>>>X-Enigmail-Version: 0.95.1
>>>Content-Type: text/plain; charset=3DISO-8859-1
>>>Content-Transfer-Encoding: 7bit
>>>X-Old-Spam-Status: No, score=3D0.1 required=3D5.0
>>>X-Abuse-Report-URL: http://www.blue-canoe.net/abuse
>>>X-Envelope-Sender: =
><us...@spamassassin.apache.org>
>>>X-Envelope-Receiver: <ni...@blue-canoe.com>
>>>
>>>Spamassassin List wrote:
>>>>
>>>> Any idea for qmail?
>>>Look on www.qmail.org for links - e.g. Qmail-Scanner allows you the
>>>option of generating the bounce - or SMTP-level rejecting it as
>>>mentioned in this thread.
>>>
>>>--=20
>>>Cheers
>>>
>>>Jason Haar
>>>Information Security Manager, Trimble Navigation Ltd.
>>>Phone: +64 3 9635 377 Fax: +64 3 9635 417
>>>PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
>
>

Re: Problem with 3.2.2 and mail headers in the email

Posted by Nigel Frankcom <ni...@blue-canoe.com>.
Hi Justin,

Just a note to say I *think* your mods have worked... they're
currently running on a backup SA server and appear to be behaving as
expected.

I'm including the off list posts below so any others that hit this
problem stand a chance of getting an answer. Again, many, many thanks
for your time and patience.

Apologies to all for top posting.

Best to all

Nigel

>yep, unfortunately it'd take a manual build.  if you're not comfortable
>doing that already, it may not be a good idea to start now, it
>can be a little tricky to get the hang of. :(
>If you want to give it a try anyway, it goes like this:
>
>    wget http://.../Mail-SpamAssassin-3.2.2.tar.gz
>    tar xvfz Mail-SpamAssassin-3.2.2.tar.gz
>    cd Mail-SpamAssassin-3.2.2
>    [that patch command]
>    perl Makefile.PL PREFIX=/usr
>    make
>    sudo make install
>
>--j.
>
>Nigel Frankcom writes:
>> Ahh - so I'm guessing I need to pull the tar.gz and run a manual
>> build? My install came down from yum so AFAI can see there's no src
>> dir (at least locate Mail-SpamAssassin-3.2.2 came back a blank). 
>> 
>> My sincere apologies for taking up your time like this. If you are
>> aware of any reference material I can use I'm happy to do that rather
>> than waste more of your time.
>> 
>> Kind regards & many thanks for your patient help thus far.
>> 
>> Nigel
>> 
>> On Mon, 30 Jul 2007 16:23:04 +0100, jm@jmason.org (Justin Mason)
>> wrote:
>> 
>> >
>> >in the source directory ("Mail-SpamAssassin-3.2.2"), run
>> >
>> >  patch -p0 < filename.patch
>> >
>> >Just apply the 2nd and 3rd attachment, not the 1st.
>> >
>> >--j.
>> >
>> >Nigel Frankcom writes:
>> >> Please excuse an embarrassingly dumb question, but, how do I apply
>> >> that patch? I've never applied one to anything before now. Also, do I
>> >> need to install all 3?
>> >> 
>> >> Red-faced
>> >> 
>> >> Nigel
>> >> 
>> >> On Mon, 30 Jul 2007 15:36:24 +0100, jm@jmason.org (Justin Mason)
>> >> wrote:
>> >> 
>> >> >
>> >> >could you try adding the 3.2.2 patch from 
>> >> >http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5574 ? it could
>> >> >be some buggy error-handling code is being triggered.
>> >> >
>> >> >--j.


On Mon, 30 Jul 2007 15:36:24 +0100, jm@jmason.org (Justin Mason)
wrote:

>
>could you try adding the 3.2.2 patch from 
>http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5574 ? it could
>be some buggy error-handling code is being triggered.
>
>--j.
>
>Nigel Frankcom writes:
>>I'm top posting this since bottom posting is pointless. As far as I
>>can tell each mail is being dealt with twice. I'm really unsure what
>>to do; whether my mailserver is the problem or SA. Or, more
>>accurately, what change in the way SA handles headers has caused this
>>problem to appear on my server now (I'm assuming it's idiosyncratic to
>>my server since the list isn't deluged with HELP messages).
>>
>>I tried dropping back to 3.2.1 but couldn't find a port for it
>>anywhere. I'll keep digging and see if I can find one since that
>>didn't exhibit this issue with my server.
>>
>>Any help at all would be massively appreciated since I have a good few
>>customers who are a tad concerned (not least of which being me).
>>
>>I did manage to pull a 3.1.9 version to test but that pretty much
>>'blew up' and refused to accept any connections at all even though it
>>--lint's clean.
>>
>>I really am at a loss and desperately in need of some advice.
>>
>>If you look at the stuff below this bit you'll see pretty clearly the
>>problem I've got. If the dev's need to see raw messages (before SA
>>gets them, let me know)
>>
>>TIA
>>
>>Nigel
>>
>>
>>On Mon, 30 Jul 2007 11:56:53 +0100, Nigel Frankcom
>><ni...@blue-canoe.com> wrote:
>>
>>>Hi All,
>>>
>>>This morning I upgraded to 3.2.2 on CentOS 64 via yum.
>>>
>>>I'm now getting a copy of all email headers inside the body of the
>>>email.
>>>
>>>Everything --lint's clean and apart from this it's working fine. As an
>>>example I've copied in a list post below I received since the upgrade.
>>>
>>>Any help or workaround suggestions would be greatly appreciated.
>>>
>>>Kind regards
>>>
>>>Nigel.
>>>