免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2232 | 回复: 2
打印 上一主题 下一主题

[Mail] 大家看看 出现这样的问题 还能防垃圾嘛? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-18 10:26 |只看该作者 |倒序浏览
[root@ptsc ~]# /etc/rc.d/init.d/spamassassin restart
停止 spamd:                                               [确定]
启动 spamd:                                               [确定]
[root@ptsc ~]#  /usr/bin/spamd         
[3076] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[root@ptsc ~]#

[root@ptsc ~]# /etc/rc.d/init.d/spamassassin stop   
停止 spamd:                                               [确定]
[root@ptsc ~]#  /usr/bin/spamd      
[3090] info: config: failed to parse line, skipping: rewrite_subject 1
[3090] info: config: failed to parse line, skipping: subject_tag ********SPAM********
[3090] info: config: failed to parse line, skipping: defang_mime 0
[3090] info: config: failed to parse line, skipping: rewrite_subject 0
[3090] info: config: failed to parse line, skipping: report_header 1
[3090] info: config: failed to parse line, skipping: use_terse_report 1
[3090] info: config: failed to parse line, skipping: auto_learn 1
[3090] info: config: failed to parse, now a plugin, skipping: ok_languages zh en
[3090] info: spamd: server started on port 783/tcp (running version 3.1.3)
[3090] info: spamd: server pid: 3090
[3090] info: spamd: server successfully spawned child process, pid 3092
[3090] info: spamd: server successfully spawned child process, pid 3093
[3090] info: prefork: child states: II
[3090] info: spamd: server killed by SIGINT, shutting down
[root@ptsc ~]# /etc/rc.d/init.d/spamassassin restart
停止 spamd:                                               [失败]
启动 spamd:                                               [确定]



日志中: maillog
Aug 18 10:45:12 ptsc spamd[2438]: spamd: server killed by SIGTERM, shutting down
Aug 18 10:45:13 ptsc spamd[3013]: logger: removing stderr method
Aug 18 10:45:13 ptsc spamd[3015]: config: failed to parse line, skipping: rewrite_subject 1
Aug 18 10:45:13 ptsc spamd[3015]: config: failed to parse line, skipping: subject_tag ********SPAM********
Aug 18 10:45:13 ptsc spamd[3015]: config: failed to parse line, skipping: defang_mime 0
Aug 18 10:45:13 ptsc spamd[3015]: config: failed to parse line, skipping: rewrite_subject 0
Aug 18 10:45:13 ptsc spamd[3015]: config: failed to parse line, skipping: report_header 1
Aug 18 10:45:13 ptsc spamd[3015]: config: failed to parse line, skipping: use_terse_report 1
Aug 18 10:45:13 ptsc spamd[3015]: config: failed to parse line, skipping: auto_learn 1
Aug 18 10:45:13 ptsc spamd[3015]: config: failed to parse, now a plugin, skipping: ok_languages zh en
Aug 18 10:45:14 ptsc spamd[3015]: spamd: server started on port 783/tcp (running version 3.1.3)
Aug 18 10:45:14 ptsc spamd[3015]: spamd: server pid: 3015
Aug 18 10:45:14 ptsc spamd[3015]: spamd: server successfully spawned child process, pid 3017
Aug 18 10:45:14 ptsc spamd[3015]: spamd: server successfully spawned child process, pid 3018
Aug 18 10:45:14 ptsc spamd[3015]: prefork: child states: II



我该如何解决?/

论坛徽章:
0
2 [报告]
发表于 2006-08-21 15:32 |只看该作者
期待答案

论坛徽章:
0
3 [报告]
发表于 2006-08-21 17:08 |只看该作者

回复 2楼 hotcup 的帖子

出現以上問題是由於你的local.cf (一般在這個地方/usr/local/etc/mail/spamassassin/local.cf)配置文件有問題。spamassassin 的配置文件不同版本是不能通用。你可以先用默認的配置文件(不做任何修改),run一次看會不會出錯。

[ 本帖最后由 @kang 于 2006-8-21 17:10 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP