1# SpamAssassin rules file: razor2 tests
2#
3# Please don't modify this file as your changes will be overwritten with
4# the next update. Use @@LOCAL_RULES_DIR@@/local.cf instead.
5# See 'perldoc Mail::SpamAssassin::Conf' for details.
6#
7# <@LICENSE>
8# Licensed to the Apache Software Foundation (ASF) under one or more
9# contributor license agreements.  See the NOTICE file distributed with
10# this work for additional information regarding copyright ownership.
11# The ASF licenses this file to you under the Apache License, Version 2.0
12# (the "License"); you may not use this file except in compliance with
13# the License.  You may obtain a copy of the License at:
14#
15#     http://www.apache.org/licenses/LICENSE-2.0
16#
17# Unless required by applicable law or agreed to in writing, software
18# distributed under the License is distributed on an "AS IS" BASIS,
19# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20# See the License for the specific language governing permissions and
21# limitations under the License.
22# </@LICENSE>
23#
24###########################################################################
25
26##
27## SpamAssassin 4.0.0 note:
28##   RAZOR rule priorities are automatically adjusted to -100 when razor_fork
29##   option is enabled (async lookup)
30##
31
32ifplugin Mail::SpamAssassin::Plugin::Razor2
33
34full RAZOR2_CHECK	eval:check_razor2()
35describe RAZOR2_CHECK	Listed in Razor2 (http://razor.sf.net/)
36tflags RAZOR2_CHECK	net
37priority RAZOR2_CHECK	20
38reuse  RAZOR2_CHECK
39
40lang de describe RAZOR2_CHECK	Gelistet im "Razor2"-System (http://razor.sf.net/)
41lang nl describe RAZOR2_CHECK	Gevonden in Razor2 (http://razor.sf.net/)
42lang fr describe RAZOR2_CHECK	Message list� par Razor2, voir http://razor.sourceforge.net
43lang pl describe RAZOR2_CHECK	Na li�cie Razor2 (http://razor.sf.net/)
44
45# cf (confidence level) is how likely the message is spam.  RAZOR2_CHECK
46# returns true if cf>=min_cf (as defined by user/config).  These return
47# true depending on what cf value the message has.  The algorithm goes:
48# check the message via razor, then go through each mime part and check
49# how razor scored it.  If the part is contested (ie: it's been reported
50# as both ham and spam) it's ignored.  SA takes the highest non-contested
51# part cf score and returns it for the range rules.  ie: This is essentially
52# Razor 2's logic_method 4.
53#
54# Note: Disabling RAZOR2_CHECK (score RAZOR2_CHECK 0) will also disable
55# these checks.
56#
57# Note: The scores are set to 0 on these tests right now until they get
58# better integrated with SA overall.
59#
60
61full    RAZOR2_CF_RANGE_51_100  eval:check_razor2_range('','51','100')
62tflags  RAZOR2_CF_RANGE_51_100	net
63priority RAZOR2_CF_RANGE_51_100 20
64reuse 	RAZOR2_CF_RANGE_51_100
65describe RAZOR2_CF_RANGE_51_100	Razor2 gives confidence level above 50%
66
67lang de describe RAZOR2_CF_RANGE_51_100	Razor2 Spam-Bewertung liegt zwischen 51 und 100
68lang fr describe RAZOR2_CF_RANGE_51_100	Razor2 donne un indice de confiance entre 51 et 100
69lang nl describe RAZOR2_CF_RANGE_51_100	Razor2 geeft een zekerheid tussen 51 en 100
70lang pl describe RAZOR2_CF_RANGE_51_100	Razor2 stwierdzi� pewno�� pomi�dzy 51 i 100
71
72endif
73