顯示文章

這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。


文章 - francisyap

頁: [1] 2 3 ... 7
1
Linux 討論版 / 停止FETCHMAIL-DAEMON回覆給SPAM
« 於: 2007-03-26 00:56 »
大家好

我設定了fetchmail ..我的domain所有user都fetch回來

結果很多SPAM...fetchmai找不到local的account就使用FETCHMAIL-DAEMON回覆但email有些是假的這樣造成很大的流量, 請問如何停止FETCHMAIL-DAEMON回覆給錯誤的信件..我googling不到答案

謝謝

代碼: [選擇]
l2PGUOKb011668     1314 Mon Mar 26 00:30 <FETCHMAIL-DAEMON@abc.com
                                         <frorimkusesjs@pp-bus.dk>
l2PGPLKb011660     1378 Mon Mar 26 00:25 <FETCHMAIL-DAEMON@abc.com
                                         <nellyrhum@jleh.com>
l2PGPMKb011663     1375 Mon Mar 26 00:25 <FETCHMAIL-DAEMON@abc.com
                                         <rochellecoorbyeku@fgbnet.net>

2
網頁技術 / big5轉換成utf8
« 於: 2006-10-27 22:58 »
謝謝學長們

我會try了再回報

3
網頁技術 / big5轉換成utf8
« 於: 2006-10-27 17:39 »
大家好! 我做了大概30頁的網頁是big5的編碼, 現在要轉成utf編碼, 請問有甚麼工具可以不用逐一開檔更換!

謝謝!

4
Linux 討論版 / procmailrc 問題請教
« 於: 2006-08-20 16:23 »
如果換成外面的email就行了,甚至加上subject的判斷也ok..

假如我的mail的domain是abc.com.my,我try了這兩種方式都有發生你所說的無限loop問題,我的要轉寄的就是本地的mail user, 請問怎樣解決此問題呢?

引用

:0
* ^From.*gmail.com
* ^Subject:.*Digi*
! francis


引用

:0
* ^From.*gmail.com
* ^Subject:.*Digi*
! francis@abc.com.my

5
Linux 討論版 / procmailrc 問題請教
« 於: 2006-08-20 01:33 »
謝謝..我這兒可以看到一些debug log

但rule還是沒有成功..可以看到比對兩次.第二次從root發給我..我也不清楚, 請指教

我現在的Rule

引用

LOGFILE=/var/log/procmail/`date +%Y%m%d`
VERBOSE=yes
UMASK=000

:0
* ^From.khew_sweelian@yahoo.com
/dev/null
 
 
:0
* ^From.*gmail.com
! francis


log

引用

procmail: No match on "^From.khew_sweelian@yahoo.com"
procmail: Match on "^From.*gmail.com"
procmail: Executing "/usr/sbin/sendmail,-oi,francis"
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi francis"
procmail: Notified comsat: "francis@:/usr/sbin/sendmail -oi francis"
From root@abc.com.my  Sun Aug 20 01:22:10 2006
 Subject: Digi
  Folder: /usr/sbin/sendmail -oi francis                                  26387
procmail: [9043] Sun Aug 20 01:22:11 2006
procmail: Assigning "UMASK=000"
procmail: No match on "^From.khew_sweelian@yahoo.com"
procmail: Match on "^From.*gmail.com"
procmail: Executing "/usr/sbin/sendmail,-oi,francis"
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi francis"
procmail: Notified comsat: "francis@:/usr/sbin/sendmail -oi francis"
From root@abc.com.my  Sun Aug 20 01:22:10 2006
 Subject: Digi
  Folder: /usr/sbin/sendmail -oi francis                                  26726
procmail: [9049] Sun Aug 20 01:22:11 2006
procmail: Assigning "UMASK=000"
procmail: No match on "^From.khew_sweelian@yahoo.com"
procmail: No match on "^From.*gmail.com"
procmail: Assigning "PATH=/root/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin"
procmail: Locking "/var/mail/root.lock"
procmail: Assigning "LASTFOLDER=/var/mail/root"
procmail: Opening "/var/mail/root"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/mail/root.lock"
procmail: Notified comsat: "root@69294415:/var/mail/root"
From MAILER-DAEMON@abc.com.my  Sun Aug 20 01:22:11 2006
 Subject: Returned mail: see transcript for details
  Folder: /var/mail/root                                                  28725

6
Linux 討論版 / procmailrc 問題請教
« 於: 2006-08-20 00:58 »
了解..我做更改還是不行

現在我使用減少了subject的判斷還是不能夠成功..

引用

:0
* ^From.*@gmail.com
! francis


請棒幫忙

7
Linux 討論版 / procmailrc 問題請教
« 於: 2006-08-19 20:30 »
大家好, 小弟嘗試做一個procmailrc的Rule

任何從gmail發信的郵件以及subject是包含"abc"就另外轉寄一份給本地的Mail User francis以及francly.

我找網路上沒有實際我這個案例, 我就參考別人的做一個
引用

:H
* From:.*\@gmail.com
* Subject: .*Digi*
! francis, francly

但是失敗

請問我這個語法有問題嗎?

8
了解 成功了移除了
非常感謝學長

還有我是不是從另一台正常RH9抄那些Command就行了?

9
[root@a bin]# lsattr -a netstat ps
------------- netstat
------------- ps

我檢查過了, 然後都移除了

10
大家好
我電腦中了rootkit,
想盡辦法要刪除或移動但失敗, 請教各位了
系統是RH9 目錄是/bin
代碼: [選擇]

[root@a bin]# lsattr -a netstat ps
------------- netstat
------------- ps
[root@a bin]# ls -als netstat ps
  32 -rwxrwxrwx   1 root     root        30640 Dec 14  2001 netstat
  32 -rwxr-xr-x   1 root     root        32756 Dec 14  2001 ps
[root@a bin]# mv netstat ps /root
mv: overwrite `/root/netstat'? y
mv: cannot move `netstat' to `/root/netstat': Permission denied
mv: overwrite `/root/ps'? y
mv: cannot move `ps' to `/root/ps': Permission denied
[root@a bin]#
[root@a bin]# rm -rf netstat ps
rm: cannot remove `netstat': Permission denied
rm: cannot remove `ps': Permission denied

11
大家好

小弟在sendmail上做一些測試但不能夠成功

問題

我的Domain為abc.com

所有從qwerty.com寄來的Email給john@abc.com, 只有他一個人收到但我要設定每次john@abc.com收到的同時其他人例如may@abc.com以及rachel@abc.com也能收到一份

我研究了aliases以及virtualusertable好像都做不到

請問那位大大可以分享一些經驗

12
Linux 討論版 / Fetchmail與Sendmail使用問題
« 於: 2005-05-29 23:20 »
各位學長
我在做了Fetchmail與Sendmail+MailScanner+ClamaV
OS是FC3.
比如:
test.com原本是在一間公司使用的Mail
Email使用者
a@test.com
b@test.com
c@test.com
d@test.com

c@test.com , d@test.com到其他國家開分公司
分公司的Mail Server設定fetchmail, fetch兩人的email.
其實一切都很順利

但當c@test.com , d@test.com要寄信給
a@test.com , b@test.com但Server把他當成本地Server處理.
我知道這個是sendmail的local-host-names把他當成本地的Domain處理. 我拿掉了只使用virtusertable也是一樣.

有甚麼辦法把這樣些同樣Domain的的Email在分公司先檢查本地使用者如果找不到這個使用者就route出去internet檢查DNS的MX然後send到總公司的Mail Server.

希望大家知道我要講的是甚麼
我做了很久的測試就是還沒有結果

13
Linux 討論版 / FC3的Kernel Source的套件找不到
« 於: 2005-04-24 20:37 »
對不起
這次太不小心了
太謝謝你了

14
Linux 討論版 / FC3的Kernel Source的套件找不到
« 於: 2005-04-24 19:47 »
大家好
我的系統為FC3,套件全部安裝
我要安裝Dazuko
需要重新編譯Kernel
cd /usr/src/linux-`uname -r`
找不到相關目錄
我try尋找kernel-source的套件
在rpm-find.net那兒找到了FC2的
請問FC3的Kernel-Source到那兒可以找到呢?

15
Computer 討論版 / [問題]多重顯示技術技術
« 於: 2005-02-05 01:14 »
小弟有些問題想請教前輩們
如何從電腦的顯示卡輸出到三個顯示器做水平顯示呢?
水平顯示我怕我解釋的不對
打個比喻 比如要顯示一個瓶子到顯示器
瓶頭顯示在顯示器1
瓶身顯示在顯示器2
瓶尾顯示在顯示器3
我做過了research
我本身使用過Nvidia的Nview以及ATI的Dual View
顯示卡本是支援一個一個DVI一個Analog的輸出
我使用一個CRT一個LCD就做到了...但怎麼做只有兩個顯示器而已
關於第三個顯示器
除了Matrox的專用顯示卡可以做(這個顯示卡售價超貴的)
還有SLI可以做到但硬體不普遍
我正在尋找一個廉價的方案..不懂那位前輩有做過 請指教...

