歡迎您光臨本站 註冊首頁

關於spamassassin的問題

←手機掃碼閱讀     火星人 @ 2014-03-05 , reply:0

關於spamassassin的問題

公司在mail伺服器上添加的spamassassin來防止垃圾郵件,運行的日誌中不停的出現如下信息
Wed Oct 11 13:38:13 2006 dbg: prefork: sysread(7) not ready, wait max 300 secs
Wed Oct 11 13:38:13 2006 dbg: prefork: sysread(8) not ready, wait max 300 secs
Wed Oct 11 13:40:45 2006 dbg: prefork: periodic ping from spamd parent
Wed Oct 11 13:40:45 2006 dbg: prefork: periodic ping from spamd parent
Wed Oct 11 13:40:45 2006 dbg: prefork: sysread(7) not ready, wait max 300 secs
Wed Oct 11 13:40:45 2006 dbg: prefork: sysread(8) not ready, wait max 300 secs
Wed Oct 11 13:43:17 2006 dbg: prefork: periodic ping from spamd parent
Wed Oct 11 13:43:17 2006 dbg: prefork: periodic ping from spamd parent

請問這個應該如何解決..

同時附上spamassassin -D --lint信息
dbg: logger: adding facilities: all
dbg: logger: logging level is DBG
dbg: generic: SpamAssassin version 3.1.0
dbg: config: score set 0 chosen.
dbg: util: running in taint mode? yes
dbg: util: taint mode: deleting unsafe environment variables, resetting PATH
dbg: util: PATH included '/usr/kerberos/sbin', keeping
dbg: util: PATH included '/usr/kerberos/bin', keeping
dbg: util: PATH included '/usr/local/sbin', keeping
dbg: util: PATH included '/usr/local/bin', keeping
dbg: util: PATH included '/sbin', keeping
dbg: util: PATH included '/bin', keeping
dbg: util: PATH included '/usr/sbin', keeping
dbg: util: PATH included '/usr/bin', keeping
dbg: util: PATH included '/usr/X11R6/bin', keeping
dbg: util: PATH included '/root/bin', which doesn't exist, dropping
dbg: util: final PATH set to: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
dbg: dns: is Net::DNS::Resolver available? yes
dbg: dns: Net::DNS version: 0.59
dbg: dns: name server: 211.157.97.2, family: 2, ipv6: 0
dbg: diag: perl platform: 5.008005 linux
dbg: diag: module installed: Digest::SHA1, version 2.11
dbg: diag: module installed: LWP::UserAgent, version 2.033
dbg: diag: module installed: HTTP::Date, version 1.47
dbg: diag: module installed: Archive::Tar, version 1.30
dbg: diag: module installed: IO::Zlib, version 1.04
dbg: diag: module installed: DB_File, version 1.809
dbg: diag: module installed: HTML::Parser, version 3.55
dbg: diag: module installed: MIME::Base64, version 3.01
dbg: diag: module installed: Net::DNS, version 0.59
dbg: diag: module installed: Net::SMTP, version 2.29
dbg: diag: module installed: Mail::SPF::Query, version 1.999001
dbg: diag: module installed: IP::Country::Fast, version 604.001
dbg: diag: module not installed: Razor2::Client::Agent ('require' failed)
dbg: diag: module not installed: Net::Ident ('require' failed)
dbg: diag: module not installed: IO::Socket::INET6 ('require' failed)
dbg: diag: module installed: IO::Socket::SSL, version 1.01
dbg: diag: module installed: Time::HiRes, version 1.55
dbg: diag: module installed: DBI, version 1.52
dbg: diag: module installed: Getopt::Long, version 2.34
dbg: ignore: using a test message to lint rules
dbg: config: using "/opt/corazio/spam/etc/mail/spamassassin" for site rules pre files
dbg: config: read file /opt/corazio/spam/etc/mail/spamassassin/init.pre
dbg: config: read file /opt/corazio/spam/etc/mail/spamassassin/v310.pre
dbg: config: read file /opt/corazio/spam/data/20_fake_helo_tests.cf
dbg: config: read file /opt/corazio/spam/data/20_head_tests.cf
dbg: config: read file /opt/corazio/spam/data/20_html_tests.cf
dbg: config: read file /opt/corazio/spam/data/20_meta_tests.cf
dbg: config: read file /opt/corazio/spam/data/20_net_tests.cf
dbg: config: read file /opt/corazio/spam/data/20_phrases.cf
dbg: config: read file /opt/corazio/spam/data/20_porn.cf
dbg: config: read file /opt/corazio/spam/data/20_ratware.cf
dbg: config: read file /opt/corazio/spam/data/20_uri_tests.cf
dbg: config: read file /opt/corazio/spam/data/23_bayes.cf
dbg: config: read file /opt/corazio/spam/data/25_accessdb.cf
dbg: config: read file /opt/corazio/spam/data/25_antivirus.cf
dbg: config: read file /opt/corazio/spam/data/25_body_tests_es.cf
dbg: config: read file /opt/corazio/spam/data/25_body_tests_pl.cf
dbg: config: read file /opt/corazio/spam/data/25_dcc.cf
dbg: config: read file /opt/corazio/spam/data/25_domainkeys.cf
dbg: config: read file /opt/corazio/spam/data/25_hashcash.cf
dbg: config: read file /opt/corazio/spam/data/25_pyzor.cf
dbg: config: read file /opt/corazio/spam/data/25_razor2.cf
dbg: config: read file /opt/corazio/spam/data/25_replace.cf
dbg: config: read file /opt/corazio/spam/data/25_spf.cf
dbg: config: read file /opt/corazio/spam/data/25_textcat.cf
dbg: config: read file /opt/corazio/spam/data/25_uribl.cf
dbg: config: read file /opt/corazio/spam/data/30_text_de.cf
dbg: config: read file /opt/corazio/spam/data/30_text_fr.cf
dbg: config: read file /opt/corazio/spam/data/30_text_it.cf
dbg: config: read file /opt/corazio/spam/data/30_text_nl.cf
dbg: config: read file /opt/corazio/spam/data/30_text_pl.cf
dbg: config: read file /opt/corazio/spam/data/30_text_pt_br.cf
dbg: config: read file /opt/corazio/spam/data/50_scores.cf
dbg: config: read file /opt/corazio/spam/data/60_awl.cf
dbg: config: read file /opt/corazio/spam/data/60_whitelist.cf
dbg: config: read file /opt/corazio/spam/data/60_whitelist_spf.cf
dbg: config: read file /opt/corazio/spam/data/60_whitelist_subject.cf
dbg: config: read file /opt/corazio/spam/data/Chinese_rules.cf
dbg: config: using "/opt/corazio/spam/etc/mail/spamassassin" for site rules dir
dbg: config: read file /opt/corazio/spam/etc/mail/spamassassin/local.cf
dbg: config: using "/root/.spamassassin" for user state dir
dbg: config: using "/root/.spamassassin/user_prefs" for user prefs file
dbg: config: read file /root/.spamassassin/user_prefs
dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
dbg: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xacdf3e0)
dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
dbg: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0xacf11cc)
dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
dbg: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0xad0ca10)
dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
dbg: reporter: network tests on, attempting SpamCop
dbg: plugin: registered Mail::SpamAssassin::Plugin::SpamCop=HASH(0xad36578)
dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
dbg: plugin: registered Mail::SpamAssassin::Plugin::AWL=HASH(0xacbb648)
dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
dbg: plugin: registered Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0xacbc608)
dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC
dbg: plugin: registered Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0xacbd07c)
dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
dbg: plugin: registered Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0xacbdd24)
dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
dbg: plugin: registered Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xad872c4)
dbg: config: adding redirector regex: /^http:\/\/chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i
dbg: config: adding redirector regex: /^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
dbg: config: adding redirector regex: /^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
dbg: config: adding redirector regex: /^http:\/\/redir\.internet\.com\/.+?\/.+?\/(.*)$/i
dbg: config: adding redirector regex: /^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
dbg: config: adding redirector regex: m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&\#])'i
dbg: config: adding redirector regex: m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
warn: Argument "n.nn" isn't numeric in addition (+) at /opt/corazio/spam/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf.pm line 251.
warn: Argument "n.nn" isn't numeric in addition (+) at /opt/corazio/spam/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf.pm line 251.
warn: Argument "n.nn" isn't numeric in addition (+) at /opt/corazio/spam/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf.pm line 251.
warn: Argument "n.nn" isn't numeric in addition (+) at /opt/corazio/spam/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf.pm line 251.
warn: config: warning: score set for non-existent rule SYMBOLIC_TEST_NAME
warn: config: warning: score set for non-existent rule HTML_COMMENT_8BITS
dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xad872c4) implements 'finish_parsing_end'
dbg: replacetags: replacing tags
dbg: replacetags: done replacing tags
dbg: config: using "/root/.spamassassin" for user state dir
dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_toks
dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_seen
dbg: bayes: found bayes db version 3
dbg: bayes: DB journal sync: last sync: 0
dbg: config: using "/root/.spamassassin" for user state dir
dbg: bayes: not available for scanning, only 3 spam(s) in bayes DB < 200
dbg: bayes: untie-ing
dbg: bayes: untie-ing db_toks
dbg: bayes: untie-ing db_seen
dbg: config: score set 1 chosen.
dbg: message: ---- MIME PARSER START ----
dbg: message: main message type: text/plain
dbg: message: parsing normal part
dbg: message: added part, type: text/plain
dbg: message: ---- MIME PARSER END ----
dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_toks
dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_seen
dbg: bayes: found bayes db version 3
dbg: bayes: DB journal sync: last sync: 0
dbg: bayes: not available for scanning, only 3 spam(s) in bayes DB < 200
dbg: bayes: untie-ing
dbg: bayes: untie-ing db_toks
dbg: bayes: untie-ing db_seen
dbg: dns: testing resolver nameservers: 211.157.97.2, 202.106.116.1, 202.99.8.1
dbg: dns: trying (3) apache.org...
dbg: dns: looking up NS for 'apache.org'
dbg: dns: NS lookup of apache.org using 211.157.97.2 succeeded => DNS available (set dns_available to override)
dbg: dns: is DNS available? 1
dbg: metadata: X-Spam-Relays-Trusted:
dbg: metadata: X-Spam-Relays-Untrusted:
dbg: message: no encoding detected
dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xacdf3e0) implements 'parsed_metadata'
dbg: uridnsbl: domains to query:
dbg: dns: checking RBL sbl-xbl.spamhaus.org., set sblxbl-notfirsthop
dbg: dns: checking RBL sa-accredit.habeas.com., set habeas-firsttrusted
dbg: dns: checking RBL sbl-xbl.spamhaus.org., set sblxbl
dbg: dns: checking RBL sa-other.bondedsender.org., set bsp-untrusted
dbg: dns: checking RBL combined.njabl.org., set njabl-notfirsthop
dbg: dns: checking RBL combined.njabl.org., set njabl
dbg: dns: checking RBL combined-HIB.dnsiplists.completewhois.com., set whois
dbg: dns: checking RBL list.dsbl.org., set dsbl-notfirsthop
dbg: dns: checking RBL bl.spamcop.net., set spamcop
dbg: dns: checking RBL sa-trusted.bondedsender.org., set bsp-firsttrusted
dbg: dns: checking RBL combined-HIB.dnsiplists.completewhois.com., set whois-notfirsthop
dbg: dns: checking RBL dnsbl.sorbs.net., set sorbs-notfirsthop
dbg: dns: checking RBL dnsbl.sorbs.net., set sorbs
dbg: dns: checking RBL iadb.isipp.com., set iadb-firsttrusted
dbg: check: running tests for priority: 0
dbg: rules: running header regexp tests; score so far=0
dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
dbg: rules: ran header rule __SANE_MSGID ======> got hit: "<1160546060@lint_rules>
dbg: rules: "
dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit: "@lint_rules>"
dbg: rules: ran header rule NO_REAL_NAME ======> got hit: "ignore@compiling.spamassassin.taint.org
dbg: rules: "
dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit: "1160546060"
dbg: plugin: registering glue method for check_hashcash_double_spend (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xacf11cc))
dbg: plugin: registering glue method for check_for_spf_helo_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0xad0ca10))
dbg: spf: message was delivered entirely via trusted relays, not required
dbg: eval: all '*From' addrs: ignore@compiling.spamassassin.taint.org
dbg: plugin: registering glue method for check_subject_in_blacklist (Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0xacbd07c))
dbg: plugin: registering glue method for check_hashcash_value (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xacf11cc))
dbg: eval: all '*To' addrs:
dbg: plugin: registering glue method for check_for_spf_neutral (Mail::SpamAssassin::Plugin::SPF=HASH(0xad0ca10))
dbg: spf: message was delivered entirely via trusted relays, not required
dbg: plugin: registering glue method for check_for_spf_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0xad0ca10))
dbg: rules: ran eval rule NO_RELAYS ======> got hit
dbg: plugin: registering glue method for check_for_spf_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0xad0ca10))
dbg: plugin: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0xad0ca10))
dbg: plugin: registering glue method for check_for_def_spf_whitelist_from (Mail::SpamAssassin::Plugin::SPF=HASH(0xad0ca10))
dbg: spf: cannot get Envelope-From, cannot use SPF
dbg: spf: def_spf_whitelist_from: could not find useable envelope sender
dbg: plugin: registering glue method for check_for_spf_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0xad0ca10))
dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit
dbg: plugin: registering glue method for check_subject_in_whitelist (Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0xacbd07c))
dbg: plugin: registering glue method for check_for_spf_whitelist_from (Mail::SpamAssassin::Plugin::SPF=HASH(0xad0ca10))
dbg: spf: spf_whitelist_from: could not find useable envelope sender
dbg: rules: ran eval rule MISSING_HEADERS ======> got hit
dbg: rules: running body-text per-line regexp tests; score so far=0.738
dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
dbg: uri: running uri tests; score so far=0.738
dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_toks
dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_seen
dbg: bayes: found bayes db version 3
dbg: bayes: DB journal sync: last sync: 0
dbg: bayes: not available for scanning, only 3 spam(s) in bayes DB < 200
dbg: bayes: not scoring message, returning undef
dbg: bayes: DB expiry: tokens in DB: 3975, Expiry max size: 150000, Oldest atime: 987802486, Newest atime: 1159148618, Last expire: 1158895603, Current time: 1160546061
dbg: bayes: DB journal sync: last sync: 0
dbg: bayes: untie-ing
dbg: bayes: untie-ing db_toks
dbg: bayes: untie-ing db_seen
dbg: plugin: registering glue method for check_uridnsbl (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xacdf3e0))
dbg: rules: running raw-body-text per-line regexp tests; score so far=0.738
dbg: rules: running full-text regexp tests; score so far=0.738
dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xacdf3e0) implements 'check_tick'
dbg: check: running tests for priority: 500
dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xacdf3e0) implements 'check_post_dnsbl'
dbg: rules: running meta tests; score so far=0.738
dbg: rules: running header regexp tests; score so far=2.216
dbg: rules: running body-text per-line regexp tests; score so far=2.216
dbg: uri: running uri tests; score so far=2.216
dbg: rules: running raw-body-text per-line regexp tests; score so far=2.216
dbg: rules: running full-text regexp tests; score so far=2.216
dbg: check: running tests for priority: 1000
dbg: rules: running meta tests; score so far=2.216
dbg: rules: running header regexp tests; score so far=2.216
dbg: plugin: registering glue method for check_from_in_auto_whitelist (Mail::SpamAssassin::Plugin::AWL=HASH(0xacbb648))
dbg: config: using "/root/.spamassassin" for user state dir
dbg: locker: safe_lock: created /root/.spamassassin/auto-whitelist.lock.hola.deyatech.com.19571
dbg: locker: safe_lock: trying to get lock on /root/.spamassassin/auto-whitelist with 0 retries
dbg: locker: safe_lock: link to /root/.spamassassin/auto-whitelist.lock: link ok
dbg: auto-whitelist: tie-ing to DB file of type DB_File R/W in /root/.spamassassin/auto-whitelist
dbg: auto-whitelist: db-based ignore@compiling.spamassassin.taint.org|ip=none scores 0/0
dbg: auto-whitelist: AWL active, pre-score: 2.216, autolearn score: 2.216, mean: undef, IP: undef
dbg: auto-whitelist: DB addr list: untie-ing and unlocking
dbg: auto-whitelist: DB addr list: file locked, breaking lock
dbg: locker: safe_unlock: unlink /root/.spamassassin/auto-whitelist.lock
dbg: auto-whitelist: post auto-whitelist score: 2.216
dbg: rules: running body-text per-line regexp tests; score so far=2.216
dbg: uri: running uri tests; score so far=2.216
dbg: rules: running raw-body-text per-line regexp tests; score so far=2.216
dbg: rules: running full-text regexp tests; score so far=2.216
dbg: check: is spam? score=2.216 required=5
dbg: check: tests=MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME,NO_RECEIVED,NO_RELAYS,TO_CC_NONE
dbg: check: subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID
warn: lint: 2 issues detected, please rerun with debug enabled for more information

