[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spamassassin-users
Subject:    Re: rule to check for non existing header
From:       Karsten =?ISO-8859-1?Q?Br=E4ckelmann?= <guenther () rudersport ! de>
Date:       2009-01-28 16:44:15
Message-ID: 1233161055.4975.26.camel () monkey
[Download RAW message or body]

On Wed, 2009-01-28 at 17:32 +0100, Marc Patermann wrote:
> Karsten Bräckelmann schrieb:

> > Given the already existing positive check, the easiest way is this:
> > 
> > meta   NON_PMS_Spam_DB  ! PMS_Spam_DB
> > score  NON_PMS_Spam_DB  -0.1
>
> Thanks! That's what I searched for. And much easier than a regex.

Also *much* cheaper than using the ALL pseudo-header, which is quite
expensive, and tends to be tricky to use. :)

> Thanks for the hint.
> It works now.

Glad to see.

Btw, off-topic, but... Your internal network is a bitch to maintain,
isn't it? I mean, 11 internal hops, wow! ;)


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic