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

📄 mailfilter.example

📁 一个C语言写的快速贝叶斯垃圾邮件过滤工具
💻 EXAMPLE
字号:
# $Id: mailfilter.example,v 1.6 2004/10/30 19:54:26 relson Exp $## mailfilter.example## This is a sample maildrop configuration file which shows some ways# of running bogofilter from maildrop.### bogofilter - filter & update word listsMAILDIR=/var/spool/mailBOGOFILTER_DIR=/var/spool/bogofilter#### backup ####cc "mail.backup"###### Silently drop all completely unreadable mail into separate folderif (/^Subject:.*=\?(.*big5|iso-2022-jp|ISO-2022-KR|euc-kr|gb2312|ks_c_5601-1987|windows-1251|windows-1256)\?/ || /^Content-Type:.*charset="(.*big5|iso-2022-jp|ISO-2022-KR|euc-kr|gb2312|ks_c_5601-1987|windows-1251|windows-1256)/)to "spam-unreadable"######## bogofilter passthrough-update ####xfilter 'bogofilter -p -u -l -e -v'# if spam, file this into the "spam-bogofilter" folder and exit# processingif (/^X-Bogosity: (Spam|Yes)/)to "spam-bogofilter"# if unsure, copy this into the "spam-bogofilter" folder and# CONTINUE processingif (/^X-Bogosity: Unsure/)cc "unsure-bogofilter"#### end bogofilter passthrough-update ######## SpamAssassin ##### if spamassassin detects spam (this example assumes spamd is running),# teach bogofilter about it (avoiding to register spamassassin markup)# and store it to spam-spamassassinxfilter "/usr/bin/spamc"if (/^X-Spam-Status: YES/){    cc "|/usr/bin/spamassassin -d -L|bogofilter -s"    to "spam-spamassassin"}#### end SpamAssassin ####

⌨️ 快捷键说明

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