freebsd 8.2下防垃圾邮件插件spamassassin提示config: failed to parse line, skipping

本笔记记录freebsd8.2版本下ports方案安装防垃圾邮件插件spamassassin后maillog提示config: failed to parse line, skipping, in “/usr/local/etc/mail/spamassassin/mailscanner.cf”: use_auto_whitelist 0错误信息的解决方案。本笔记虽然是在FreeBSD8.2系统上测试通过,其中多数内容也适合各个Linux发行版本以及各个BSD分支,在其他系统上只需要做少量调整。
提示以下错误信息:
[[email protected] ~]# more /var/log/maillog
Jul 22 16:17:48 bak spamd[1508]: spamd: server killed by SIGTERM, shutting down
Jul 22 16:17:49 bak spamd[2211]: logger: removing stderr method
Jul 22 16:17:50 bak spamd[2213]: config: failed to parse line, skipping, in “/usr/local/etc/mail/spamassassin/mailscanner.cf”: use_auto_whitelist 0

解决方案:

[root@www.itkylin.com ~]#
vi /usr/local/etc/mail/spamassassin/mailscanner.cf
注释掉:use_auto_whitelist 0
[[email protected] ~]#/usr/local/etc/rc.d//usr/local/etc/rc.d/sa-spamd restart