⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rulefiles.html

📁 JK Proxy Project - Version 0.1 ------------------------------ This was going to be a proxy serve
💻 HTML
字号:
<html>
<head>
</head>
<body vlink="#0000FF" link="#0000FF">

<font size="2"  face="Verdana, Times New Roman">

<!-- back to navi start -->
<font size="-2">&lt;-- <a href="navi.html" target="jkp_navi">Navigation</a><br><br>
</font>
<!-- back to navi end -->


<font size="+1"><b>
Rule files
</b></font>
<br><br>
Rule files are an essential part of spam filtering in this project. In these files the admin can define certain rules to identify and block spam messages / unwanted messages.<br><br>
Each module (e.g. email proxy etc.) can have an individual rule file, that is an individual set of rules for incoming messages. To find out how to set the rule file for a module look at the 'Configuration' section of the specific module in this documentation.<br><br>

<b>Structure of a rule file</b><br><br>
There are two valid commands in a rule file: 'rule' and 'loadlist'. Each rule set is built up by sequences of these commands.<br><br>

<b>loadlist-command</b><br><br>
Syntax:<br>
loadlist <i>listname</i>, <i>filename</i><br><br>
This command loads a list of words/expressions from a file. Each line represents one expression. These lists can be used later on by a 'rule' command for text comparison.<br><br><u>Note:</u> The path specification in <i>filename</i> is relative to the configuration file directory.<br><br>

<b>rule-command</b><br><br>
There are two types of rules:<br>
<ol>
<li>text comparison rules</li>
<li>message size rules</li>
</ol>

<b>Text comparison rules</b><br><br>
Syntax:<br>
rule <i>msg-part</i>, <i>[header-part]</i>, <i>comparison</i>, <i>case-sensitivity</i>, <i>check-term</i>, <i>action</i>

</font>

<!-- /end-tag replace-->
<!-- \end-tag replace-->

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -