ARGUMENTS' 部分。一些变动如下:
--addspam, --falsepositive, --corpus, and --inoculate have been
replaced with two flags to specify a pre-classification and a
classification source:
--addspam becomes:
--class=spam --source=error
--falsepositive becomes:
--class=innocent --source=error
--corpus becomes:
--class=innocent --source=corpus
--class=spam --source=corpus
--inoculate becomes:
--class=spam --source=inoculation
指定训练模式(training mode),发送参数选择,还有命令行参数选择是必要的。例如:
--mode=teft --deliver=innocent --feature=chained,bnr
否则,如果您喜欢一起发送合法邮件和垃圾邮件,您应该用
--deliver=innocent,spam。谨记您的这点喜好将被用于您将使用的任何操作系统。例如,假如您重新训练
一个假阳性或接近垃圾的邮件,--deliver参数将指定您是否想发送他,因此您可以享受在MTA,aliases,
和CGI中定义不同的命令行参数。
Step 4: Upgrade the CGI
The DSPAM CGI has been updated, and should be upgraded. Many calling
字串9
arguments have been changed.
Step 5: Reconfigure your MTA
DSPAM's commandline arguments have been rewritten. You'll want to
consult the 'AGENT COMMANDLINE ARGUMENTS' section for a full explanation
of all the new commandline components. Some of the basic changes are:
--addspam, --falsepositive, --corpus, and --inoculate have been
replaced with two flags to specify a pre-classification and a
classification source:
--addspam becomes:
--class=spam --source=error
--falsepositive becomes:
--class=innocent --source=error
--corpus becomes:
--class=innocent --source=corpus
--class=spam --source=corpus
--inoculate becomes:
--class=spam --source=inoculation
It will also be necessary to specify the training mode, delivery
preferences, and feature selection on the commandline as well. For
example:
--mode=teft --deliver=innocent --feature=chained,bnr
Or if you prefer delivery of both innocent and spam messages, you should
字串1
use --deliver=innocent,spam. Keep in mind that these preferences will
be applied to whatever operation you are calling. For example, if you
are retraining a false positive or forwarding in a spam, the --deliver
argument will specify whether or not you want to deliver it, so you have
the luxury of defining different commandline arguments between your MTA,
aliases, and CGI.
步骤6:目录结构已被改变,因此所有的用户目录都在$DSPAM_HOME/data中。您可以删除所有的用户目录
(.stats等文件将被重新编译,但是隔离箱不会),或者把他们移到 $DSPAM_HOME/data中。
步骤7:打开您的MTA和CGI,做一个全面的测试。
刷新安装
首先您得下载一些必要的工具:
这取决于您想用那种驱动程序,您需要:
libdb4_drv: Berkeley DB-4.
libdb3_drv: Berkeley DB-3.
mysql_drv: MySQL client libraries (and a server to connect to)
ora_drv: Oracle Call Interface (and a server to connect to)
pgsql_drv: PostgreSQL client libraries (and a server to connect to)
MYSQL时被推荐的存储驱动程序,即使是执行小项目,他也比其他驱动稳定且好测试。如果您没有办法运行
字串7
一个稳定的服务器,libdb驱动应该满足了,但是请注意,libdb 偶尔会导致一些问题,包括data corruption
和 lock contention。结果,您不得不做一个备份以免出现这些问题。
一般来说,MYSQL是一个较快的解决方案且占用较小的存储器,同时适合小型或大规模的运行。
Step 6: The directory structure has been changed so that all user directories
go into $DSPAM_HOME/data. You'll want to either delete all user
directories (the .stats files and such will be rebuilt, but the
quarantine boxes won't), or move them into $DSPAM_HOME/data.
Step 7: Turn your MTA and CGIs back on, and TEST EVERYTHING.
FRESH INSTALLATION
First you will need to download a few prerequisite tools:
Depending on which storage driver you want to use, you will need:
libdb4_drv: Berkeley DB-4.
libdb3_drv: Berkeley DB-3.
mysql_drv: MySQL client libraries (and a server to connect to)
ora_drv: Oracle Call Interface (and a server to connect to)
pgsql_drv: PostgreSQL client libraries (and a server to connect to) 字串2
MySQL is the recommended storage driver, even for small implementations, as
it is more stable and tested than the other drivers. If you are incapable
of running a stateful server, the libdb drivers should suffice, but please
be aware that libdb can occasionally result in some problems including
data corruption and lock contention. As a result, you'll want to maintain
a backup of your dictionary in the event such problems arise.
In general, MySQL is a faster solution with a smaller storage footprint,
and is well suited for both small and large-scale implementations.
You can download Berkeley DB from http://www.sleepycat.com.
You can download MySQL from http://www.mysql.com.
You can download PostgreSQL from http://www.postgresql.com
You can obtain more information about Oracle at http://www.oracle.com.
Be sure the necessary libraries are available to root, the MTA user, and

