On Wed, 2008-07-02 at 19:31 +0200, Ralf Fassel wrote:
> SpamAssassin version 3.1.8
>   running on Perl version 5.8.8
> OpenSuse 10.2, latest patchlevel
>   
> How do I enable a target tagged 'userconf'?
> 

The flag just checks that there is something configured before it fires.

> I'd like to have all messages checked against the BODY_8BITS target
> defined in /usr/share/spamassassin/25_textcat.cf:
> 
>     body BODY_8BITS                   eval:check_body_8bits()
>     describe BODY_8BITS               Body includes 8 consecutive 8-bit 
> characters
>     tflags BODY_8BITS         userconf

> Which magic do I have to put in my user_prefs file so that the
> BODY_8BITS runs?

The code is pretty clear on this one:
my @languages = split(' ', $scan->{conf}->{ok_languages});
 for (@languages) {
    return 0 if $_ eq "all";
    return 0 if /^(?:am|ar|be|bg|cs|el|et|fa|fi|he|hi|hy|is|ja|ka|ko|mr|
pt|ru|ta|th|tr|uk|vi|yi|zh)$/;
}

So, as long as ok_languages is set and it does not include one of the
ones listed, then the rule should be evaluated.

-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to