Bug 2797 - blank subject line not modified or tagged as spam
Summary: blank subject line not modified or tagged as spam
Status: RESOLVED WORKSFORME
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (show other bugs)
Version: 2.60
Hardware: Other Linux
: P3 normal
Target Milestone: 2.70
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords: mime, spamd
Depends on:
Blocks:
 
Reported: 2003-11-30 18:42 UTC by Sekou Page
Modified: 2004-03-01 10:16 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status
blank subject application/octet-stream None Sekou Page [NoCLA]
blank subject application/octet-stream None Sekou Page [NoCLA]
blank subject application/octet-stream None Sekou Page [NoCLA]
blank subject application/octet-stream None Sekou Page [NoCLA]
blank subject application/octet-stream None Sekou Page [NoCLA]
blank subject application/octet-stream None Sekou Page [NoCLA]
Text version of message with no subject line that didn't modify text/plain None Scott Kitterman [NoCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description Sekou Page 2003-11-30 18:42:28 UTC
The subject line on occassion is not being modified when spam has a black 
subject.  Although the filter identifies the message as spam, and the message 
body is replaced, the subject is left blank and not replaced.  This means that 
people who have a rule to put all messages with the subject line "***spam***" 
into a folder find these cleaned messages in their inboxes.

In my limited testing it did not seem to apply when a user was in the black 
list.  The only messages that got through were ones that were marked based on 
the scoring.  I will try to attach some sample messages showing this behavior.
Comment 1 Sekou Page 2003-11-30 18:50:05 UTC
Created attachment 1589 [details]
blank subject
Comment 2 Sekou Page 2003-11-30 18:50:24 UTC
Created attachment 1590 [details]
blank subject
Comment 3 Sekou Page 2003-11-30 18:50:37 UTC
Created attachment 1591 [details]
blank subject
Comment 4 Sekou Page 2003-11-30 18:50:54 UTC
Created attachment 1592 [details]
blank subject
Comment 5 Sekou Page 2003-11-30 18:51:07 UTC
Created attachment 1593 [details]
blank subject
Comment 6 Sekou Page 2003-11-30 18:51:18 UTC
Created attachment 1594 [details]
blank subject
Comment 7 Sekou Page 2003-11-30 18:53:25 UTC
All attachments are in Outlook format.
Comment 8 Theo Van Dinter 2004-01-25 20:29:27 UTC
it works for me.  btw: we can't read outlook formatted messages ...
Comment 9 Scott Kitterman 2004-03-01 19:16:11 UTC
Created attachment 1809 [details]
Text version of message with no subject line that didn't modify

I am seeing this same problem with SpamAssassin 2.63.  The attachment is the
headers of a message with no subject that qualifies as spam, but the subject
wasn't modified.

Please re-open.
Comment 10 Theo Van Dinter 2004-03-01 20:34:47 UTC
Subject: Re:  blank subject line not modified or tagged as spam

On Mon, Mar 01, 2004 at 07:16:12PM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote:
> I am seeing this same problem with SpamAssassin 2.63.  The attachment is the
> headers of a message with no subject that qualifies as spam, but the subject
> wasn't modified.

I piped that message through SpamAssassin 2.63 and the Subject is
rewritten just fine.

Looking at the message, however, it's looking like you're passing the
message through some qmail-milter thing?  The X-Spam-* headers are
ordered wrong (should be at the end), there's an X-Spam-Filtered header
which we don't add, X-Spam-Status is missing some data, and there's no
X-Spam-Checker-Version header.

In short, if you're not running through one of our methods (spamassassin
or spamc/spamd), the "problem" is very likely (given past history)
due to whatever you're running SA through.