~ubuntu-branches/ubuntu/utopic/spamassassin/utopic-proposed

« back to all changes in this revision

Viewing changes to rules/25_textcat.cf

  • Committer: Bazaar Package Importer
  • Author(s): Noah Meyerhans
  • Date: 2010-01-26 22:53:12 UTC
  • mfrom: (1.1.13 upstream) (5.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100126225312-wkftb10idc1kz2aq
Tags: 3.3.0-1
* New upstream version.
* Switch to dpkg-source 3.0 (quilt) format

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# SpamAssassin rules file: language 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
 
# Note: body tests are run with long lines, so be sure to limit the
8
 
# size of searches; use /.{0,30}/ instead of /.*/ to avoid huge
9
 
# search times.
10
 
#
11
 
# Note: If you are adding a rule which looks for a phrase in the body
12
 
# (as most of them do), please add it to rules/20_phrases.cf instead.
13
 
#
14
 
# <@LICENSE>
15
 
# Licensed to the Apache Software Foundation (ASF) under one or more
16
 
# contributor license agreements.  See the NOTICE file distributed with
17
 
# this work for additional information regarding copyright ownership.
18
 
# The ASF licenses this file to you under the Apache License, Version 2.0
19
 
# (the "License"); you may not use this file except in compliance with
20
 
# the License.  You may obtain a copy of the License at:
21
 
22
 
#     http://www.apache.org/licenses/LICENSE-2.0
23
 
24
 
# Unless required by applicable law or agreed to in writing, software
25
 
# distributed under the License is distributed on an "AS IS" BASIS,
26
 
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
 
# See the License for the specific language governing permissions and
28
 
# limitations under the License.
29
 
# </@LICENSE>
30
 
#
31
 
###########################################################################
32
 
 
33
 
ifplugin Mail::SpamAssassin::Plugin::TextCat
34
 
 
35
 
body UNWANTED_LANGUAGE_BODY     eval:check_language()
36
 
describe UNWANTED_LANGUAGE_BODY Message written in an undesired language
37
 
tflags UNWANTED_LANGUAGE_BODY   userconf
38
 
 
39
 
body BODY_8BITS                 eval:check_body_8bits()
40
 
describe BODY_8BITS             Body includes 8 consecutive 8-bit characters
41
 
tflags BODY_8BITS               userconf
42
 
 
43
 
endif