請問我該如何分析才能找到問題的所在,使spam正常運行起來,望各位明白spam的CUER幫忙指引一下
《解決方案》

warn: lint: 2 issues detected, please rerun with debug enabled for more information

這裡看看是哪一個規則出錯了
《解決方案》

原帖由 vyouzhi 於 2006-10-11 13:54 發表
warn: lint: 2 issues detected, please rerun with debug enabled for more information

這裡看看是哪一個規則出錯了

謝謝 vyouzhi


查了好久沒發現具體哪個規則錯了, 我把虛擬機上的覆蓋了一下   用spamassassin --lint 再沒有報錯了  

我記得在規則庫中沒有做任何修改,後來重新把SPAM目錄覆蓋了一下后就沒有報錯了, 具體什麼原因等能運行好了再說吧   

現在在日誌中又一直出現這個問題:

Wed Oct 11 17:48:14 2006 dbg: prefork: periodic ping from spamd parent
Wed Oct 11 17:48:14 2006 dbg: prefork: sysread(8) not ready, wait max 300 secs
Wed Oct 11 17:50:44 2006 dbg: prefork: periodic ping from spamd parent
Wed Oct 11 17:50:44 2006 dbg: prefork: sysread(7) not ready, wait max 300 secs
Wed Oct 11 17:50:44 2006 dbg: prefork: periodic ping from spamd parent
Wed Oct 11 17:50:44 2006 dbg: prefork: sysread(8) not ready, wait max 300 secs
Wed Oct 11 17:53:16 2006 dbg: prefork: periodic ping from spamd parent
Wed Oct 11 17:53:16 2006 dbg: prefork: sysread(8) not ready, wait max 300 secs
Wed Oct 11 17:53:16 2006 dbg: prefork: periodic ping from spamd parent
Wed Oct 11 17:53:16 2006 dbg: prefork: sysread(7) not ready, wait max 300 secs

