GRAYBYTE WORDPRESS FILE MANAGER3508

Server IP : 68.65.123.43 / Your IP : 216.73.216.160
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /var/lib/spamassassin/3.004006/updates_spamassassin_org/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /var/lib/spamassassin/3.004006/updates_spamassassin_org//20_body_tests.cf
# SpamAssassin rules file: body tests
#
# Please don't modify this file as your changes will be overwritten with
# the next update. Use /etc/mail/spamassassin/local.cf instead.
# See 'perldoc Mail::SpamAssassin::Conf' for details.
#
# Note: body tests are run with long lines, so be sure to limit the
# size of searches; use /.{0,30}/ instead of /.*/ to avoid huge
# search times.
#
# Note: If you are adding a rule which looks for a phrase in the body
# (as most of them do), please add it to rules/20_phrases.cf instead.
#
# <@LICENSE>
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to you under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at:
# 
#     http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# </@LICENSE>
#
###########################################################################

require_version 3.004006

###########################################################################
# GTUBE test - the generic test for UBE.
body GTUBE		/XJS\*C4JDBQADN1\.NSBN3\*2IDNEN\*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL\*C\.34X/
describe GTUBE		Generic Test for Unsolicited Bulk Email
tflags GTUBE		userconf noautolearn

###########################################################################

# this seems to be the new fashion (as of Jul 5 2002).  base64-encoded
# parts need to be stripped before this match
body TRACKER_ID		/^[a-z0-9]{6,24}[-_a-z0-9]{12,36}[a-z0-9]{6,24}\s*\z/is
describe TRACKER_ID	Incorporates a tracking ID number

body WEIRD_QUOTING	/[\042\223\224\262\263\271]{2}\S{0,16}[\042\223\224\262\263\271]{2}/
describe WEIRD_QUOTING	Weird repeated double-quotation marks

###########################################################################
# multipart/alternative has very good accuracy, other multipart types are
# similar to MIME_HTML_ONLY so they don't need a separate rule
header __CTYPE_MULTIPART_ALT	Content-Type =~ /multipart\/alternative/i
meta MIME_HTML_ONLY_MULTI	(__CTYPE_MULTIPART_ALT && MIME_HTML_ONLY)
describe MIME_HTML_ONLY_MULTI	Multipart message only has text/html MIME parts

# note: __HIGHBITS is used in rules/20_html_tests.cf, HTML_CHARSET_FARAWAY
meta MIME_CHARSET_FARAWAY	(__MIME_CHARSET_FARAWAY && __HIGHBITS)
describe MIME_CHARSET_FARAWAY	MIME character set indicates foreign language
tflags MIME_CHARSET_FARAWAY	userconf

###########################################################################

