You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/06/15 00:17:47 UTC

[Bug 4404] New: header parsing problem with colons (":")

http://bugzilla.spamassassin.org/show_bug.cgi?id=4404

           Summary: header parsing problem with colons (":")
           Product: Spamassassin
           Version: 3.0.3
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Rules
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: peter@rittwage.com


In trying to write a local rule that catches spam with a colon (":") character
in it, I noticed a problem.  A message with a subject like "Wanted: Customer
Service Agents" will cause SpamAssassin to flag a message as having no subject
line (and score 1.6 points accordingly) since the ":" seems to reset the parsing
of the line.  The message appears to SpamAssassin as having no subject line, but
now includes a "Warning:" line instead.  This causes all subjects with colons in
them to be munged  when processed, so a subject like this "Welcome Home: I Love
You" will only register as having the subject of "Welcome" and another header
entry called "Home:" with the value "I Love You".  Not sure how to fix this if
the entire header parsing is done by the colon characters.  Thanks for all the
great work.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4404] header parsing problem with colons (":")

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4404





------- Additional Comments From jm@jmason.org  2005-06-14 15:31 -------
please attach a sample message and rule that exhibits this problem.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4404] header parsing problem with colons (":")

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4404


peter@rittwage.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From peter@rittwage.com  2005-06-14 16:00 -------
(In reply to comment #1)
> please attach a sample message and rule that exhibits this problem.

I tested this further.  When I exported the mail from my reader, it added
newlines which caused this.  It is not a bug-- I am very sorry to waste your time.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.