16
謝謝您的分享
這文章對我很有用啊
我剛安裝好FC3+MailScanner+Clamav+Spamassassin+mailscanner-mrtg+MailWatch+Openwebmail+Quota
我的MailWatch就是-e掉舊的到rpmfind.net找個RH9的perl-DBD-MySQL-2.1021-3.i386.rpm然後安裝上去也ok..沒有問題
我現在卡在Spamassassin的sa-learn那兒雖然顯示已經Learn了
但spam的Email還是可以進來..不懂那兒做錯了
希望前輩指教 指教
我的spamassassin debug資訊
引用

debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x93c1d4c)
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x93937ec) implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x9399414) implements 'parse_config'
config: SpamAssassin failed to parse line, skipping: auto_learn 1
config: SpamAssassin failed to parse line, skipping: always_add_headers 0
config: SpamAssassin failed to parse line, skipping: dcc_add_header 1
config: SpamAssassin failed to parse line, skipping: use_terse_report 1
config: SpamAssassin failed to parse line, skipping: spam_level_stars 1

debug: bayes: 19916 tie-ing to DB file R/O /var/spool/MailScanner/spamassassin/bayes_toks
debug: bayes: 19916 tie-ing to DB file R/O /var/spool/MailScanner/spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: bayes: Not available for scanning, only 6 spam(s) in Bayes DB < 200
debug: bayes: 19916 untie-ing
debug: bayes: 19916 untie-ing db_toks
debug: bayes: 19916 untie-ing db_seen
debug: Score set 1 chosen.
debug: ---- MIME PARSER START ----
debug: main message type: text/plain
debug: parsing normal part
debug: added part, type: text/plain
debug: ---- MIME PARSER END ----
debug: bayes: 19916 tie-ing to DB file R/O /var/spool/MailScanner/spamassassin/bayes_toks
debug: bayes: 19916 tie-ing to DB file R/O /var/spool/MailScanner/spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: bayes: Not available for scanning, only 6 spam(s) in Bayes DB < 200
debug: bayes: 19916 untie-ing
debug: bayes: 19916 untie-ing db_toks
debug: bayes: 19916 untie-ing db_seen
debug: metadata: X-Spam-Relays-Trusted:
debug: metadata: X-Spam-Relays-Untrusted:
debug: decoding: no encoding detected
debug: Loading languages file...
debug: metadata: X-Languages:
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x93937ec) implements 'parsed_metadata'
debug: dns_available set to yes in config file, skipping test
debug: URIDNSBL: domains to query:
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x93937ec) implements 'check_post_dnsbl'
debug: is spam? score=0 required=5
debug: tests=
debug: subtests=
lint: 5 issues detected.  please rerun with debug enabled for more information.

就是bold那兒..我的spam.assasin.prefs.conf的設定
我把razor,pyzor,dcc,bayes都安裝好了
就是不懂如何解決bold的問題..我想也是造成sa-learn失敗的問題

感謝前輩們的指導

17
看了dandy的教學 http://phorum.study-area.org/viewtopic.php?t=28635&highlight=

我照著在RHEL3.0做沒問題
現在我要轉到RH9.0做

套件rpm安裝也是參考dandy的教學
http://phorum.study-area.org/viewtopic.php?t=26544&highlight=

我的RH9的Postfix本來是1.x版本
我要使用2.x版本到網路上找到了postfix-2.1.4-2.3.rh9.at.i386.rpm這個版本

我安裝了..然後設定spamassassin以及clamav參數測試結果也滿意
然後重開機後

引用

Jan 10 00:55:48 yap last message repeated 12 times
Jan 10 00:56:53 yap last message repeated 13 times
Jan 10 00:57:58 yap last message repeated 13 times
Jan 10 00:59:03 yap last message repeated 13 times
Jan 10 01:00:08 yap last message repeated 13 times
Jan 10 01:00:58 yap last message repeated 10 times
Jan 10 01:01:01 yap update.virus.scanners: Delaying cron job up to 600 seconds
Jan 10 01:01:03 yap MailScanner[1914]: Messages found but no hashed queue directories. Please enable hashed queues for incoming and deferred with a depth of 1 or 2. See the Postfix documentation for hash_queue_names and hash_queue_depth
Jan 10 01:01:38 yap last message repeated 7 times
Jan 10 01:02:43 yap last message repeated 13 times
Jan 10 01:03:44 yap last message repeated 12 times
Jan 10 01:04:49 yap last message repeated 13 times
Jan 10 01:05:54 yap last message repeated 13 times
Jan 10 01:06:59 yap last message repeated 13 times
Jan 10 01:08:04 yap last message repeated 13 times
Jan 10 01:08:44 yap last message repeated 8 times
Jan 10 01:08:49 yap update.virus.scanners: Found clamav installed
Jan 10 01:08:49 yap update.virus.scanners: Running autoupdate for clamav
Jan 10 01:08:49 yap ClamAV-autoupdate[2091]: ClamAV updater /usr/local/bin/freshclam cannot be run
Jan 10 01:08:49 yap update.virus.scanners: Found generic installed
Jan 10 01:08:49 yap update.virus.scanners: Running autoupdate for generic
Jan 10 01:08:49 yap MailScanner[1914]: Messages found but no hashed queue directories. Please enable hashed queues for incoming and deferred with a depth of 1 or 2. See the Postfix documentation for hash_queue_names and hash_queue_depth
Jan 10 01:09:24 yap last message repeated 7 times
Jan 10 01:10:29 yap last message repeated 13 times
Jan 10 01:11:30 yap last message repeated 12 times
Jan 10 01:12:35 yap last message repeated 13 times
Jan 10 01:13:40 yap last message repeated 13 times

就一直出現錯誤
我在postfix加了
引用

#MailScanner
hash_queue_depth = 1
hash_queue_names = incoming,active,deferred,bounce,defer,flush,hold

hash_queue_depth 有換成1 或 2 或 3 結果都不成功
還有postfix reload出現
引用

postfix/postfix-script: refreshing the Postfix mail system
postsuper: warning: bogus file name: hold/razor-agent.log

郵件收發就能夠正常運作...
請問各位學長..我的問題要如何解決呢?

18
Linux 討論版 / [問題]Spamassassin 出了問題
« 於: 2005-01-02 03:01 »
謝謝dandy大哥的指點
我已經照著你的方法做了
MailScanner是已經啟動SpamAssassin了
但sa-learn還是沒有辦法動起來
這是相關我Mail的Header訊息
引用

From francly@gmail.com  Sat Jan  1 10:27:50 2005
Return-Path: <francly@gmail.com>
X-Original-To: francis@yap.sytes.net
Delivered-To: francis@yap.sytes.net
Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.205])
    by mail.yap.sytes.net (Postfix) with ESMTP id 5D76815B87
    for <francis@yap.sytes.net>; Sat,  1 Jan 2005 10:27:29 +0800 (MYT)
Received: by rproxy.gmail.com with SMTP id r35so337871rna
       for <francis@yap.sytes.net>; Sat, 01 Jan 2005 05:24:21 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
       s=beta; d=gmail.com;
       h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding;
       b=orFbGCOzMRNZ8l24CfD5XAhfzfduFYXcLh43OCZrRysc5eyozDw3qjqm4/3uKfDEOKJbFa+KJ33WYciKPPQbpWnUbdouuoW71lXnWE7Ly8VC+BSUfl/g/eKHCdyUmC1AJ+1sLvHXsVciT1ss/8HZcSyYNjmcZFHYLedY9aYOhEw=
Received: by 10.38.74.73 with SMTP id w73mr314199rna;
       Sat, 01 Jan 2005 05:24:21 -0800 (PST)
Received: by 10.38.161.47 with HTTP; Sat, 1 Jan 2005 05:24:21 -0800 (PST)
Message-ID: <44ff99c8050101052434492b68@mail.gmail.com>
Date: Sat, 1 Jan 2005 21:24:21 +0800
From: Francis Yap <francly@gmail.com>
Reply-To: Francis Yap <francly@gmail.com>
To: francis@yap.sytes.net
Subject: Testing
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-yap.sytes.net-MailScanner-Information: Please contact the ISP for more information
X-yap.sytes.net-MailScanner: Found to be clean
X-yap.sytes.net-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.032,
    required 6, AWL 0.01, RCVD_BY_IP 0.02)
X-MailScanner-From: francly@gmail.com
Status: R

   Simple headers
 
Testing


但我發現我的Header好像和你的顯示出來有下列的不一樣
引用

X-host-MailScanner-SpamScore: 3
X-MailScanner-From: sender@host
Status:
[/b]

