http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5069

           Summary: Add plugin hooks to allow for rendering of non-text
                    parts
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


This came up on the users@ list the other day, specifically talking about how to
do OCR on image/* parts and then include that in the normal body run.  My post
about it included:

It actually wouldn't be difficult to add in a "rendered" section for
image/* types, and have that included in the normal rules if found.

The main thing to do is make sure that the image is rendered into
text before the message body text array is cached -- and that's solved
(generally speaking) by doing the rendering in check_start().

Heck, this may be worth having a new plugin call in M::SA::parse()
which happens right after the normal parsing run, called render_parts or
something, where plugins get called with the message and main SA objects,
and are expected to only generate renderings for the non-standard types.



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

Reply via email to