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

📄 t.ignore_spam_header

📁 一个C语言写的快速贝叶斯垃圾邮件过滤工具
💻 IGNORE_SPAM_HEADER
字号:
#! /bin/sh. ${srcdir=.}/t.frame# t.ignore_spam_header## 	bogofilter should remove all copies of the spam #	header line in the incoming message, i.e. #	the output file should exactly 1 copy of it.shn=`./spam_header_name`cat > $TMPDIR/input <<EOFFrom somewhere@example.com Fri Nov 22 11:30:23 2002$shn: blah1$shn: blah2      ... folded continuation 1      ... folded continuation 2$shn: blah3Friend,EOF# check seekable input$VAL $BOGOFILTER -p -e -C < $TMPDIR/input > $TMPDIR/output1# check non-seekable inputcat $TMPDIR/input | $VAL $BOGOFILTER -p -e -C >$TMPDIR/output2count1=`grep $shn $TMPDIR/output1 | wc -l`count2=`grep $shn $TMPDIR/output2 | wc -l`if [ $count1 = "1" ] && [ $count2 = "1" ] ; then    exit 0else    echo count1: $count1, count2: $count2    exit 1fi

⌨️ 快捷键说明

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