# duncf
body EMAIL_ROT13     /\b[a-z(\]-]+\^[a-z-]+\([a-z]{2,3}\b/
describe EMAIL_ROT13 Body contains a ROT13-encoded email address
test EMAIL_ROT13 ok  qhabs^ebtref(pbz
test EMAIL_ROT13 ok  zxrggyre^riv-vap(pbz
test EMAIL_ROT13 fail	duncf-nospam@rogers.com

# this could use more work
body __LONGWORDS_A	/\b(?:[a-z]{8,}[\s\.]+){6}/
body __LONGWORDS_B	/\b(?:[a-z]{6,}[\s\.]+){9}/
body __LONGWORDS_C	/\b(?:[a-z]{5,}[\s\.]+){10}/
meta LONGWORDS		(__LONGWORDS_A + __LONGWORDS_B + __LONGWORDS_C > 1)
describe LONGWORDS	Long string of long words


###########################################################################

ifplugin Mail::SpamAssassin::Plugin::BodyEval


# This rule uses a simple algorithm to determine if the text and html
# parts of an multipart/alternative message are different.
body MPART_ALT_DIFF	eval:multipart_alternative_difference('99', '100')
describe MPART_ALT_DIFF	HTML and text parts are different

body MPART_ALT_DIFF_COUNT	eval:multipart_alternative_difference_count('3', '1')
describe MPART_ALT_DIFF_COUNT	HTML and text parts are different

body BLANK_LINES_80_90	eval:check_blank_line_ratio('80','90','4')
describe BLANK_LINES_80_90  Message body has 80-90% blank lines

# it's the ratio of spaces to non-spaces in each paragraph.  apparently
# messages where generally there are lots of spaces mean the message is spam.
# 8.532  10.6051   0.1897    0.982   0.75    0.01  T_VERTICAL_WORDS_TVD_1
# bug 6149: avoid common .jp false positives
header __SUBJECT_UTF8_B_ENCODED     Subject:raw =~ /=\?UTF-?8\?B\?/i
body __TVD_SPACE_RATIO	eval:tvd_vertical_words('0','10')
meta TVD_SPACE_RATIO    (__TVD_SPACE_RATIO && !__ISO_2022_JP_DELIM && !__SUBJECT_UTF8_B_ENCODED && !__HIGHBITS)

endif

###########################################################################

ifplugin Mail::SpamAssassin::Plugin::MIMEEval

# 0.767   0.9097   0.0000    1.000   0.84    1.00  MULTIPART_ALT_NON_TEXT
body MULTIPART_ALT_NON_TEXT	eval:check_ma_non_text()

body CHARSET_FARAWAY		eval:check_for_faraway_charset()
describe CHARSET_FARAWAY	Character set indicates a foreign language
tflags CHARSET_FARAWAY		userconf

# these tests doesn't actually use rawbody since rawbody isn't raw enough;
# they must be written very carefully to avoid modifying the original content

# MIME Content-Transfer-Encoding control rules
rawbody __MIME_BASE64		eval:check_for_mime('mime_base64_count')
describe __MIME_BASE64		Includes a base64 attachment

rawbody __MIME_QP		eval:check_for_mime('mime_qp_count')
describe __MIME_QP		Includes a quoted-printable attachment

# No longer used in MIMEEval
#rawbody MIME_BASE64_BLANKS	eval:check_for_mime('mime_base64_blanks')
#describe MIME_BASE64_BLANKS	Extra blank lines in base64 encoding


rawbody MIME_BASE64_TEXT	eval:check_for_mime('mime_base64_encoded_text')
describe MIME_BASE64_TEXT	Message text disguised using base64 encoding


body MISSING_MIME_HB_SEP	eval:check_msg_parse_flags('missing_mime_head_body_separator')
describe MISSING_MIME_HB_SEP	Missing blank line between MIME header and body

body MIME_HTML_MOSTLY		eval:check_mime_multipart_ratio('0.00','0.01')
describe MIME_HTML_MOSTLY	Multipart message mostly text/html MIME

# Steve Linford via Charlie Watts: good test!
body MIME_HTML_ONLY		eval:check_for_mime_html_only()
describe MIME_HTML_ONLY		Message only has text/html MIME parts

rawbody  MIME_QP_LONG_LINE	eval:check_for_mime('mime_qp_long_line')
describe MIME_QP_LONG_LINE	Quoted-printable line longer than 76 chars

rawbody __MIME_CHARSET_FARAWAY	eval:check_for_mime('mime_faraway_charset')

body MIME_BAD_ISO_CHARSET	eval:check_for_mime('mime_bad_iso_charset')
describe MIME_BAD_ISO_CHARSET	MIME character set is an unknown ISO charset

body MIMEPART_LIMIT_EXCEEDED	eval:check_for_mime('mimepart_limit_exceeded')
describe MIMEPART_LIMIT_EXCEEDED Message has too many MIME parts

endif

###########################################################################

ifplugin Mail::SpamAssassin::Plugin::URIEval

body HTTPS_IP_MISMATCH	eval:check_https_ip_mismatch()
describe HTTPS_IP_MISMATCH	IP to HTTPS link found in HTML

body URI_TRUNCATED	eval:check_uri_truncated()
describe URI_TRUNCATED	Message contained a URI which was truncated

endif

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
April 22 2025 07:03:57
root / root
0755
10_default_prefs.cf
8.563 KB
April 22 2025 07:03:57
root / root
0644
10_hasbase.cf
2.395 KB
April 22 2025 07:03:57
root / root
0644
20_advance_fee.cf
7.434 KB
April 22 2025 07:03:57
root / root
0644
20_aux_tlds.cf
39.325 KB
April 22 2025 07:03:57
root / root
0644
20_body_tests.cf
7.012 KB
April 22 2025 07:03:57
root / root
0644
20_compensate.cf
1.89 KB
April 22 2025 07:03:57
root / root
0644
20_dnsbl_tests.cf
10.297 KB
April 22 2025 07:03:57
root / root
0644
20_drugs.cf
15.161 KB
April 22 2025 07:03:57
root / root
0644
20_dynrdns.cf
11.119 KB
April 22 2025 07:03:57
root / root
0644
20_fake_helo_tests.cf
9.068 KB
April 22 2025 07:03:57
root / root
0644
20_freemail.cf
2.988 KB
April 22 2025 07:03:57
root / root
0644
20_freemail_domains.cf
40.364 KB
April 22 2025 07:03:57
root / root
0644
20_freemail_mailcom_domains.cf
4.316 KB
April 22 2025 07:03:57
root / root
0644
20_head_tests.cf
26.833 KB
April 22 2025 07:03:57
root / root
0644
20_html_tests.cf
10.486 KB
April 22 2025 07:03:57
root / root
0644
20_imageinfo.cf
5.178 KB
April 22 2025 07:03:57
root / root
0644
20_mailspike.cf
2.862 KB
April 22 2025 07:03:57
root / root
0644
20_meta_tests.cf
3.422 KB
April 22 2025 07:03:57
root / root
0644
20_net_tests.cf
1.836 KB
April 22 2025 07:03:57
root / root
0644
20_pdfinfo.cf
15.526 KB
April 22 2025 07:03:57
root / root
0644
20_phrases.cf
7.964 KB
April 22 2025 07:03:57
root / root
0644
20_porn.cf
2.014 KB
April 22 2025 07:03:57
root / root
0644
20_ratware.cf
16.476 KB
April 22 2025 07:03:57
root / root
0644
20_uri_tests.cf
5.868 KB
April 22 2025 07:03:57
root / root
0644
20_vbounce.cf
20.279 KB
April 22 2025 07:03:57
root / root
0644
23_bayes.cf
2.938 KB
April 22 2025 07:03:57
root / root
0644
25_accessdb.cf
1.511 KB
April 22 2025 07:03:57
root / root
0644
25_antivirus.cf
1.503 KB
April 22 2025 07:03:57
root / root
0644
25_asn.cf
1.929 KB
April 22 2025 07:03:57
root / root
0644
25_dcc.cf
2.888 KB
April 22 2025 07:03:57
root / root
0644
25_dkim.cf
5.577 KB
April 22 2025 07:03:57
root / root
0644
25_dmarc.cf
2.029 KB
April 22 2025 07:03:57
root / root
0644
25_dnswl.cf
2.991 KB
April 22 2025 07:03:57
root / root
0644
25_pyzor.cf
1.486 KB
April 22 2025 07:03:57
root / root
0644
25_razor2.cf
3.09 KB
April 22 2025 07:03:57
root / root
0644
25_replace.cf
20.981 KB
April 22 2025 07:03:57
root / root
0644
25_spf.cf
4.297 KB
April 22 2025 07:03:57
root / root
0644
25_textcat.cf
1.729 KB
April 22 2025 07:03:57
root / root
0644
25_uribl.cf
19.534 KB
April 22 2025 07:03:57
root / root
0644
25_url_shortener.cf
10.662 KB
April 22 2025 07:03:57
root / root
0644
30_text_de.cf
25.688 KB
April 22 2025 07:03:57
root / root
0644
30_text_fr.cf
19.339 KB
April 22 2025 07:03:57
root / root
0644
30_text_it.cf
1.817 KB
April 22 2025 07:03:57
root / root
0644
30_text_nl.cf
20.147 KB
April 22 2025 07:03:57
root / root
0644
30_text_pl.cf
16.851 KB
April 22 2025 07:03:57
root / root
0644
30_text_pt_br.cf
41.928 KB
April 22 2025 07:03:57
root / root
0644
50_scores.cf
37.14 KB
April 22 2025 07:03:57
root / root
0644
60_adsp_override_dkim.cf
9.121 KB
April 22 2025 07:03:57
root / root
0644
60_awl.cf
1.479 KB
April 22 2025 07:03:57
root / root
0644
60_bayes_stopwords.cf
14.731 KB
April 22 2025 07:03:57
root / root
0644
60_shortcircuit.cf
2.36 KB
April 22 2025 07:03:57
root / root
0644
60_txrep.cf
1.311 KB
April 22 2025 07:03:57
root / root
0644
60_welcomelist.cf
11.342 KB
April 22 2025 07:03:57
root / root
0644
60_welcomelist_auth.cf
74.763 KB
April 22 2025 07:03:57
root / root
0644
60_welcomelist_dkim.cf
10.835 KB
April 22 2025 07:03:57
root / root
0644
60_welcomelist_spf.cf
6.104 KB
April 22 2025 07:03:57
root / root
0644
60_welcomelist_subject.cf
3.821 KB
April 22 2025 07:03:57
root / root
0644
72_active.cf
522.844 KB
April 22 2025 07:03:57
root / root
0644
72_scores.cf
29.705 KB
April 22 2025 07:03:57
root / root
0644
73_sandbox_manual_scores.cf
4.118 KB
April 22 2025 07:03:57
root / root
0644
MIRRORED.BY
1.055 KB
April 22 2025 07:03:53
root / root
0644
STATISTICS-set0-72_scores.cf.txt
1.462 KB
April 22 2025 07:03:57
root / root
0644
STATISTICS-set1-72_scores.cf.txt
1.463 KB
April 22 2025 07:03:57
root / root
0644
STATISTICS-set2-72_scores.cf.txt
0 KB
April 22 2025 07:03:57
root / root
0644
STATISTICS-set3-72_scores.cf.txt
0 KB
April 22 2025 07:03:57
root / root
0644
languages
130.469 KB
April 22 2025 07:03:57
root / root
0644
local.cf
3.143 KB
April 22 2025 07:03:57
root / root
0644
regression_tests.cf
2.706 KB
April 22 2025 07:03:57
root / root
0644
sa-update-pubkey.txt
4.665 KB
April 22 2025 07:03:57
root / root
0644
user_prefs.template
1.867 KB
April 22 2025 07:03:57
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF