> Frank Gadegast skrev den 2013-04-24 16:45:
> 
> > header LOCAL_AS6697     X-Spam-ASN =~ / AS6697 /

The ASN plugin documentation [1] shows the AS number at the beginning of
the header's value. The leading space prevents your header rule from
matching, and should instead even anchor the RE at the beginning.

  /^AS6697 /

[1] 
http://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Plugin_ASN.html


On Thu, 2013-04-25 at 00:32 +0200, Benny Pedersen wrote:
> /\ AS6697\ /
> space needs to be excaped, [...]

Just... No.


-- 
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; }}}

Reply via email to