You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jeremy Fairbrass <jf...@hotmail.com> on 2006/03/31 11:37:55 UTC

Using regex with bayes_ignore_header

Hi, can anyone tell me if it's allowed to use regex with bayes_ignore_header 
in local.cf? I've seen this done here and there by others but don't know if 
it's actually allowed or will cause things not to function properly. For 
example:

bayes_ignore_header X-Spam-\S+

If this *is* allowed, are there any pros or cons to it, eg. in terms of 
performance or anything? I guess the main advantage to it is making local.cf 
a little tidier and smaller if you have lots of similar headers you want to 
use with bayes_ignore_header.

Cheers,
Jeremy