mainSpamAssassin Milter Plugin - Support: sr #101979, Duplicating empty Subject line

 
 

sr #101979: Duplicating empty Subject line

Submitter:  None
Submitted:  Wed 19 Mar 2003 02:37:28 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  dnelson
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

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
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.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.

John Rumsey <rumseyj>
Mon 27 Aug 2007 12:52:13 PM UTC, comment #9: 

Has this been fixed in the 0.3.1?

Anonymous
Tue 09 Nov 2004 09:08:46 AM UTC, comment #8: 

Same problem with spamass-milter-0.2.0 RPM.
Any solution?

Anonymous
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.

Marco Supino <msupino>
Mon 04 Oct 2004 12:47:42 PM UTC, comment #6: 

any solution soon ? my users are starting to dislike me...

Marco Supino <msupino>
Wed 25 Aug 2004 04:05:53 PM UTC, comment #5: 

I checked with some of my test files and it still does this.  I'll have to figure out why.

Dan Nelson <dnelson>
Group administrator
Wed 25 Aug 2004 03:31:33 PM UTC, comment #4: 

This is also happening in the 0.20 version, any remedy ?

Anonymous
Wed 19 Mar 2003 03:42:27 PM UTC, comment #3: 


Can you forward the spam will full headers to
dnelson@allantgroup.com?  I want to see if I can reproduce
it here.  I know I have received a lot of spams with an
empty "Subject:" header and they were replaced with
"Subject: **SPAM**", no duplicates.

Dan Nelson <dnelson>
Group administrator
Wed 19 Mar 2003 03:36:20 PM UTC, comment #2: 


We tried it with version 0.1.3a and with the actual version
this afternoon (the cvs-version).
We do not mention the bug with the "Fixed header doubling
problem".
It only occurs when a message is sent with an empty subject
line. Then the milter adds a second line with th spam
information. But for example Outlook is only capable to
show one subject line. But this line is the empty line.
And we think that this behaviour should not be! Any idea?

Greets
Herbert

Anonymous
Wed 19 Mar 2003 03:15:50 PM UTC, comment #1: 


You don't mention what version of the milter you are
running, but I believe this bug was fixed in 0.1.3 (0.1.3a
is the latest release).

Dan Nelson <dnelson>
Group administrator
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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rumseyj (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2004-08-25 dnelson Assigned toNone dnelson

    Back to the top

    Powered by Savane 3.13-5190.
    Corresponding source code