我已經反覆檢查我的設定是否正確
我有那兒有做漏東西呢?
謝謝dandy指導

19
Linux 討論版 / [問題]Spamassassin 出了問題
« 於: 2004-12-28 22:02 »
我重新安裝系統再仔細按照教學來做
引用

Dec 28 01:59:52 yap postfix/smtpd[6813]: connect from rproxy.gmail.com[64.233.170.196]
Dec 28 01:59:52 yap postfix/smtpd[6813]: C5E2F15BA3: client=rproxy.gmail.com[64.233.170.196]
Dec 28 01:59:55 yap postfix/cleanup[6815]: C5E2F15BA3: hold: header Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.196])??by yap.yap.sytes.net (Postfix) with ESMTP id C5E2F15BA3??for <francis@yap.sytes.net>; Tue, 28 Dec 2004 01:59:52 +0800 (MYT) from rproxy.gmail.com[64.233.170.196]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 01:59:55 yap postfix/cleanup[6815]: C5E2F15BA3: hold: header Received: by rproxy.gmail.com with SMTP id c16so273385rne?        for <francis@yap.sytes.net>; Mon, 27 Dec 2004 20:56:41 -0800 (PST) from rproxy.gmail.com[64.233.170.196]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 01:59:55 yap postfix/cleanup[6815]: C5E2F15BA3: hold: header Received: by 10.38.72.41 with SMTP id u41mr17856rna;?        Mon, 27 Dec 2004 20:56:41 -0800 (PST) from rproxy.gmail.com[64.233.170.196]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 01:59:55 yap postfix/cleanup[6815]: C5E2F15BA3: hold: header Received: by 10.38.161.47 with HTTP; Mon, 27 Dec 2004 20:56:41 -0800 (PST) from rproxy.gmail.com[64.233.170.196]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 01:59:55 yap postfix/cleanup[6815]: C5E2F15BA3: message-id=<44ff99c804122720567e9a20cb@mail.gmail.com>
Dec 28 01:59:55 yap postfix/smtpd[6813]: disconnect from rproxy.gmail.com[64.233.170.196]
Dec 28 01:59:56 yap MailScanner[5407]: New Batch: Scanning 1 messages, 1537 bytes
Dec 28 01:59:57 yap MailScanner[5407]: MCP Checks completed at 1537 bytes per second
Dec 28 01:59:57 yap MailScanner[5407]: Spam Checks: Starting
Dec 28 02:00:07 yap MailScanner[5407]: Spam Checks completed at 153 bytes per second
Dec 28 02:00:10 yap MailScanner[5407]: Virus and Content Scanning: Starting
Dec 28 02:00:10 yap MailScanner[5407]: Virus Scanning completed at 512 bytes per second
Dec 28 02:00:10 yap MailScanner[5407]: Requeue: C5E2F15BA3 to 6F66515BB8
Dec 28 02:00:10 yap MailScanner[5407]: Uninfected: Delivered 1 messages
Dec 28 02:00:10 yap MailScanner[5407]: Virus Processing completed at 1537 bytes per second
Dec 28 02:00:10 yap MailScanner[5407]: Disinfection completed at 1537 bytes per second
Dec 28 02:00:10 yap MailScanner[5407]: Batch completed at 109 bytes per second (1537 / 14)
Dec 28 02:00:10 yap postfix/nqmgr[6583]: 6F66515BB8: from=<francly@gmail.com>, size=1373, nrcpt=1 (queue active)
Dec 28 02:00:10 yap postfix/local[6826]: 6F66515BB8: to=<francis@yap.sytes.net>, relay=local, delay=18, status=sent (mailbox)

這是一個收信的流程..我使用MailScanner來啟動Postfix,Sophos,Spamassassin
相當順利...Virus,Mcp,Spam都有檢查

引用

Dec 28 01:58:54 yap postfix/smtpd[6813]: connect from localhost.localdomain[127.0.0.1]
Dec 28 01:58:54 yap postfix/smtpd[6813]: A77E415BA3: client=localhost.localdomain[127.0.0.1]
Dec 28 01:58:55 yap postfix/cleanup[6815]: A77E415BA3: hold: header Received: from yap.sytes.net (localhost.localdomain [127.0.0.1])??by yap.yap.sytes.net (Postfix) with ESMTP id A77E415BA3??for <spam@yap.sytes.net>; Tue, 28 Dec 2004 01:58:54 +0800 (MYT) from localhost.localdomain[127.0.0.1]; from=<francis@yap.sytes.net> to=<spam@yap.sytes.net> proto=ESMTP helo=<yap.sytes.net>
Dec 28 01:58:55 yap postfix/cleanup[6815]: A77E415BA3: message-id=<20041227175846.M4147@yap.sytes.net>
Dec 28 01:58:55 yap postfix/smtpd[6813]: disconnect from localhost.localdomain[127.0.0.1]
Dec 28 01:58:55 yap MailScanner[5397]: New Batch: Scanning 1 messages, 1228 bytes
Dec 28 01:58:56 yap MailScanner[5397]: MCP Checks completed at 1228 bytes per second
Dec 28 01:58:56 yap MailScanner[5397]: Spam Checks: Starting
Dec 28 01:59:09 yap MailScanner[5397]: Spam Checks completed at 94 bytes per second
Dec 28 01:59:12 yap MailScanner[5397]: Virus and Content Scanning: Starting
Dec 28 01:59:13 yap MailScanner[5397]: Virus Scanning completed at 307 bytes per second
Dec 28 01:59:13 yap MailScanner[5397]: Requeue: A77E415BA3 to CB1D615BB8
Dec 28 01:59:13 yap MailScanner[5397]: Uninfected: Delivered 1 messages
Dec 28 01:59:13 yap MailScanner[5397]: Virus Processing completed at 1228 bytes per second
Dec 28 01:59:13 yap MailScanner[5397]: Disinfection completed at 1228 bytes per second
Dec 28 01:59:13 yap MailScanner[5397]: Batch completed at 68 bytes per second (1228 / 18)
Dec 28 01:59:13 yap postfix/nqmgr[6583]: CB1D615BB8: from=<francis@yap.sytes.net>, size=1069, nrcpt=1 (queue active)
Dec 28 01:59:13 yap postfix/local[6826]: CB1D615BB8: to=<spam@yap.sytes.net>, relay=local, delay=19, status=sent (mailbox)

我把mail forward到spam@我的domain的流程

引用

debug: tokenize: header tokens for X-yoursite-MailScanner-Information = " Please contact the ISP for more information"
debug: tokenize: header tokens for X-yoursite-MailScanner = " Found to be clean"
debug: tokenize: header tokens for X-yoursite-MailScanner-MCPCheck = " MCP, MCP-Checker (MCP timed out)"
debug: tokenize: header tokens for X-MailScanner-From = " francis@yap.sytes.net"
debug: tokenize: header tokens for *RT = " [ ip=127.0.0.1 rdns=localhost.localdomain helo=yap.sytes.net by=yap.yap.sytes.net ident= envfrom= intl=0 id=6E89E15B65 ]"
debug: tokenize: header tokens for *RU = " "
debug: tokenize: header tokens for *r = "   yap.sytes.net (localhost.localdomain [127.0.0 ip*127.0.0.1 ]) by yap.yap.sytes.net (Postfix)   <spam@yap.sytes.net>; "
debug: bayes: Learned '2b9a0537c2f7920d47243d62fa6c3bc4f143d063@sa_generated', atime: 1104201537
.debug: Learning Spam
debug: received-header: parsed as [ ip=127.0.0.1 rdns=localhost.localdomain helo=yap.sytes.net by=yap.yap.sytes.net ident= envfrom= intl=0 id=89E4115B65 ]
debug: received-header: 'from' 127.0.0.1 has reserved IP
debug: received-header: cannot use DNS, do not trust any hosts from here on
debug: received-header: relay 127.0.0.1 trusted? yes internal? no
debug: metadata: X-Spam-Relays-Trusted: [ ip=127.0.0.1 rdns=localhost.localdomain helo=yap.sytes.net by=yap.yap.sytes.net ident= envfrom= intl=0 id=89E4115B65 ]
debug: metadata: X-Spam-Relays-Untrusted:
debug: ---- MIME PARSER START ----
debug: main message type: text/plain
debug: parsing normal part
debug: added part, type: text/plain
debug: ---- MIME PARSER END ----
debug: decoding: no encoding detected
debug: Message too short for language analysis
debug: refresh: 3838 refresh /var/spool/MailScanner/spamassassin/bayes.lock
debug: tokenize: header tokens for *p = "U*francis D*yap.sytes.net D*sytes.net D*net"
debug: tokenize: header tokens for *F = "U*francis D*yap.sytes.net D*sytes.net D*net"
debug: tokenize: header tokens for To = "U*spam D*yap.sytes.net D*sytes.net D*net"
debug: tokenize: header tokens for *R = "U*francly D*gmail.com D*com"
debug: tokenize: header tokens for *m = "  20041228023946 M55614 yap sytes net "
debug: tokenize: header tokens for *x = " Open WebMail 2.41 20041223"
debug: tokenize: header tokens for X-OriginatingIP = " 219.94.125.205 (francis)"
debug: tokenize: header tokens for MIME-Version = " "
debug: tokenize: header tokens for *c = " /plain; charset=iso-8859-1"
debug: tokenize: header tokens for X-yoursite-MailScanner-Information = " Please contact the ISP for more information"
debug: tokenize: header tokens for X-yoursite-MailScanner = " Found to be clean"
debug: tokenize: header tokens for X-MailScanner-From = " francis@yap.sytes.net"
debug: tokenize: header tokens for *RT = " [ ip=127.0.0.1 rdns=localhost.localdomain helo=yap.sytes.net by=yap.yap.sytes.net ident= envfrom= intl=0 id=89E4115B65 ]"
debug: tokenize: header tokens for *RU = " "
debug: tokenize: header tokens for *r = "   yap.sytes.net (localhost.localdomain [127.0.0 ip*127.0.0.1 ]) by yap.yap.sytes.net (Postfix)   <spam@yap.sytes.net>; "
debug: bayes: Learned '89cb485a57e9a1b2cf6411beeb00c2edf3d8794c@sa_generated', atime: 1104201591
.
Learned from 3 message(s) (3 message(s) examined).
debug: bayes: 3838 untie-ing
debug: bayes: 3838 untie-ing db_toks
debug: bayes: 3838 untie-ing db_seen
debug: bayes: files locked, now unlocking lock
debug: unlock: 3838 unlink /var/spool/MailScanner/spamassassin/bayes.lock

