由 sonan 在 08-25-2003 10:13 发表:
版主帮帮忙~~~有关spamassassin防垃圾邮件的问题
我的配置local.cf文件如下
required_hits 4
subject_tag [SPAM]
report_header 1
use_terse_report 1
report_safe 0
ok_languages zh en
ok_locales en zh
body CH_FREE /free/
describe CHFREE CONTAIN
score CH_FREE 6.0
但是重启服务后,在邮件里打了N个free进去邮件总是还可以收到,并没有被挡回去或是做标记,希望高手能帮一下我,谢谢了
HELLO
由 Glue 在 08-25-2003 10:24 发表:
好东西嘛,
是不是没和你的email服务器连起来
-_-
由 sonan 在 08-25-2003 10:38 发表:
在服务里面看是已经打开了
但是就是不起作用
楼上的兄弟有高招吗?谢谢了
由 sonan 在 08-25-2003 10:40 发表:
顺带说一下我的邮件系统:qmail+vpopmail+mysql+igenus
由 Glue 在 08-25-2003 13:58 发表:
高招说不上,通常要从log里找原因,
你的qmail的log里有没有相关信息 
-_-
由 sonan 在 08-25-2003 14:28 发表:
我把服务重启了,然后从另外一邮件系统发了封带有free这个词的邮件过来,MAILLOG的记录如下
Aug 25 14:33:11 xmail spamd[2197]: server started on port 783 (running version 2.55)
Aug 25 14:33:36 xmail spamd[2197]: server killed by SIGTERM, shutting down
Aug 25 14:34:29 xmail spamd[2216]: server started on port 783 (running version 2.55)
Aug 25 14:36:50 xmail qmail: 1061793410.179092 starting delivery 86: msg 812127 to local [email protected]
Aug 25 14:36:50 xmail qmail: 1061793410.179293 status: local 1/10 remote 0/20
Aug 25 14:36:50 xmail qmail: 1061793410.313747 delivery 86: deferral: /usr/local/bin/mailquotacheck:line_1:/usr/ucb/expr:_No_such_file_or_directory//usr/local/bin/mailquotacheck:line_1:/usr/ucb/expr:_No_such_file_or_directory//usr/local/bin/mailquotacheck:line_1:/usr/ucb/du:_No_such_file_or_directory//usr/local/bin/mailquotacheck:line_1:/usr/ucb/expr:No_such_file_or_directory//usr/local/bin/mailquotacheck:line_103:[:-gt:unary_operator_expected//usr/local/bin/mailquotacheck:line_112:[:-gt:_unary_operator_expected/Sorry,_Your_message_cannot_be_delivered_bacause_the_recipient_does_not_have\nenough_disk_space_left_for_it./\n_However,small(<_1Kb)_message_will_be_delivered_should_you_wish/____to\ninform_the_person_you_tried_to_email./
Aug 25 14:36:50 xmail qmail: 1061793410.313954 status: local 0/10 remote 0/20
Aug 25 14:38:35 xmail qmail: 1061793515.627223 new msg 812128
Aug 25 14:38:35 xmail qmail: 1061793515.627430 info msg 812128: bytes 1966 from
1<[email protected]> qp 2244 uid 508
2
3Aug 25 14:38:35 xmail qmail: 1061793515.702185 starting delivery 87: msg 812128 to remote [email protected]
4
5Aug 25 14:38:35 xmail qmail: 1061793515.702385 status: local 0/10 remote 1/20
6
7Aug 25 14:38:36 xmail qmail: 1061793516.228968 delivery 87: success: 61.130.58.131_accepted_message./Remote_host_said:_250_ok_1061792017_qp_18567/
8
9Aug 25 14:38:36 xmail qmail: 1061793516.229169 status: local 0/10 remote 0/20
10
11Aug 25 14:38:36 xmail qmail: 1061793516.229307 end msg 812128
12
13Aug 25 14:39:54 xmail splogger: 1061793594.864279 tcpserver: status: 1/100
14
15Aug 25 14:39:54 xmail splogger: 1061793594.865120 tcpserver: pid 2246 from 61.130.58.131
16
17Aug 25 14:39:54 xmail splogger: 1061793594.865768 tcpserver: ok 2246 lqqx.cn:3.0.0.11:25 :61.130.58.131::40157
18
19Aug 25 14:39:54 xmail qmail: 1061793594.894544 new msg 812128
20
21Aug 25 14:39:54 xmail qmail: 1061793594.894757 info msg 812128: bytes 490 from <[email protected]> qp 2247 uid 502
22
23Aug 25 14:39:54 xmail splogger: 1061793594.900017 tcpserver: end 2246 status 0
24
25Aug 25 14:39:54 xmail splogger: 1061793594.900317 tcpserver: status: 0/100
26
27Aug 25 14:39:54 xmail qmail: 1061793594.906066 starting delivery 88: msg 812128 to local [email protected]
28
29Aug 25 14:39:54 xmail qmail: 1061793594.906259 status: local 1/10 remote 0/20
30
31Aug 25 14:39:54 xmail qmail: 1061793594.945513 delivery 88: success: did_0+0+1/
32
33Aug 25 14:39:54 xmail qmail: 1061793594.945713 status: local 0/10 remote 0/20
34
35Aug 25 14:39:54 xmail qmail: 1061793594.945845 end msg 812128
36
37"/var/log/maillog" [ÒÑת»»] 781L, 150051C
38
39
40
41
42* * *
43
44
45_由 sonan 在 08-25-2003 14:50 发表:_
46
47
48
49****
50
51
52
53
54
55又做了些更改,把SPAMASSASSIN的DEBUG记录到MAILLOG里了
56
57Aug 25 14:52:36 xmail spamd[2216]: server killed by SIGTERM, shutting down
58
59Aug 25 14:54:21 xmail spamd[613]: debug: daemonized.
60
61Aug 25 14:54:21 xmail spamd[613]: debug: ignore: test message to precompile patterns and load modules
62
63Aug 25 14:54:21 xmail spamd[613]: debug: using "/usr/share/spamassassin" for default rules dir
64
65Aug 25 14:54:22 xmail spamd[613]: debug: using "/etc/mail/spamassassin" for site rules dir
66
67Aug 25 14:54:26 xmail spamd[613]: debug: Failed to parse line in SpamAssassin configuration, skipping: report_header 1
68
69Aug 25 14:54:26 xmail spamd[613]: debug: Failed to parse line in SpamAssassin configuration, skipping: defang_mine 0
70
71Aug 25 14:54:26 xmail spamd[613]: debug: Failed to parse line in SpamAssassin configuration, skipping: use _razor2 1
72
73Aug 25 14:54:27 xmail spamd[613]: debug: bayes: no dbs present, cannot scan: /tmp/spamassassin-613/.spamassassin/bayes_toks
74
75Aug 25 14:54:27 xmail spamd[613]: debug: Score set 1 chosen.
76
77Aug 25 14:54:27 xmail spamd[613]: debug: Initialising learner
78
79Aug 25 14:54:27 xmail spamd[613]: debug: debug: Only 0 spam(s) in Bayes DB < 200
80
81Aug 25 14:54:27 xmail spamd[613]: debug: bayes: 613 untie-ing
82
83Aug 25 14:54:27 xmail spamd[613]: debug: bayes: 613 untie-ing db_toks
84
85Aug 25 14:54:27 xmail spamd[613]: debug: is Net:  NS::Resolver available? yes
86
87Aug 25 14:54:27 xmail spamd[613]: debug: Initialising learner
88
89Aug 25 14:54:27 xmail spamd[613]: debug: debug: Only 0 spam(s) in Bayes DB < 200
90
91Aug 25 14:54:27 xmail spamd[613]: debug: bayes: 613 untie-ing
92
93Aug 25 14:54:27 xmail spamd[613]: debug: bayes: 613 untie-ing db_toks
94
95Aug 25 14:54:27 xmail spamd[613]: debug: is Net:  NS::Resolver available? yes
96
97Aug 25 14:54:27 xmail spamd[613]: debug: trying (3) amazon.com...
98
99Aug 25 14:54:27 xmail spamd[613]: debug: looking up MX for 'amazon.com'
100
101Aug 25 14:54:27 xmail spamd[613]: debug: MX for 'amazon.com' exists? 1
102
103Aug 25 14:54:27 xmail spamd[613]: debug: MX lookup of amazon.com succeeded => Dns available (set dns_available to hardcode)
104
105Aug 25 14:54:27 xmail spamd[613]: debug: is DNS available? 1
106
107Aug 25 14:54:27 xmail spamd[613]: debug: running header regexp tests; score so far=0
108
109Aug 25 14:54:27 xmail splogger: 1061794467.062428 tcpserver: status: 0/100
110
111Aug 25 14:54:27 xmail splogger: 1061794467.066388 tcpserver: status: 0/100
112
113Aug 25 14:54:27 xmail qmail: 1061794467.577487 status: local 0/10 remote 0/20
114
115Aug 25 14:54:28 xmail spamd[613]: debug: running body-text per-line regexp tests; score so far=1.9
116
117Aug 25 14:54:30 xmail spamd[613]: debug: Loading languages file...
118
119Aug 25 14:54:31 xmail spamd[613]: debug: Language possibly: en,sco
120
121Aug 25 14:54:31 xmail spamd[613]: debug: running raw-body-text per-line regexp tests; score so far=7.9
122
123Aug 25 14:54:31 xmail spamd[613]: debug: running uri tests; score so far=7.9
124
125Aug 25 14:54:31 xmail spamd[613]: debug: uri tests: Done uriRE
126
127Aug 25 14:54:31 xmail spamd[613]: debug: running full-text regexp tests; score so far=7.9
128
129Aug 25 14:54:31 xmail spamd[613]: debug: Razor2 is available
130
131Aug 25 14:54:31 xmail spamd[613]: debug: Razor2 is available
132
133Aug 25 14:54:31 xmail spamd[613]: debug: entering helper-app run mode
134
135Aug 25 14:54:41 xmail spamd[613]: debug: razor2 check timed out after 10 secs.
136
137Aug 25 14:54:41 xmail spamd[613]: debug: leaving helper-app run</[email protected]></[email protected]>