On Tue, 11 Apr 2006, Dallas L. Engelken wrote: > > The problem seems to be that rawbody looks at the message "one > > line at a time". I won't bore you with every way I've > > tried to create a rule that spans this line break, but > > none of them have worked. > > > > Has anyone enountered/resolved this issue? > > stemming from > http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4691 > > you have > http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4822 > > which will alter the way rawbody rules are applied in v3.2. > > thanks, > dallas
How much of a pain/performance-hit would it be to introduce a new "slightlycookedbody" data phase? (where "slightlycookedbody" would be "rawbody" with the linebreaks removed) EG: [source email] (full) -> decoding -> [decoded email] (rawbody) -> remove line-breaks -> (slightlycookedbody) -> html decoding -> [text mail] (body) That way all existing rawbody rules would continue to operate as expected and new rules could take advangate of slightlycooked to match with out the issue of line-breaks. Dave -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{