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/09/30 20:09:28 UTC

[Bug 4610] New: MIMEHeader Plugin does not parse all MIMEHeaders

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

           Summary: MIMEHeader Plugin does not parse all MIMEHeaders
           Product: Spamassassin
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: tech2@i-is.com


In Bug 4606 Justin recommended that I use MIMEHeader plugin to write a rule to
help with the troubles I was having.  I took this route but I have run into
another road block.

The MIMEHeader plugin does not seem to be parsing all MIME headers.

This might be related to the non-parsing of message/rfc822 but I was thinking
the MIMEHeader plugin would allow this.

I really want to be able to trap when I have a message/rfc822 AND a content-type
of JPG, etc.

Attaching a sample ruleset I created + a sample message I'm trying to parse with
this plugin, if this behaviour is by design, please let me know so I stop
beating my head :)

I created 7 rules based on the content-types included in the sample message.  I
am only seeing hits on 5.
The two not hitting (which should) are:
MIME_IMAGE & MIME_MULTI_RELATED



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

[Bug 4610] MIMEHeader Plugin does not parse all MIMEHeaders

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


tech2@i-is.com changed:

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




------- Additional Comments From tech2@i-is.com  2005-09-30 11:32 -------
Ok then, I understand much better, thanks for taking the time to help me out
here!  I have another idea for a work-around, I'll close this as invalid as it's
not really a problem but by design.
Thank you!



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

[Bug 4610] MIMEHeader Plugin does not parse all MIMEHeaders

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





------- Additional Comments From tech2@i-is.com  2005-09-30 11:11 -------
Created an attachment (id=3153)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=3153&action=view)
Sample Message




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

[Bug 4610] MIMEHeader Plugin does not parse all MIMEHeaders

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





------- Additional Comments From felicity@apache.org  2005-09-30 11:22 -------
Subject: Re:   New: MIMEHeader Plugin does not parse all MIMEHeaders

On Fri, Sep 30, 2005 at 11:09:28AM -0700, bugzilla-daemon@bugzilla.spamassassin.org wrote:
> The MIMEHeader plugin does not seem to be parsing all MIME headers.

The plugin doesn't parse anything.  It just uses the already parsed internal
message tree.

> This might be related to the non-parsing of message/rfc822 but I was thinking
> the MIMEHeader plugin would allow this.

Nope, same issue.  If it's not parsed, it's not parsed.

> I really want to be able to trap when I have a message/rfc822 AND a content-type
> of JPG, etc.

FYI, you can do this generically (there's a part which is message/rfc822
and another part that is image/jpeg), though you can't check for
a message/rfc822 which inside it has a content-type of image/jpeg.
That complexity requires your own custom plugin.

> Attaching a sample ruleset I created + a sample message I'm trying to parse with
> this plugin, if this behaviour is by design, please let me know so I stop
> beating my head :)

Yep.  This is an example, btw, of why I keep a pillow next to my keyboard. ;)





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

[Bug 4610] MIMEHeader Plugin does not parse all MIMEHeaders

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





------- Additional Comments From tech2@i-is.com  2005-09-30 11:10 -------
Created an attachment (id=3152)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=3152&action=view)
Sample Rules




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