Tue 13 May 2008 12:37:52 AM UTC, comment #10:
This problem still exists in 0.3.1 on FreeBSD and Fedora.
To reproduce:
mail -s '' user@domain <<EOF
XJSC4JDBQADN1.NSBN32IDNENGTUBE-STANDARD-ANTI-UBE-TEST-EMAILC.34X
EOF
I applied the patch given by Marco Supino (comment #7) and verified that it worked correctly in all three of these cases:
1) No Subject: header
2) Empty Subject: header (nothing after the : )
(this is the case that resulted in duplicate Subject: headers)
3) Subject: header with content after the :
Please can we have this (or a functionally equivalent) patch applied to the distributed code, so this long-standing problem can be resolved.
|
Mon 01 Nov 2004 09:40:31 AM UTC, comment #7:
i changed the milter a bit, to solve the problem, now it always change the Subject, never insert it, i changed this in spamass-milter.cpp,line 322 :
if (oldsize > 0)
to
if (oldsize > 0 || strcmp(header,"Subject") == 0)
This works on my production email server.
Marco.
|
Wed 19 Mar 2003 02:37:28 PM UTC, original submission:
Hi guys,
we found probably another bug in Spamassassin Milter:
If someone send spammails without anything in the
subject line the Milter does not change the subject
line itself, it adds a second subject line (as you can
see a few lines below). But as you might know, there
should be only one subject line.
Are there any patches that can fix this problem?
Thanks in advance
Herbert Reser
IT Department
City of Villingen-Schwenningen
To: <xxxxx@villingen-schwenningen.de>
Subject: ****SPAM****
Subject:
Date: Wed, 19 Mar 2003 15:17:08 +0100
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------
=_3E787CF4.AD588BD7"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE
V6.00.2800.1106
X-Spam-Flag: YES
X-Spam-Status: Yes, hits=22.7 required=5.0
tests=AS_SEEN_ON,BANG_EXERCISE,BANG_OPRAH,CLICK
_BELOW_CAPS,
HAIR_LOSS,HTML_30_40,HTML_LINK_CLICK_CAPS,
HTML_LINK_CLICK_HERE,HTML_MESSAGE,REMOVE_PAGE,
REVERSE_AGING,TRACKER_ID,USERPASS
version=2.60-cvs
X-Spam-Level: **********************
X-Spam-Checker-Version: SpamAssassin 2.60-cvs 1.178-
2003-03-03-exp
|