为什么垃圾邮件不断让我0/0,当我testing它?

在我的centos 5我已经安装了spamassassin,我想要执行它从PHP使用命令行客户端。

问题是,每次我运行它,我得到的结果是:

0/0

这里是我如何运行它

echo "VIAGRA" | /usr/bin/spamc -c -F spamassasin.conf 

这是我的configuration文件

 # SpamAssassin config file for version 3.x # NOTE: NOT COMPATIBLE WITH VERSIONS 2.5 or 2.6 # See http://www.yrex.com/spam/spamconfig25.php for earlier versions # Generated by http://www.yrex.com/spam/spamconfig.php (version 1.50) # How many hits before a message is considered spam. required_score 7.5 # Encapsulate spam in an attachment (0=no, 1=yes, 2=safe) report_safe 1 # Enable the Bayes system use_bayes 1 # Enable Bayes auto-learning bayes_auto_learn 1 # Enable or disable network checks skip_rbl_checks 0 use_razor2 1 use_dcc 1 use_pyzor 1 # Mail using languages used in these country codes will not be marked # as being possibly spam in a foreign language. # - english ok_languages en # Mail using locales used in these country codes will not be marked # as being possibly spam in a foreign language. ok_locales en 

任何想法?

一如既往,谢谢

这不是一个RFC822电子邮件,spamassassin可能只是放弃。

您可能在/ usr / share / doc / spamassassin / examples /中有一些testing邮件,这是一个更好的testing。

答案是非常简单的….. spamassassin在testing期间下降:P

使用样本垃圾邮件(sample-spam.txt)或GTUBEstring,而不是使用string“VIAGRA”进行testing:

 XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X 

GTUBE是EICAR的反垃圾邮件等同物。