請問要如何解決呢?
《解決方案》

自己UP一下
《解決方案》

看一下你的/etc/init.d/spamassassin
中有一行是不是和我的一樣呢?

SPAMDOPTIONS="-d -c -m5 -H -x -u vpopmail"
《解決方案》

原帖由 vyouzhi 於 2006-10-12 10:04 發表
看一下你的/etc/init.d/spamassassin
中有一行是不是和我的一樣呢?

SPAMDOPTIONS="-d -c -m5 -H -x -u vpopmail"

我的是這樣的
SPAMDOPTIONS="-d -D -c -m5 -H -s /var/log/spamd.log


我使用的郵件系統是james  不是qmail
《解決方案》

你明白spamd的參數嗎?
你的那個大D是debug的意思
為什麼沒有u這個參數呢?
u的參數是說進程是屬於哪個用戶的
《解決方案》

原帖由 vyouzhi 於 2006-10-12 11:38 發表
你明白spamd的參數嗎?
你的那個大D是debug的意思
為什麼沒有u這個參數呢?
u的參數是說進程是屬於哪個用戶的

我想加入D是想在log日誌過程中查看每個步驟的執行過程,現在看到的每個步驟基本都和正常的差不多,但是最後還是出現一下結果

Thu Oct 12 12:53:10 2006 dbg: prefork: sysread(8) not ready, wait max 300 secs
Thu Oct 12 12:53:10 2006 dbg: prefork: sysread(7) not ready, wait max 300 secs
Thu Oct 12 12:55:42 2006 dbg: prefork: periodic ping from spamd parent
Thu Oct 12 12:55:42 2006 dbg: prefork: sysread(7) not ready, wait max 300 secs
Thu Oct 12 12:55:42 2006 dbg: prefork: periodic ping from spamd parent
Thu Oct 12 12:55:42 2006 dbg: prefork: sysread(8) not ready, wait max 300 secs
Thu Oct 12 12:58:14 2006 dbg: prefork: periodic ping from spamd parent
Thu Oct 12 12:58:14 2006 dbg: prefork: periodic ping from spamd parent
Thu Oct 12 12:58:14 2006 dbg: prefork: sysread(8) not ready, wait max 300 secs
Thu Oct 12 12:58:14 2006 dbg: prefork: sysread(7) not ready, wait max 300 secs
Thu Oct 12 13:00:46 2006 dbg: prefork: periodic ping from spamd parent
Thu Oct 12 13:00:46 2006 dbg: prefork: periodic ping from spamd parent
Thu Oct 12 13:00:46 2006 dbg: prefork: sysread(8) not ready, wait max 300 secs
Thu Oct 12 13:00:46 2006 dbg: prefork: sysread(7) not ready, wait max 300 secs