然後我使用指令來學習spam的郵件 sa-learn -D --showdots --spam --mbox /var/mail/spam 好像都沒有甚麼錯誤
之後我馬上從學習spam的帳戶再寄一封mail結果


引用

Dec 28 10:43:06 yap postfix/smtpd[3841]: connect from rproxy.gmail.com[64.233.170.197]
Dec 28 10:43:07 yap postfix/smtpd[3841]: 0224115B88: client=rproxy.gmail.com[64.233.170.197]
Dec 28 10:43:10 yap postfix/cleanup[3842]: 0224115B88: hold: header Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.197])??by yap.yap.sytes.net (Postfix) with ESMTP id 0224115B88??for <francis@yap.sytes.net>; Tue, 28 Dec 2004 10:43:06 +0800 (MYT) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 10:43:10 yap postfix/cleanup[3842]: 0224115B88: hold: header Received: by rproxy.gmail.com with SMTP id c16so304038rne?        for <francis@yap.sytes.net>; Tue, 28 Dec 2004 05:39:54 -0800 (PST) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 10:43:10 yap postfix/cleanup[3842]: 0224115B88: hold: header Received: by 10.38.207.38 with SMTP id e38mr129305rng;?        Tue, 28 Dec 2004 05:39:54 -0800 (PST) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 10:43:10 yap postfix/cleanup[3842]: 0224115B88: hold: header Received: by 10.38.161.47 with HTTP; Tue, 28 Dec 2004 05:39:54 -0800 (PST) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 10:43:10 yap postfix/cleanup[3842]: 0224115B88: message-id=<44ff99c804122805397dc2286b@mail.gmail.com>
Dec 28 10:43:10 yap postfix/smtpd[3841]: disconnect from rproxy.gmail.com[64.233.170.197]
Dec 28 10:43:11 yap MailScanner[2394]: New Batch: Scanning 1 messages, 1538 bytes
Dec 28 10:43:12 yap MailScanner[2394]: MCP Checks completed at 1538 bytes per second
Dec 28 10:43:12 yap MailScanner[2394]: Spam Checks: Starting
Dec 28 10:43:17 yap MailScanner[2394]: Spam Checks completed at 307 bytes per second
Dec 28 10:43:19 yap MailScanner[2394]: Virus and Content Scanning: Starting
Dec 28 10:43:19 yap MailScanner[2394]: Virus Scanning completed at 769 bytes per second
Dec 28 10:43:19 yap MailScanner[2394]: Requeue: 0224115B88 to 33DCC15BB2
Dec 28 10:43:19 yap MailScanner[2394]: Uninfected: Delivered 1 messages
Dec 28 10:43:19 yap MailScanner[2394]: Virus Processing completed at 1538 bytes per second
Dec 28 10:43:19 yap MailScanner[2394]: Disinfection completed at 1538 bytes per second
Dec 28 10:43:19 yap MailScanner[2394]: Batch completed at 192 bytes per second (1538 / 8)
Dec 28 10:43:19 yap postfix/nqmgr[3698]: 33DCC15BB2: from=<francly@gmail.com>, size=1374, nrcpt=1 (queue active)
Dec 28 10:43:19 yap postfix/local[3849]: 33DCC15BB2: to=<francis@yap.sytes.net>, relay=local, delay=12, status=sent (mailbox)

還是把mail都收下來了
我的spam.assassin.prefs內容


我想再嘗試procmail來
引用

envelope_sender_header X-MailScanner-From
auto_whitelist_path        /var/spool/spamassassin/auto-whitelist
auto_whitelist_file_mode   0600
whitelist_from          monty@roscom.com
ok_locales      zh      en
ok_languages    zh       en
 skip_rbl_checks 1
dcc_path /usr/local/bin/dccproc
rbl_timeout 20
razor_timeout 10
pyzor_timeout 10
bayes_ignore_header X-MailScanner
bayes_ignore_header X-MailScanner-SpamCheck
bayes_ignore_header X-MailScanner-SpamScore
bayes_ignore_header X-MailScanner-Information
use_bayes 1
lock_method flock
required_hits 5
rewrite_subject 1
subject_tag [SPAM]
report_safe 0

use_bayes 1
bayes_path /var/spool/MailScanner/spamassassin/bayes
auto_learn 1
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1
always_add_headers 0
dcc_add_header 0
report_safe 0
use_terse_report 0
spam_level_stars 1
dns_available yes
ok_languages zh en
ok_locales zh en
whitelist_from *@Newsletters.Microsoft.com

# From addr like <some chinese>@mydomain
header __FROM_8BIT_LOCAL From:addr =~ /[a-zA-Z0-9_-]*[\x80xff][a-zA-Z0-9_-]*\@yap\.sytes\.net/i
header __TO_8BIT_LOCAL To:addr =~ /[a-zA-Z0-9_-]*[\x80-\xff][a-zA-Z0-9_-]*\@yap\.sytes\.net/i
header __CC_8BIT_LOCAL Cc:addr =~ /[a-zA-Z0-9_-]*[\x80-\xff][a-zA-Z0-9_-]*\@yap\.sytes\.net/i
meta LOCAL_8BIT_USER (__FROM_8BIT_LOCAL || __TO_8BIT_LOCAL || __CC_8BIT_LOCAL)
describe LOCAL_8BIT_USER From or To a chinese@mydomain
score LOCAL_8BIT_USER 3.0


我再嘗試使用procmail來call 常駐系統的spamassassin來掃描
引用

