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





------- Additional Comments From [EMAIL PROTECTED]  2004-09-04 16:00 -------
Subject: Re:  decode_attachments not used

On Sat, Sep 04, 2004 at 03:45:09PM -0700, [EMAIL PROTECTED] wrote:
> Just had another think. What I need is to be able to apply all the SA rules in
> the current object to non-text attachments. 2.6x only worked on text 
> attachments

Well, what you really want is to apply all of _your_ rules to all attachments.
You definitely don't want the standard SA rules to do so.

> (and html and variants of course). I need to apply my rules to *all*
> attachments, regardless of whether they are text or not. I need to work on
> Microsoft Word document attachments, Excel spreadsheets, all sorts of stuff 
> like
> that.
>
> Will 3.x work on all binary attachments? If not, how do I pursuade it to do 
> it?

Not for standard rule types (header, body, rawbody, uri), and you can't.  The
code very deliberatly only looks at leaf node text/* and message/* parts.

It sounds like you want to write a plugin that has custom eval code to go
through the message parts and apply your non-text-based rules.





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

Reply via email to