添加了-u 的參數還是出現這個問題,我把local.cf這個文件的配置打給你看一下  看是否正確
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
# Only a small subset of options are listed below
#
###########################################################################
#   Set the threshold at which a message is considered spam (default: 5.0)
#
required_score 5.0

#   Save spam messages as a message/rfc822 MIME attachment instead of
#   modifying the original message (0: off, 2: use text/plain instead)
#
report_safe 0


#   Set which networks or hosts are considered 'trusted' by your mail
#   server (i.e. not spammers)
#
# trusted_networks 212.17.35.


#   Set file-locking method (flock is not safe over NFS, but is faster)
#
# lock_method flock


#   Add *****SPAM***** to the Subject header of spam e-mails
#
rewrite_header Subject *****SPAM*****


#   Use Bayesian classifier (default: 1)
#
use_bayes 1
bayes_file_mode 0666


#   Bayesian classifier auto-learning (default: 1)
#
bayes_auto_learn 0


#   Set headers which may provide inappropriate cues to the Bayesian
#   classifier
#
bayes_ignore_header X-Bogosity
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Status




我的spamassassin 是3.1.0
《解決方案》

spamassassin -e 又能檢測出這個郵件是垃圾郵件,而且也能評分

# spamassassin -e < FW_\ 理\ 財\ 通\ !.eml  
Received: from localhost by hola.test.com
        with SpamAssassin (version 3.1.0);
        Thu, 12 Oct 2006 16:00:07 +0800
