On Apr 14, 2008, at 12:38 PM, Mark Martinec wrote:
>> Is this a good idea?
>
> If your software is finding such strings in a _body_ of a mail,
> it is seriously flawed and needs to be fixed. If it is only looking
> at the header, you are already on the safe side by default.
The duplicate header tags are in the header of the file (sorry for the
misinformed comment about the body). Also, the
$remove_existing_spam_headers variable is undefined in my
configuration file.
I should be getting the default behavior but duplicate header tags are
appearing. Below is an example.
The TMail library keeps header info in a hash, so it's retaining the
last 'X-Spam-Score' header encountered with a value of '*****',
instead of the one with '16.06'. If duplicate headers shouldn't exist
then maybe I won't waste my time getting TMail to use an array instead
of a hash. Can you tell from this example why the duplicates would be
occurring?
Jose
Return-Path: <>
Delivered-To: spam-quarantine
X-Envelope-From: <[EMAIL PROTECTED]>
X-Envelope-To: <[EMAIL PROTECTED]>
X-Quarantine-ID: <u79lpchtlym0>
X-Spam-Flag: YES
X-Spam-Score: 16.07
X-Spam-Level: ****************
X-Spam-Status: Yes, score=16.07 tag=-1000 tag2=6.31 kill=6.31
tests=[BAYES_50=4, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001,
RCVD_IN_DNSWL_MED=2, RCVD_NUMERIC_HELO=2.067, URIBL_RED=0.001,
URIBL_SC_SURBL=4, URIBL_WS_SURBL=4]
Received: from smtp.stat.ucla.edu ([127.0.0.1])
by localhost (mta.stat.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id u79lpchtlym0 for <[EMAIL PROTECTED]>;
Mon, 14 Apr 2008 11:43:15 -0700 (PDT)
Received: from smtp-13.smtp.ucla.edu (smtp-13.smtp.ucla.edu
[169.232.46.249])
by smtp.stat.ucla.edu (Postfix) with ESMTP id E8037C42DB2
for <[EMAIL PROTECTED]>; Mon, 14 Apr 2008 11:43:15 -0700 (PDT)
Received: from dino.ess.ucla.edu (dino.ess.ucla.edu [128.97.31.199])
by smtp-13.smtp.ucla.edu (8.14.2/8.14.2) with ESMTP id m3EIhFZM010543
for <[EMAIL PROTECTED]>; Mon, 14 Apr 2008 11:43:15 -0700
X-geo_ess_ucla_edu_-MailScanner-Watermark:
[EMAIL PROTECTED]
Received: from zephyr.ess.ucla.edu (zephyr [128.97.31.1])
by dino.ess.ucla.edu (8.13.8+Sun/8.13.8) with ESMTP id m3EIhFhq010692
for <[EMAIL PROTECTED]>; Mon, 14 Apr 2008 11:43:15 -0700 (PDT)
Received: from 79.26.30.109 (host109-30-dynamic.26-79-
r.retail.telecomitalia.it [79.26.30.109])
by zephyr.ess.ucla.edu (8.12.10+Sun/8.12.10) with ESMTP id
m3EIkj1l010876
for <[EMAIL PROTECTED]>; Mon, 14 Apr 2008 11:46:46 -0700 (PDT)
Message-ID: <[EMAIL PROTECTED]>
From: "hobard leanne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: *****'s hidden cam video
Date: Mon, 14 Apr 2008 16:55:27 +0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0004_01C89E5F.0478ED4C"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-geo_ess_ucla_edu_-MailScanner-Information: Please contact the ISP
for more information
X-geo_ess_ucla_edu_-MailScanner: Found to be clean
X-geo_ess_ucla_edu_-MailScanner-From: [EMAIL PROTECTED]
X-Spam-Status: No
X-Probable-Spam: no
X-Spam-Hits: 4.702
X-Spam-Score: *****
X-Spam-Report:
HTML_MESSAGE
,NORMAL_HTTP_TO_IP,RCVD_NUMERIC_HELO,URIBL_RED,URIBL_WS_SURBL
X-Scanned-By: smtp.ucla.edu on 169.232.46.249
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/