You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/07/12 16:40:54 UTC

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

Author: jm
Date: Thu Jul 12 07:40:54 2007
New Revision: 555646

URL: http://svn.apache.org/viewvc?view=rev&rev=555646
Log:
add another couple of PDF sigs from Alex

Modified:
    spamassassin/rules/trunk/sandbox/jm/20_basic.cf

Modified: spamassassin/rules/trunk/sandbox/jm/20_basic.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/jm/20_basic.cf?view=diff&rev=555646&r1=555645&r2=555646
==============================================================================
--- spamassassin/rules/trunk/sandbox/jm/20_basic.cf (original)
+++ spamassassin/rules/trunk/sandbox/jm/20_basic.cf Thu Jul 12 07:40:54 2007
@@ -265,4 +265,6 @@
 header STOX_RCVD_N_NN_N  Received =~ / by \d+\.\d+\.\d+\.\d+ \(\d\.\d\d\.\d\/\d\.\d\d\.\d\) with SMTP id [\dA-Za-z]+\;/
 
 full    BC_ENCODED_PDF   /JVBERi0xLjMgCjEgMCBvYmoKPDwKPj4KZW5kb2JqCj/
+full    AB_TEST_PDF2   /JVBERi0xLjIgDQoxIDAgb2JqDQo8PA0KL1R5cGUgL0N/
+full    AB_TEST_PDF1   /JVBERi0xLjMgCjEgMCBvYmoKPDwKPj4KZW5kb2JqCj/
 



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

Posted by Theo Van Dinter <fe...@apache.org>.
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