Dec 28 10:50:24 yap postfix/smtpd[3951]: connect from rproxy.gmail.com[64.233.170.197]
Dec 28 10:50:24 yap postfix/smtpd[3951]: DCC0F15B8A: client=rproxy.gmail.com[64.233.170.197]
Dec 28 10:50:26 yap postfix/cleanup[3953]: DCC0F15B8A: hold: header Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.197])??by yap.yap.sytes.net (Postfix) with ESMTP id DCC0F15B8A??for <francis@yap.sytes.net>; Tue, 28 Dec 2004 10:50:24 +0800 (MYT) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 10:50:26 yap postfix/cleanup[3953]: DCC0F15B8A: hold: header Received: by rproxy.gmail.com with SMTP id c16so304627rne?        for <francis@yap.sytes.net>; Tue, 28 Dec 2004 05:47:13 -0800 (PST) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 10:50:26 yap postfix/cleanup[3953]: DCC0F15B8A: hold: header Received: by 10.38.4.61 with SMTP id 61mr131207rnd;?        Tue, 28 Dec 2004 05:47:13 -0800 (PST) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 10:50:26 yap postfix/cleanup[3953]: DCC0F15B8A: hold: header Received: by 10.38.161.47 with HTTP; Tue, 28 Dec 2004 05:47:13 -0800 (PST) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@yap.sytes.net> proto=ESMTP helo=<rproxy.gmail.com>
Dec 28 10:50:26 yap postfix/cleanup[3953]: DCC0F15B8A: message-id=<44ff99c8041228054739d26887@mail.gmail.com>
Dec 28 10:50:26 yap postfix/smtpd[3951]: disconnect from rproxy.gmail.com[64.233.170.197]
Dec 28 10:50:27 yap MailScanner[2185]: New Batch: Scanning 1 messages, 1537 bytes
Dec 28 10:50:32 yap MailScanner[2185]: MCP Checks completed at 307 bytes per second
Dec 28 10:50:32 yap MailScanner[2185]: Spam Checks: Starting
Dec 28 10:50:43 yap MailScanner[2185]: Spam Checks completed at 139 bytes per second
Dec 28 10:50:45 yap MailScanner[2185]: Virus and Content Scanning: Starting
Dec 28 10:50:45 yap MailScanner[2185]: Virus Scanning completed at 768 bytes per second
Dec 28 10:50:45 yap MailScanner[2185]: Requeue: DCC0F15B8A to D0A1715BB2
Dec 28 10:50:45 yap MailScanner[2185]: Uninfected: Delivered 1 messages
Dec 28 10:50:45 yap MailScanner[2185]: Virus Processing completed at 1537 bytes per second
Dec 28 10:50:45 yap MailScanner[2185]: Disinfection completed at 1537 bytes per second
Dec 28 10:50:46 yap MailScanner[2185]: Batch completed at 85 bytes per second (1537 / 18)
Dec 28 10:50:45 yap postfix/nqmgr[3947]: D0A1715BB2: from=<francly@gmail.com>, size=1373, nrcpt=1 (queue active)
Dec 28 10:50:46 yap spamd[4055]: connection from localhost.localdomain [127.0.0.1] at port 32818
Dec 28 10:50:46 yap spamd[4055]: info: setuid to francis succeeded
Dec 28 10:50:47 yap spamd[4055]: processing message <44ff99c8041228054739d26887@mail.gmail.com> for francis:500.
Dec 28 10:50:53 yap spamd[4055]: clean message (0.0/5.0) for francis:500 in 7.0 seconds, 1502 bytes.
Dec 28 10:50:53 yap spamd[4055]: result: .  0 - RCVD_BY_IP scantime=7.0,size=1502,mid=<44ff99c8041228054739d26887@mail.gmail.com>,autolearn=failed
Dec 28 10:50:53 yap postfix/local[3961]: D0A1715BB2: to=<francis@yap.sytes.net>, relay=local, delay=29, status=sent ("|/usr/bin/procmail")

為甚麼autolearn都會fail呢?...使用sa-learn一下..還是沒有擋下來啊
我的local.cf

引用
required_hits 5
rewrite_subject 1
subject_tag [SPAM]
report_safe 0

use_bayes 1
bayes_path /var/spool/MailScanner/spamassassin/bayes
auto_learn 1
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1
always_add_headers 0
dcc_add_header 0
report_safe 0
use_terse_report 0
spam_level_stars 1
dns_available yes

ok_languages zh en
ok_locales zh en

whitelist_from *@Newsletters.Microsoft.com

# From addr like <some chinese>@mydomain
header __FROM_8BIT_LOCAL From:addr =~ /[a-zA-Z0-9_-]*[\x80xff][a-zA-Z0-9_-]*\@yap\.sytes\.net/i
header __TO_8BIT_LOCAL To:addr =~ /[a-zA-Z0-9_-]*[\x80-\xff][a-zA-Z0-9_-]*\@yap\.sytes\.net/i
header __CC_8BIT_LOCAL Cc:addr =~ /[a-zA-Z0-9_-]*[\x80-\xff][a-zA-Z0-9_-]*\@yap\.sytes\.net/i
meta LOCAL_8BIT_USER (__FROM_8BIT_LOCAL || __TO_8BIT_LOCAL || __CC_8BIT_LOCAL)
describe LOCAL_8BIT_USER From or To a chinese@mydomain
score LOCAL_8BIT_USER 3.0

快要給spamassassin搞瘋了
請前輩們幫我看看那兒有錯...

20
Linux 討論版 / [問題]Openwebmail的Quota有問題
« 於: 2004-12-28 21:20 »
Quota的問題解決了
必須把Quota放在/home然後使用ln過去/var
這樣就生效了

21
Linux 討論版 / [問題]Openwebmail的Quota有問題
« 於: 2004-12-27 21:04 »
各位學長..
我百思不得其解啊
我找過了很多網頁都沒有結果

22
Linux 討論版 / [問題]Openwebmail的Quota有問題
« 於: 2004-12-24 10:25 »
我有嘗試安裝Red Hat Enterprise ES 3..
Openwebmail還是顯示0Byte...但Quota的確有生效
麻煩請前輩們指點..指點

23
Linux 討論版 / [問題]Openwebmail的Quota有問題
« 於: 2004-12-22 12:21 »
引用

[root@mail mail]# quota -uvs francis
Disk quotas for user francis (uid 502):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
      /dev/hda7      16     100     100               3       0       0
[root@mail mail]# du -h francis
8.0K    francis
[root@mail mail]# tail /var/www/cgi-bin/openwebmail/etc/openwebmail.conf
#quota_threshold         0
#delmail_ifquotahit      no
#delfile_ifquotahit      n
quota_module            quota_unixfs.pl
spool_limit             100
quota_limit             50
quota_threshold         0
delmail_ifquotahit      no
delfile_ifquotahit      no

我的OpenWeb Quota的設定...
試過了..如果Quota滿了就真的登入不到..Quota是生效的
但是進入Openwebmail..內的顯示
引用

 Quota usage: 0Byte  2 unread / 3 messages / 4KB  

依然是0Byte...我測試過很多設定都還是一樣...0 Byte..
請各位學長幫忙了

24
Linux 討論版 / [問題]Spamassassin 出了問題
« 於: 2004-12-17 12:56 »
懇請熟悉SpamAssassin的學長指導

25
Linux 討論版 / [問題]Spamassassin 出了問題
« 於: 2004-12-14 11:03 »
我修改了一些設定
但當有mail流入我的MailScanner就是不能把spamassassin啟動
我只好try procmailrc

引用

Dec 14 10:55:54 mail spamd[16955]: connection from localhost.localdomain [127.0.0.1] at port 32957
Dec 14 10:55:54 mail spamd[16955]: info: setuid to francis succeeded
Dec 14 10:55:54 mail spamd[16955]: processing message <44ff99c80412131856550f7e04@mail.gmail.com> for francis:502.
Dec 14 10:55:57 mail spamd[16955]: clean message (0.9/5.0) for francis:502 in 3.1 seconds, 1575 bytes.
Dec 14 10:55:57 mail spamd[16955]: result: .  0 - AWL,RCVD_BY_IP scantime=3.1,size=1575,mid=<44ff99c80412131856550f7e04@mail.gmail.com>,autolearn=failed

本來很多的錯誤訊息..到現在...只有這一些..訊息說明autolearn=failed了
不懂那兒出錯了
...

我的local.cf
引用

###########################################################################
# SpamAssassin user preferences file.  See 'man Mail::SpamAssassin::Conf' for
# details of what can be tweaked.
#*
#* Note: this file is not read by SpamAssassin until copied into the user
#* directory. At runtime, if a user has no preferences in their home directory
#* already, it will be copied for them, allowing them to perform personalised
#* customisation.  If you want to make changes to the site-wide defaults,
#* create a file in /etc/spamassassin or /etc/mail/spamassassin instead.
###########################################################################

#required_hits          7
rewrite_subject 1
use_bayes               1
bayes_path              /var/spool/MailScanner/spamassassin/bayes
auto_learn              1
skip_rbl_checks         0
use_razor2              1
use_dcc                 1
use_pyzor               1
always_add_headers      0
dcc_add_header          0
report_safe             0
use_terse_report        0
spam_level_stars        1
dns_available           yes

ok_languages    en zh
ok_locales      en zh

whitelist_from  *@Newsletters.Microsoft.com
whitelist_from  *@ms1.104.com.tw

score           CASHCASHCASH            3.0
score           CLICK_BELOW             1.5
score           FORGED_MUA_OUTLOOK      3.6
score           HTML_40_50              0.8
score           HTML_90_100             0
score           INVALID_DATE            1.4
score           MIME_LONG_LINE_QP       1.0
score           MISSING_MIMEOLE         1.9
score           NONEXISTENT_CHARSET     3.5
score           NORMAL_HTTP_TO_IP       1.2
score           NO_REAL_NAME            1.2
score           OPT_IN                  1.2
score           RCVD_IN_RFCI            0.9
score           UPPERCASE_25_50         0
score           UPPERCASE_50_75         0
score           UPPERCASE_75_100        0
score           FWD_MSG                 -2.0
score           RCVD_FAKE_HELO_DOTCOM_2 2.0
score           FROM_WEBMAIL_ENDS_IN_NUMS6      1.0

score           DCC_CHECK               4.000
score           RAZOR2_CHECK            2.500
score           BAYES_99                4.300
score           BAYES_90                3.500
score           BAYES_80                3.000

