You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Rolf E. Sonneveld" <R....@sonnection.nl> on 2011/11/02 11:27:28 UTC

Wildcard for bayes_ignore_header

Hi, all,

running:

SpamAssassin version 3.3.1
   running on Perl version 5.8.8

Can the bayes_ignore_header value contain wildcards? Like:

bayes_ignore_header X-Something-*

According to Google, this question has been asked before, but I couldn't 
find an answer to the question.

/rolf

Re: Wildcard for bayes_ignore_header

Posted by "Rolf E. Sonneveld" <R....@sonnection.nl>.
On 11/2/11 7:04 PM, Karsten Bräckelmann wrote:
> On Wed, 2011-11-02 at 11:27 +0100, Rolf E. Sonneveld wrote:
>> Can the bayes_ignore_header value contain wildcards? Like:
>>
>> bayes_ignore_header X-Something-*
> Going by the M::SA::Conf docs, wildcards are not supported. A quick look
> at the code confirms this. All headers need to be specified in full.
> Sorry.

thanks for checking this.

/rolf

Re: Wildcard for bayes_ignore_header

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Wed, 2011-11-02 at 11:27 +0100, Rolf E. Sonneveld wrote:
> Can the bayes_ignore_header value contain wildcards? Like:
> 
> bayes_ignore_header X-Something-*

Going by the M::SA::Conf docs, wildcards are not supported. A quick look
at the code confirms this. All headers need to be specified in full.
Sorry.


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