From: test1@domain.com
To: test<test@hola.domain.com>
Subject: *****SPAM***** =?UTF-8?Q?FW:_=E7=90=86_=E8=B4=A2_=E9=80=9A_=EF=BC=81?=
Date: Tue, 10 Oct 2006 13:01:20 +0000 (GMT)
Message-Id: <0A8EFFB6-1495-61E3-1820-CA60C7F0EC78@corazio.hola.domain.com>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on hola.test.com
X-Spam-Level: *****
X-Spam-Status: Yes, score=5.7 required=5.0 tests=HTML_FONT_FACE_BAD,
        HTML_MESSAGE,MIME_HTML_ONLY,MISSING_MIMEOLE,NO_REAL_NAME,NO_RECEIVED,
        NO_RELAYS,PRIORITY_NO_NAME,SUBJ_ALL_CAPS autolearn=no version=3.1.0
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_452DF607.3954557F"

This is a multi-part message in MIME format.

------------=_452DF607.3954557F
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Spam detection software, running on the system "hola.test.com", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  From: dfgf@00.com Sent: Tuesday,
  October 10, 2006 9:31 AM To: hola.shuai@gmail.com Subject: 鐞?璐?閫?
                                                                           錛?鑷磋吹鍏徃錛堝巶錛夎儲鍔?緇忕悊錛?鎮ㄥソ錛?
                                                                                                                                 鏈叕鍙稿疄鍔涢泟鍘氾紝涓庡叏鍥藉悇鍦頒紬澶氬叕鍙告湁涓氬姟寰
《解決方案》

那就沒試過了

[火星人 ] 關於spamassassin的問題已經有579次圍觀

http://coctec.com/docs/service/show-post-45146.html