score           HEADER_8BITS            0
score           HTML_COMMENT_8BITS      0
score           SUBJ_FULL_OF_8BITS      0
score           HEAD_ILLEGAL_CHARS      0
score           SUBJ_ILLEGAL_CHARS      0

# From addr like <some chinese>@myitzone.com
header __FROM_8BIT_LOCAL From:addr =~ /[a-zA-Z0-9_-]*[\x80xff][a-zA-Z0-9_-]*\@myitzone\.com/i
header __TO_8BIT_LOCAL To:addr =~ /[a-zA-Z0-9_-]*[\x80-\xff][a-zA-Z0-9_-]*\@myitzone\.com/i
header __CC_8BIT_LOCAL Cc:addr =~ /[a-zA-Z0-9_-]*[\x80-\xff][a-zA-Z0-9_-]*\@myitzone\.com/i
meta LOCAL_8BIT_USER (__FROM_8BIT_LOCAL || __TO_8BIT_LOCAL || __CC_8BIT_LOCAL)
describe LOCAL_8BIT_USER From or To a chinese@mydomain
score LOCAL_8BIT_USER 3.0


請高手幫我看看甚麼問題..
謝謝

26
Linux 討論版 / [問題]Spamassassin 出了問題
« 於: 2004-12-13 18:49 »
大家好我根據dandy的教學
http://phorum.study-area.org/viewtopic.php?t=26544&highlight=
Postfix+MailScanner+Sophos+Spamassassin+Procmail+MailScanner-MRTG+openwebmail+snmp RH90&RHEL30安裝筆

