You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Theo Van Dinter <fe...@apache.org> on 2007/07/12 17:04:07 UTC

Re: svn commit: r555646 - /spamassassin/rules/trunk/sandbox/jm/20_basic.cf

Please tell me that I'm not seeing new full rules... ;)


/me thinks we need to have a new plugin rule type.  Perhaps like:

rawmatch PDF_1 eval:rawmatch('^application/', '\AJVBERi0xLjMgCjEgMCBvYmoKPDwKPj4KZW5kb2JqCj')

and then rawmatch() would simply find_parts(qr/$1/i,1) and return $part_raw=~/$2/.

there could also a decoded and rendered match() as well since it's a trivial
addition.

On Thu, Jul 12, 2007 at 02:40:54PM -0000, jm@apache.org wrote:
>  full    BC_ENCODED_PDF   /JVBERi0xLjMgCjEgMCBvYmoKPDwKPj4KZW5kb2JqCj/
> +full    AB_TEST_PDF2   /JVBERi0xLjIgDQoxIDAgb2JqDQo8PA0KL1R5cGUgL0N/
> +full    AB_TEST_PDF1   /JVBERi0xLjMgCjEgMCBvYmoKPDwKPj4KZW5kb2JqCj/

-- 
Randomly Selected Tagline:
"At this point you can step away from the computer for a little while
 and have a quick snack while INN compiles."   - INN INSTALL file