FreeBSD+Qmail+SpamAssassin,前任网管做的,但垃圾邮件过滤功能关闭了,如何打开?
SpamAssassin已经安装上去了,只是先前这个功能一直关闭的,如何打开这个垃圾邮件过滤功能?请高手指教。<br>关于spam的进程情况如下:<br>
mail# ps -aux|grep "spam"<br>
root 244 0.0 4.1 45888 43192 ?? I Thu05PM 0:00.00 spamd child (suidperl)<br>
root 243 0.0 4.1 45888 43192 ?? I Thu05PM 0:00.00 spamd child (suidperl)<br>
root 242 0.0 4.1 45888 43192 ?? I Thu05PM 0:00.00 spamd child (suidperl)<br>
root 241 0.0 4.1 45888 43192 ?? I Thu05PM 0:00.00 spamd child (suidperl)<br>
root 240 0.0 4.1 45888 43192 ?? I Thu05PM 0:00.00 spamd child (suidperl)<br>
root 225 0.0 4.1 45888 43192 ?? Is Thu05PM 0:01.87 /usr/local/bin/spamd -c -d -r /var/<br>
spam配置文件情况如下:<br>
mail# cat /usr/local/etc/mail/spamassassin/local.cf<br>
# SpamAssassin config file for version 2.5x<br>
# generated by <a target=_blank href=http://www.yrex.com/spam/spamconfig.php>http://www.yrex.com/spam/spamconfig.php</a> (version 1.01)<br>
<br>
# How many hits before a message is considered spam.<br>
required_hits 4.0<br>
<br>
# Whether to change the subject of suspected spam<br>
rewrite_subject 1<br>
<br>
# Text to prepend to subject if rewrite_subject is used<br>
subject_tag ****垃圾邮件****<br>
<br>
# Encapsulate spam in an attachment<br>
report_safe 1<br>
<br>
# Use terse version of the spam report<br>
use_terse_report 0<br>
<br>
# Enable the Bayes system<br>
use_bayes 1<br>
<br>
# Enable Bayes auto-learning<br>
auto_learn 1<br>
<br>
# Enable or disable network checks<br>
skip_rbl_checks 1<br>
rbl_timeout 1<br>
use_razor2 0<br>
use_dcc 0<br>
use_pyzor 0<br>
<br>
# Mail using languages used in these country codes will not be marked<br>
# as being possibly spam in a foreign language.<br>
# - chinese english spanish<br>
ok_languages zh en es<br>
<br>
# Mail using locales used in these country codes will not be marked<br>
# as being possibly spam in a foreign language.<br>
ok_languages zh en es<br>
<br>
# Mail using locales used in these country codes will not be marked<br>
# as being possibly spam in a foreign language.<br>
ok_locales zh en es<br>
<br>
score SUBJ_FULL_OF_8BITS 0.0<br>
score BASE64_ENC_TEXT 0.0<br>
score BAYES_99 0.1<br>
score BAYES_90 0.1<br>
score BAYES_80 0.1<br>
score BAYES_70 0.1<br>
score BAYES_60 0.1<br>
score SUBJ_ILLEGAL_CHARS 0.1<br>
score FROM_ILLEGAL_CHARS 0.1<br>
score HEAD_ILLEGAL_CHARS 0.1<br>
score MIME_BASE64_TEXT 0.1<br>
score FAKE_HELO_AOL 0.1<br>
score NO_RDNS_DOTCOM_HELO 0.1<br>
score CHINA_HEADER 0.1<br>
score NO_REAL_NAME 0.2<br>
score HTML_MESSAGE 0.5<br>
score MIME_HTML_ONLY 1.0<br>
score MIME_HTML_ONLY_MULTI 1.0<br>
score FORGED_MUA_OUTLOOK 1.0<br>
score CLICK_BELOW 1.0<br>
score FORGED_HOTMAIL_RCVD 1.0<br>
score FORGED_OUTLOOK_TAGS 1.0<br>
score MAILTO_TO_SPAM_ADDR 1.0<br>
<br>
re:要使用 spamassassin 功能,...
要使用 spamassassin 功能,需要有 qmail-scanner 或者 maildrop 等软件的配合。<br><br>
如果你的webmail是使用igenus的话,你可以参考下iGENUS3商业版,此版本中已经实现了该功能,用户可以自行设置是否使用和功能开启。地址是:<br>
<a target=_blank href=http://www.igenus.cn/Downloads/index.html>http://www.igenus.cn/Downloads/index.html</a>
re:我知道这服务器上有qmailadmi...
我知道这服务器上有<br>qmailadmin 1.2.3<br>
vpopmail 5.4.10<br>
我怎么知道我是不是安装了qmail-scanner或是maildrop?<br>
re:我找到如下内容,说明我装了qmail-s...
我找到如下内容,说明我装了qmail-scanner<br>mail# find / -name "qmail-scanner"<br>
/usr/ports/mail/qmail-scanner<br>
mail# cd /usr/ports/mail/qmail-scanner<br>
mail# ls<br>
Makefile files pkg-install pkg-plist<br>
distinfo pkg-descr pkg-message work<br>
re:我的/var/log/maillog中有...
我的/var/log/maillog中有如下内容:<br>Jul 7 10:25:41 mail spamd: server started on port 783/tcp (running version 3.0.4)<br>
Jul 7 10:25:41 mail spamd: server successfully spawned child process, pid 237<br>
Jul 7 10:25:41 mail spamd: server successfully spawned child process, pid 238<br>
Jul 7 10:25:41 mail spamd: server successfully spawned child process, pid 239<br>
Jul 7 10:25:41 mail spamd: server successfully spawned child process, pid 240<br>
Jul 7 10:25:41 mail spamd: server successfully spawned child process, pid 241<br>
是不是表明我的过滤器已经打开?但为什么一点过滤的效果也没有,也没有出现带spamd头的邮件!
re:你webmail用的是什么,如果是ige...
你webmail用的是什么,如果是igenus,我可以帮你一下,加我QQ吧!re:谢谢大哥!
谢谢大哥!<br>re:先设置一下环境变量!
先设置一下环境变量!
页:
[1]