大部分都完成了
現在只卡到spamassassin那兒
我的spam email是要啟用autolearn的功能
結果把相關要檔的信件寄到spam帳號
然後執行spam-learn但相關信件還是可以進來
我查看log發現
這一段有問題
引用
Dec 13 18:26:18 mail spamd[3867]: Bareword found where operator expected at /etc/mail/spamassassin/local.cf, rule __CC_8BIT_LOCAL, line 10, near "usr"_  (Might be a runaway multi-line // string starting on line 1)
Dec 13 18:26:18 mail spamd[3867]: _(Missing operator before usr?)
Dec 13 18:26:18 mail spamd[3867]: Misplaced _ in number at /etc/mail/spamassassin/local.cf, rule __CC_8BIT_LOCAL, line 10, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Bareword found where operator expected at /etc/mail/spamassassin/local.cf, rule __CC_8BIT_LOCAL, line 10, near "20_head_tests"
Dec 13 18:26:19 mail spamd[3867]: _(Missing operator before head_tests?)
Dec 13 18:26:19 mail spamd[3867]: Failed to run header SpamAssassin tests, skipping some: syntax error at /etc/mail/spamassassin/local.cf, rule __CC_8BIT_LOCAL, line 11, near "_["
引用


以下是完整的log由一封信進來到結束

引用
Dec 13 18:26:00 mail postfix/smtpd[4121]: 3EBB2124043: client=rproxy.gmail.com[64.233.170.197]
Dec 13 18:26:00 mail postfix/cleanup[4124]: 3EBB2124043: hold: header Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.197])??by mail.myitsun.com (Postfix) with ESMTP id 3EBB2124043??for <francis@mail.myitsun.com>; Mon, 13 Dec 2004 18:25:59 +0800 (MYT) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@mail.myitsun.com> proto=ESMTP helo=<rproxy.gmail.com>
Dec 13 18:26:00 mail postfix/cleanup[4124]: 3EBB2124043: hold: header Received: by rproxy.gmail.com with SMTP id r35so1096327rna?        for <francis@mail.myitsun.com>; Mon, 13 Dec 2004 02:26:15 -0800 (PST) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@mail.myitsun.com> proto=ESMTP helo=<rproxy.gmail.com>
Dec 13 18:26:00 mail postfix/cleanup[4124]: 3EBB2124043: hold: header Received: by 10.38.9.50 with SMTP id 50mr904919rni;?        Mon, 13 Dec 2004 02:26:15 -0800 (PST) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@mail.myitsun.com> proto=ESMTP helo=<rproxy.gmail.com>
Dec 13 18:26:00 mail postfix/cleanup[4124]: 3EBB2124043: hold: header Received: by 10.38.161.79 with HTTP; Mon, 13 Dec 2004 02:26:14 -0800 (PST) from rproxy.gmail.com[64.233.170.197]; from=<francly@gmail.com> to=<francis@mail.myitsun.com> proto=ESMTP helo=<rproxy.gmail.com>
Dec 13 18:26:00 mail postfix/cleanup[4124]: 3EBB2124043: message-id=<44ff99c804121302262b06097@mail.gmail.com>
Dec 13 18:26:01 mail postfix/smtpd[4121]: disconnect from rproxy.gmail.com[64.233.170.197]
Dec 13 18:26:01 mail MailScanner[4025]: New Batch: Scanning 1 messages, 1562 bytes
Dec 13 18:26:05 mail MailScanner[4025]: Virus and Content Scanning: Starting
Dec 13 18:26:05 mail MailScanner[4025]: Requeue: 3EBB2124043 to A5337124052
Dec 13 18:26:05 mail postfix/qmgr[3996]: A5337124052: from=<francly@gmail.com>, size=1447, nrcpt=1 (queue active)
Dec 13 18:26:05 mail MailScanner[4025]: Uninfected: Delivered 1 messages
Dec 13 18:26:06 mail spamd[3867]: connection from localhost.localdomain [127.0.0.1] at port 32854
Dec 13 18:26:06 mail spamd[3867]: info: setuid to francis succeeded
Dec 13 18:26:08 mail spamd[3867]: processing message <44ff99c804121302262b06097@mail.gmail.com> for francis:502.
Dec 13 18:26:18 mail spamd[3867]: Subroutine RATWARE_HASH_2_V2_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule RATWARE_HASH_2_V2, line 5, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine NIGERIAN_SUBJECT1_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule NIGERIAN_SUBJECT1, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUBJ_YOUR_OWN_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule SUBJ_YOUR_OWN, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUB_HELLO_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule SUB_HELLO, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __IMS_HTML_RCVD_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __IMS_HTML_RCVD, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine RATWARE_MOZ_MALFORMED_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule RATWARE_MOZ_MALFORMED, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine HELO_DYNAMIC_OOL_head_test redefined at /usr/share/spamassassin/20_fake_helo_tests.cf, rule HELO_DYNAMIC_OOL, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine UNRESOLVED_TEMPLATE_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule UNRESOLVED_TEMPLATE, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine MSGID_YAHOO_CAPS_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule MSGID_YAHOO_CAPS, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine RATWARE_GECKO_BUILD_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule RATWARE_GECKO_BUILD, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __IMS_HTML_BUILDS_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __IMS_HTML_BUILDS, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine FROM_WEBMAIL_END_NUMS6_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule FROM_WEBMAIL_END_NUMS6, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine FORGED_TELESP_RCVD_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule FORGED_TELESP_RCVD, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __HAS_MSGID_head_test redefined at /usr/share/spamassassin/20_meta_tests.cf, rule __HAS_MSGID, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __0_TZ_1_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __0_TZ_1, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine X_PRIORITY_HIGH_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule X_PRIORITY_HIGH, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine MSGID_NO_HOST_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule MSGID_NO_HOST, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __MSGID_APPLEMAIL_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __MSGID_APPLEMAIL, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUB_FREE_OFFER_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule SUB_FREE_OFFER, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine MIME_BOUND_DIGITS_15_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule MIME_BOUND_DIGITS_15, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine X_LIBRARY_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule X_LIBRARY, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine FROM_HAS_MIXED_NUMS_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule FROM_HAS_MIXED_NUMS, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __HAS_MIMEOLE_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __HAS_MIMEOLE, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __CTYPE_HTML_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __CTYPE_HTML, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __ANY_AOL_MUA_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __ANY_AOL_MUA, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUBJ_YOUR_DEBT_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule SUBJ_YOUR_DEBT, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __USER_AGENT_MSN_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __USER_AGENT_MSN, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __MSGID_OK_DIGITS_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __MSGID_OK_DIGITS, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __CT_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __CT, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __CTE_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __CTE, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __0_TZ_7_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __0_TZ_7, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine HELO_DYNAMIC_VTR_head_test redefined at /usr/share/spamassassin/20_fake_helo_tests.cf, rule HELO_DYNAMIC_VTR, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine FAKED_UNDISC_RECIPS_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule FAKED_UNDISC_RECIPS, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine MSGID_FROM_MTA_HOTMAIL_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule MSGID_FROM_MTA_HOTMAIL, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine HELO_DYNAMIC_VELOX_head_test redefined at /usr/share/spamassassin/20_fake_helo_tests.cf, rule HELO_DYNAMIC_VELOX, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __0_TZ_6_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __0_TZ_6, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __SANE_MSGID_head_test redefined at /usr/share/spamassassin/20_meta_tests.cf, rule __SANE_MSGID, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __OE_MUA_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __OE_MUA, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __HAS_X_PRIORITY_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __HAS_X_PRIORITY, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __X_MAILER_APPLEMAIL_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __X_MAILER_APPLEMAIL, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __MANY_EXCLS_head_test redefined at /usr/share/spamassassin/20_meta_tests.cf, rule __MANY_EXCLS, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine RATWARE_RCVD_LC_ESMTP_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule RATWARE_RCVD_LC_ESMTP, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __DOUBLE_IP_SPAM_1_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __DOUBLE_IP_SPAM_1, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine MIME_BOUND_MANY_HEX_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule MIME_BOUND_MANY_HEX, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine FROM_NO_USER_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule FROM_NO_USER, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine HELO_DYNAMIC_DIALIN_head_test redefined at /usr/share/spamassassin/20_fake_helo_tests.cf, rule HELO_DYNAMIC_DIALIN, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUBJECT_DRUG_GAP_VIC_head_test redefined at /usr/share/spamassassin/20_drugs.cf, rule SUBJECT_DRUG_GAP_VIC, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine MIME_BOUND_RKFINDY_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule MIME_BOUND_RKFINDY, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __THEBAT_MUA_V1_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __THEBAT_MUA_V1, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine HELO_DYNAMIC_DHCP_head_test redefined at /usr/share/spamassassin/20_fake_helo_tests.cf, rule HELO_DYNAMIC_DHCP, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __THEBAT_MUA_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __THEBAT_MUA, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine REPLY_TO_EMPTY_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule REPLY_TO_EMPTY, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine MIME_BOUND_DD_DIGITS_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule MIME_BOUND_DD_DIGITS, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __PC_RND_HEADER_head_test redefined at /usr/share/spamassassin/20_meta_tests.cf, rule __PC_RND_HEADER, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUBJECT_DRUG_GAP_VIA_head_test redefined at /usr/share/spamassassin/20_drugs.cf, rule SUBJECT_DRUG_GAP_VIA, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __MOZILLA_MSGID_head_test redefined at /usr/share/spamassassin/20_meta_tests.cf, rule __MOZILLA_MSGID, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine NO_REAL_NAME_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule NO_REAL_NAME, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUBJECT_DIET_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule SUBJECT_DIET, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUBJECT_DRUG_GAP_S_head_test redefined at /usr/share/spamassassin/20_drugs.cf, rule SUBJECT_DRUG_GAP_S, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __AOL_FROM_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __AOL_FROM, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __HAS_SQUIRRELMAIL_IN_MAILER_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __HAS_SQUIRRELMAIL_IN_MAILER, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine MSGID_SPAM_ZEROES_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule MSGID_SPAM_ZEROES, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __USER_AGENT_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __USER_AGENT, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine HDR_ORDER_MTSRIX_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule HDR_ORDER_MTSRIX, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine HELO_DYNAMIC_HEXIP_head_test redefined at /usr/share/spamassassin/20_fake_helo_tests.cf, rule HELO_DYNAMIC_HEXIP, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine RATWARE_RCVD_PF_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule RATWARE_RCVD_PF, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __HAS_X_MAILING_LIST_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __HAS_X_MAILING_LIST, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __CT_TEXT_PLAIN_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __CT_TEXT_PLAIN, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUBJECT_DRUG_GAP_VA_head_test redefined at /usr/share/spamassassin/20_drugs.cf, rule SUBJECT_DRUG_GAP_VA, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __MOZILLA_MUA_head_test redefined at /usr/share/spamassassin/20_meta_tests.cf, rule __MOZILLA_MUA, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUBJ_AS_SEEN_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule SUBJ_AS_SEEN, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUBJECT_DRUG_GAP_P_head_test redefined at /usr/share/spamassassin/20_drugs.cf, rule SUBJECT_DRUG_GAP_P, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __OE_MSGID_2_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __OE_MSGID_2, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __CTYPE_CHARSET_QUOTED_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __CTYPE_CHARSET_QUOTED, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine X_ORIG_IP_NOT_IPV4_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule X_ORIG_IP_NOT_IPV4, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __MSGID_BEFORE_RECEIVED_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __MSGID_BEFORE_RECEIVED, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __EUDORA_MSGID_head_test redefined at /usr/share/spamassassin/20_ratware.cf, rule __EUDORA_MSGID, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __CD_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __CD, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine __FROM_PHONE_head_test redefined at /usr/share/spamassassin/20_head_tests.cf, rule __FROM_PHONE, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine SUBJECT_DRUG_GAP_C_head_test redefined at /usr/share/spamassassin/20_drugs.cf, rule SUBJECT_DRUG_GAP_C, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Subroutine HELO_DYNAMIC_CHELLO_NO_head_test redefined at /usr/share/spamassassin/20_fake_helo_tests.cf, rule HELO_DYNAMIC_CHELLO_NO, line 6, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Bareword found where operator expected at /etc/mail/spamassassin/local.cf, rule __CC_8BIT_LOCAL, line 10, near "usr"_  (Might be a runaway multi-line // string starting on line 1)
Dec 13 18:26:18 mail spamd[3867]: _(Missing operator before usr?)
Dec 13 18:26:18 mail spamd[3867]: Misplaced _ in number at /etc/mail/spamassassin/local.cf, rule __CC_8BIT_LOCAL, line 10, <GEN3> line 36.
Dec 13 18:26:18 mail spamd[3867]: Bareword found where operator expected at /etc/mail/spamassassin/local.cf, rule __CC_8BIT_LOCAL, line 10, near "20_head_tests"
Dec 13 18:26:19 mail spamd[3867]: _(Missing operator before head_tests?)
Dec 13 18:26:19 mail spamd[3867]: Failed to run header SpamAssassin tests, skipping some: syntax error at /etc/mail/spamassassin/local.cf, rule __CC_8BIT_LOCAL, line 11, near "_["
Dec 13 18:26:25 mail spamd[3867]: clean message (2.2/5.0) for francis:502 in 19.2 seconds, 1583 bytes.
Dec 13 18:26:25 mail spamd[3867]: result: .  2 - AWL,MISSING_SUBJECT,TRACKER_ID scantime=19.2,size=1583,mid=<44ff99c804121302262b06097@mail.gmail.com>,autolearn=no
Dec 13 18:26:25 mail postfix/local[4135]: A5337124052: to=<francis@mail.myitsun.com>, relay=local, delay=26, status=sent (delivered to command: /usr/bin/procmail)
Dec 13 18:26:25 mail postfix/qmgr[3996]: A5337124052: removed


我的/etc/mail/spamassassin/local.cf
引用

[root@mail root]# less /etc/mail/spamassassin/local.cf
# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)

# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.

use_bayes 1
bayes_path /var/spool/MailScanner/spamassassin/bayes
auto_learn 1
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1
always_add_headers 0
dcc_add_header 0
report_safe 0
use_terse_report 0
spam_level_stars 1
dns_available yes

ok_languages zh en
ok_locales zh en

whitelist_from *@Newsletters.Microsoft.com

# From addr like <some chinese>@myitzone.com
header __FROM_8BIT_LOCAL From:addr =~ /[a-zA-Z0-9_-]*[\x80xff][a-zA-Z0-9_-]*\@myitzone\.com\/i
header __TO_8BIT_LOCAL To:addr =~ /[a-zA-Z0-9_-]*[\x80-\xff][a-zA-Z0-9_-]*\@myitzone\.com\/i
header __CC_8BIT_LOCAL Cc:addr =~ /[a-zA-Z0-9_-]*[\x80-\xff][a-zA-Z0-9_-]*\@myitzone\.com\/i
meta LOCAL_8BIT_USER (__FROM_8BIT_LOCAL || __TO_8BIT_LOCAL || __CC_8BIT_LOCAL)
describe LOCAL_8BIT_USER From or To a chinese@mydomain
score LOCAL_8BIT_USER 3.0


我的/etc/MailScanner/spam.assassin.prefs.conf以及/etc/MailScanner/MailScanner.conf的關於spam設定是安裝教學做的

我的procmailrc使用獨立的常駐程式spamc
:0fw
| /usr/bin/spamc -s 200000
把spamassassin開機就start了

要怎麼debug這個問題呢?謝謝學長們的幫忙

27
學長好!
我的Linux的df -h訊息如下
引用

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             1.5G  1.4G   51M  97% /
/dev/sda2              99M   26M   69M  27% /boot
none                  251M     0  251M   0% /dev/shm
/dev/sda6             6.1G  4.6G  1.2G  80% /usr

/那兒快撐爆了..這是一台跑Mail有MailScanner,Clamav,Spamassassin以及Webf服務httpd,mysqld,php
空間一直增長...請問有甚麼辦法檢查甚麼檔案佔最大空間
或者/那兒有甚麼檔案可以移掉的呢?
我安裝RH Linux9使用完整安裝方法
spool以及log那兒的size都還好....沒甚麼大問題
謝謝給予指導

28
我系統被安裝rootkit了
我該怎麼辦?
怎麼清除呢?

引用
[root@linux chkrootkit-0.44]# ./chkrootkit -q
Checking `ifconfig'... INFECTED
can't exec ./strings-static, Checking `login'... INFECTED
Checking `pstree'... INFECTED
/etc/ld.so.hash
Possible t0rn v8 \(or variation\) rootkit installed

/usr/lib/perl5/5.8.0/i386-linux-thread-multi/.packlist /usr/lib/perl5/site_perl/
5.8.0/i386-linux-thread-multi/auto/Text/Iconv/.packlist /usr/lib/openoffice/shar
e/gnome/net/.directory /usr/lib/openoffice/share/gnome/net/.order /usr/lib/openo
ffice/share/kde/net/applnk/OpenOffice.org/.directory /usr/lib/openoffice/share/k
de/net/applnk/OpenOffice.org/.order /usr/lib/qt-3.1/etc/settings/.qtrc.lock /usr
/lib/qt-3.1/etc/settings/.qt_plugins_3.1rc.lock

Warning: Possible Showtee Rootkit installed
 /usr/include/file.h /usr/include/proc.h
Warning: /sbin/init INFECTED
Possible ShKit rootkit installed
not tested: can't exec ./ifpromisc
not tested: can't exec ./chkwtmp
not tested: can't exec ./chklastlog

29
各位學長好....
最近客戶機器..不是很穩定而且關機會出現
引用
Broadcast message from root (pts/1) (Wed Sep  8 14:28:45 2004):    The system is going down for reboot NOW!  /dev/null  RK_Init: idt=0xc0356000, sct[]=0xc32c4000, 不雅文字: Can't find kmalloc()!

就這麼訊息找一找Google
發現有個仁兄的Blog http://www.iuiuiu.com/plog/post/2/41 有解決方法
我下載chkrootkit檢查看看...
請學長們看看...Bold的部分是infected
引用
[root@linux chkrootkit-0.44]# ./chkrootkit
ROOTDIR is `/'
Checking `amd'... not infected
Checking `basename'... not infected
Checking `biff'... not infected
Checking `chfn'... not infected
Checking `chsh'... not infected
Checking `cron'... not infected
Checking `date'... not infected
Checking `du'... not infected
Checking `dirname'... not infected
Checking `echo'... not infected
Checking `egrep'... not infected
Checking `env'... not infected
Checking `find'... not infected
Checking `fingerd'... not infected
Checking `gpm'... not infected
Checking `grep'... not infected
Checking `hdparm'... not infected
Checking `su'... not infected
Checking `ifconfig'... INFECTED
Checking `inetd'... not tested
Checking `inetdconf'... not found
Checking `identd'... not infected
Checking `init'... not infected
Checking `killall'... not infected
Checking `ldsopreload'... can't exec ./strings-static, not tested
Checking `login'... INFECTED
Checking `ls'... not infected
Checking `lsof'... not infected
Checking `mail'... not infected
Checking `mingetty'... not infected
Checking `netstat'... not infected
Checking `named'... not infected
Checking `passwd'... not infected
Checking `pidof'... not infected
Checking `pop2'... not found
Checking `pop3'... not found
Checking `ps'... not infected
Checking `pstree'... INFECTED
Checking `rpcinfo'... not infected
Checking `rlogind'... not infected
Checking `rshd'... not infected
Checking `slogin'... not infected
Checking `sendmail'... not infected
Checking `sshd'... not infected
Checking `syslogd'... not infected
Checking `tar'... not infected
Checking `tcpd'... not infected
Checking `tcpdump'... not infected
Checking `top'... not infected
Checking `telnetd'... not infected
Checking `timed'... not found
Checking `traceroute'... not infected
Checking `vdir'... not infected
Checking `w'... not infected
Checking `write'... not infected
Checking `aliens'... /etc/ld.so.hash
Searching for sniffer's logs, it may take a while... nothing found
Searching for HiDrootkit's default dir... nothing found
Searching for t0rn's default files and dirs... nothing found
Searching for t0rn's v8 defaults... Possible t0rn v8 \(or variation\) rootkit in
stalled
Searching for Lion Worm default files and dirs... nothing found
Searching for RSHA's default files and dir... nothing found
Searching for RH-Sharpe's default files... nothing found
Searching for Ambient's rootkit (ark) default files and dirs... nothing found
Searching for suspicious files and dirs, it may take a while...
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/.packlist /usr/lib/perl5/site_perl/
5.8.0/i386-linux-thread-multi/auto/Text/Iconv/.packlist /usr/lib/openoffice/shar
e/gnome/net/.directory /usr/lib/openoffice/share/gnome/net/.order /usr/lib/openo
ffice/share/kde/net/applnk/OpenOffice.org/.directory /usr/lib/openoffice/share/k
de/net/applnk/OpenOffice.org/.order /usr/lib/qt-3.1/etc/settings/.qtrc.lock /usr
/lib/qt-3.1/etc/settings/.qt_plugins_3.1rc.lock
Searching for LPD Worm files and dirs... nothing found
Searching for Ramen Worm files and dirs... nothing found
Searching for Maniac files and dirs... nothing found
Searching for RK17 files and dirs... nothing found
Searching for Ducoci rootkit... nothing found
Searching for Adore Worm... nothing found
Searching for ShitC Worm... nothing found
Searching for Omega Worm... nothing found
Searching for Sadmind/IIS Worm... nothing found
Searching for MonKit... nothing found
Searching for Showtee... Warning: Possible Showtee Rootkit installed
Searching for OpticKit... nothing found
Searching for T.R.K... nothing found
Searching for Mithra... nothing found
Searching for LOC rootkit... nothing found
Searching for Romanian rootkit...  /usr/include/file.h /usr/include/proc.h
Searching for HKRK rootkit... nothing found
Searching for Suckit rootkit... Warning: /sbin/init INFECTED
Searching for Volc rootkit... nothing found
Searching for Gold2 rootkit... nothing found
Searching for TC2 Worm default files and dirs... nothing found
Searching for Anonoying rootkit default files and dirs... nothing found
Searching for ZK rootkit default files and dirs... nothing found
Searching for ShKit rootkit default files and dirs... Possible ShKit rootkit ins
talled

Searching for AjaKit rootkit default files and dirs... nothing found
Searching for zaRwT rootkit default files and dirs... nothing found
Searching for Madalin rootkit default files... nothing found
Searching for anomalies in shell history files... nothing found
Checking `asp'... not infected
Checking `bindshell'... not infected
Checking `lkm'... Checking `rexedcs'... not found
Checking `sniffer'... not tested: can't exec ./ifpromisc
Checking `w55808'... not infected
Checking `wted'... not tested: can't exec ./chkwtmp
Checking `scalper'... not infected
Checking `slapper'... not infected
Checking `z2'... not tested: can't exec ./chklastlog

我發現我受感染的檔案和別人不一樣
我也有參考這一個網頁 http://www.soohrt.org/stuff/linux/suckit/index.html
但就沒有類似這個錯誤
引用
./sk.15252

測試結果如下....
引用
[root@linux proc]# for i in *; do test -f $i/cmdline && (cat $i/cmdline; echo $i); done
init1
10
/usr/sbin/httpd1001
crond1010
1028
1040
1041
1042
1043
1044
1045
1046
1047
/usr/bin/perl/usr/libexec/webmin/miniserv.pl/etc/webmin/miniserv.conf1053
login -- root1058
/sbin/mingettytty51060
/sbin/mingettytty61061
1065
1253
1398
1399
14
1417
1418
1422
180
181
182
183
-bash1845
/usr/bin/fetchmail-a-K-t60-d3001909
1994
2
/sbin/mingettytty22280
/sbin/mingettytty42282
/sbin/mingettytty12283
2300
2775
2776
3
/usr/sbin/xntps-q300
3046
/usr/sbin/sshd3565
-bash3567
3644
3653
4
4558
5
6
/usr/sbin/sshd6410
-bash6412
7
73
8
9
/usr/sbin/sshd907
xinetd-stayalive-reuse-pidfile/var/run/xinetd.pid921
gpm-tps/2-m/dev/mouse990
catself/cmdlineself

小弟Linux認識不是很深入
看看有遇過此問題的學校可以給予一些執導看看如何解決我的問題

30
謝謝damon學長
苦惱中...不懂怎麼設定安裝啊

頁: [1] 2 3 ... 7