]> git.proxmox.com Git - proxmox-spamassassin.git/blame - sa-updates/20_porn.cf
bump version to 4.0.1-1
[proxmox-spamassassin.git] / sa-updates / 20_porn.cf
CommitLineData
b780ea8d
SI
1# SpamAssassin rules file: porn tests
2#
3# Please don't modify this file as your changes will be overwritten with
4# the next update. Use /etc/mail/spamassassin/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# <@LICENSE>
12# Licensed to the Apache Software Foundation (ASF) under one or more
13# contributor license agreements. See the NOTICE file distributed with
14# this work for additional information regarding copyright ownership.
15# The ASF licenses this file to you under the Apache License, Version 2.0
16# (the "License"); you may not use this file except in compliance with
17# the License. You may obtain a copy of the License at:
18#
19# http://www.apache.org/licenses/LICENSE-2.0
20#
21# Unless required by applicable law or agreed to in writing, software
22# distributed under the License is distributed on an "AS IS" BASIS,
23# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24# See the License for the specific language governing permissions and
25# limitations under the License.
26# </@LICENSE>
27#
28###########################################################################
29
54c714b2 30require_version 4.000001
b780ea8d
SI
31
32###########################################################################
33
34body FREE_PORN /\bfree (?:porn|xxx|adult)/i
35describe FREE_PORN Possible porn - Free Porn
36
37body CUM_SHOT /\bcum[ -]?shots?\b/i
38describe CUM_SHOT Possible porn - Cum Shot
39
40# "live cam" is a very common nonspam phrase, removed
41body LIVE_PORN /\blive .{0,9}(?:fuck(?:ing)?|sex|naked|girls?|virgins?|teens?|porno?)\b/i
42describe LIVE_PORN Possible porn - Live Porn
43
44header SUBJECT_SEXUAL Subject =~ /[s5][e3\xE8-\xEB]x[u\xB5\xF9-\xFC][a4\xE0-\xE6@][l!|1](?:[l!|1]y)?.{0,3}[e3\xE8-\xEB]xp[l!|1][i1!|l\xEC-\xEF]c[i1!|l\xEC-\xEF]t/i
45describe SUBJECT_SEXUAL Subject indicates sexually-explicit content