http://bugzilla.spamassassin.org/show_bug.cgi?id=3010
------- Additional Comments From [EMAIL PROTECTED] 2004-02-16 10:31 ------- in 3.0.0 you can use "full" which goes against the pristine message body. but it would be better to go against the parsed mime info since 1) it's already done, 2) the parsed info is sure to only look at mime headers and not possibly FP against message bodies, 3) is a hell of a lot faster than doing a RE search against the body due to #1. :) It's really mostly done already, MsgContainer::find_parts() searches by mime type. An eval rule would pretty much just call find_parts(/RE_for_content_type/), return true if parts were found and no search_name was specified. if no search_name was specified, return false. search the returned parts for an attachment matching search_name. return true if found, false if not. My guess is that we'd also want to allow searching for raw or decoded, as well as "match this starting at offset X". ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
