SpamAssassin upgrade (最新版spamassassin 可執行檔版本, 版友經驗分享)
前往頁面 上一頁  1, 2, 3, 4  下一頁
 
發表新主題   回覆主題    尊龍佈告欄 首頁 -> 雷電MAILD (mail server)
上一篇文章 :: 下一篇文章  
發表人 內容
gramy
九段
九段


註冊時間: 2007-09-21
文章: 188

發表發表於: 星期五 五月 15, 2009 4:09 pm    文章標題: 引言回覆

ericgo 寫到:
1.請問Bayes判斷是什麼啊?
2.我開DOS視窗跑spamc,結果在test:後就已經沒看到bayes_xx的字眼了,還可以從何處做調整嗎?local.cf中有和bayes有關的參數嗎?


1.「貝式過濾法」很有名哦~~底下文章可以參考看看
http://www.backup.idv.tw/viewtopic.php?t=1832

2.bayes判斷預設要先學習各兩百封廣告信與正常信以上才會啟動,
 開啟local.cf檔,並尋找「bayes」的字,就可以看到相關的參數了,

===============
#使用貝式自動學習
bayes_auto_learn 1

#使用貝式過濾
use_bayes 1

# If the score is smaller that this, email will be automatically
# learned as nonspam. The threshold can be negative.
bayes_auto_learn_threshold_nonspam 0.05

# If the score is larger than this, email will be automatically
# learned as spam.
bayes_auto_learn_threshold_spam 11.0
回頂端
檢視會員個人資料 發送私人訊息
bbfish
一級


註冊時間: 2008-06-07
文章: 16

發表發表於: 星期三 六月 17, 2009 12:12 am    文章標題: 引言回覆

新消息...

根據相關人士指出,當初維護SpamAssassin的公司已被yahoo買走,因此不太可能會再更新SpamAssassin了。完整訊息如下:

RE: Is this project dead?
By: tigerharry (tigerharry) - 2009-05-13 10:53
Hi,
meanwhile I know this project will not be continued.
The company driving this project did this for supporting their spamproxy.
But the were bought by yahoo and definitely said they will not continue the proxy.
So this project will not be continued also.

Harry

不過他們重啟了一個project希望能延續SpamAssassin的發展,讓我們拭目以待好了...
http://sourceforge.net/projects/spamdforwindows/
回頂端
檢視會員個人資料 發送私人訊息
bbfish
一級


註冊時間: 2008-06-07
文章: 16

發表發表於: 星期三 一月 06, 2010 3:20 pm    文章標題: 引言回覆

大家新年快樂...有使用SpamAssassin的朋友們請注意了~

FH_DATE_PAST_20XX這個rule會對寄件日期是2010~2099之間的信件加最高3.6分. 設計者大概沒想到這個軟體能撐到2010年...

要修正這個bug, 請執行sa-update,或是在local.cf裡最後一行加上score FH_DATE_PAST_20XX 0的規則

詳見http://spamassassin.apache.org/
回頂端
檢視會員個人資料 發送私人訊息
gramy
九段
九段


註冊時間: 2007-09-21
文章: 188

發表發表於: 星期二 四月 13, 2010 2:44 pm    文章標題: 引言回覆

各位有使用Spamassassin的高手們,


目前小弟(應該是老弟~^^")
使用的是 SpamAssassin 3.2.3 (2007-08-0版本

近來小弟的SpamAssassin有個問題,

就是明明已列在"個人白名單"中的郵件地址,
卻仍判斷為廣告信,
經查spamassasin的log,
發現在檢查寄件者時,
部份寄件者的郵件地址會判斷錯誤造成誤判,


比如說
abc@123.com
有在白名單,
但在判斷檢查時,寄件者卻變成是
abc@123.com|abc@123.com||

(好像只有特定人員寄來的才會這樣,一般不會進廣告信匣的白名單人員的郵件就是不會)

不曉得大家是否有遇過這個問題呢?
能否有辦法解決,
若沒有的話,我就只好暫時停用此好用的郵件過濾機制了~@@"

感謝~

========================
這是正常的
2010/4/8 下午 05:47:15 #Start
2010/4/8 下午 05:47:15 Checking:
2010/4/8 下午 05:47:15 - Path: D:\RaidenMAILD\Inboxes\celinew\
2010/4/8 下午 05:47:15 - File: _20100408174712-208581923-2376.eml
2010/4/8 下午 05:47:15 - From: charlie.sl.wong@123.com
2010/4/8 下午 05:47:15 Addressbook doesn't exist: D:\RaidenMAILD\Inboxes\celinew\addressbook.txt
2010/4/8 下午 05:47:15 Opening WhiteList: D:\RaidenMAILD\Inboxes\celinew\whitelist.txt
2010/4/8 下午 05:47:15 Sender is in a Whitelist

====================
這是不正常的
2010/4/12 下午 05:55:26 #Start
2010/4/12 下午 05:55:26 Checking:
2010/4/12 下午 05:55:26 - Path: D:\RaidenMAILD\Inboxes\celinew\
2010/4/12 下午 05:55:26 - File: _20100412175524-554675080-2668.eml
2010/4/12 下午 05:55:26 - From: lilychau@12345.com.cn|lilychau@12345.com.cn||
2010/4/12 下午 05:55:26 Addressbook doesn't exist: D:\RaidenMAILD\Inboxes\celinew\addressbook.txt
2010/4/12 下午 05:55:26 Opening WhiteList: D:\RaidenMAILD\Inboxes\celinew\whitelist.txt
2010/4/12 下午 05:55:26 WhiteList doesn't exist: c:\mail\whitelist.txt
2010/4/12 下午 05:55:26 SpamAssassin
2010/4/12 下午 05:55:37 - Result: 1
2010/4/12 下午 05:55:37 Spam detected!
2010/4/12 下午 05:55:37 #End

2010/4/8 下午 04:54:35 #Start
2010/4/8 下午 04:54:35 Checking:
2010/4/8 下午 04:54:35 - Path: D:\RaidenMAILD\Inboxes\celinew\
2010/4/8 下午 04:54:35 - File: _20100408165433-205423533-2476.eml
2010/4/8 下午 04:54:35 - From: patrol@message.123456.com|patrol@message.123456.com||
2010/4/8 下午 04:54:35 Addressbook doesn't exist: D:\RaidenMAILD\Inboxes\celinew\addressbook.txt
2010/4/8 下午 04:54:35 Opening WhiteList: D:\RaidenMAILD\Inboxes\celinew\whitelist.txt
2010/4/8 下午 04:54:35 WhiteList doesn't exist: c:\mail\whitelist.txt
2010/4/8 下午 04:54:35 SpamAssassin
2010/4/8 下午 04:54:46 - Result: 1
2010/4/8 下午 04:54:46 Spam detected!
2010/4/8 下午 04:54:46 #End


gramy 在 星期三 四月 14, 2010 10:03 am 作了最後編輯, 共編輯過 2 次
回頂端
檢視會員個人資料 發送私人訊息
bbfish
一級


註冊時間: 2008-06-07
文章: 16

發表發表於: 星期二 四月 13, 2010 4:17 pm    文章標題: 引言回覆

我沒在用白名單功能耶.. 幫不上忙...

我比較大的問題是Spamassassin會漏掉一些信沒檢查到...XD
回頂端
檢視會員個人資料 發送私人訊息
Arnor
究極の素還尊
究極の素還尊


註冊時間: 2001-11-07
文章: 13017
來自: TAIWAN

發表發表於: 星期二 四月 13, 2010 11:12 pm    文章標題: 引言回覆

gramy 寫到:

比如說
abc@123.com
有在白名單,
但在判斷檢查時,寄件者卻變成是
abc@123.com|abc@123.com||

(好像只有特定人員寄來的才會這樣,一般不會進廣告信匣的白名單人員的郵件就是不會)

不曉得大家是否有遇過這個問題呢?
能否有辦法解決,
若沒有的話,我就只好暫時停用此好用的郵件過濾機制了~@@"

感謝~


若有該信的檔頭資料會更有助於了解你的這個案例
_________________
*若是想問問題的話, 請務必不要塗改任何 IP, 網域資料, 您若不願貼上IP或網域, 請改以電子郵件來詢問. 謝謝您的配合.*
*若是回報疑似軟體的運行或邏輯或資料處理有誤的問題, 小弟很樂意去了解您的情況, 但請務必以最新版來做回報, 如果以郵件詢問, 請參考 http://www.raidenmaild.com/tw/feedback.html 的說明, 最好標題加個 RaidenMAILD 字樣, 才不致會遺漏了您的信唷. 謝謝您的配合^^*
*在版上發文請遵守網路禮儀, 並請持著虛心敘述問題請教他人, 凡發現違反的文, 均一律刪除為優先, 不另行通知喔.
*與使用者教學相長腦力激盪是我輩成就感的來源, 誠心希望您能不吝指教.
*雷電MAILD 知識庫文件 http://www.raidenmaild.com/tw/kb/

素還尊
Team John Long.
Email: arnor@raidenmaild.com
公司網站 http://www.raidenmaild.com/company/
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
gramy
九段
九段


註冊時間: 2007-09-21
文章: 188

發表發表於: 星期三 四月 14, 2010 10:01 am    文章標題: 引言回覆

先感謝bbfish大與素大的快速回覆~^_^y

昨晚連不上討論區,今早才來看~~@@"

===============
to bbfish大,
spamassassin偶而漏檢查郵件的狀況我也有,
不過還可以接受,
(我不確定是否因同時間郵件太多(如寄群組郵箱,spamassassin一次要處理十幾封),系統loading太大時才會漏檢查?還是因為其它原因)

註:太久沒來看這個討論串了,bbfish大的提醒20xx年的郵件規則剛已加了,
  若我有及時改過,應該會更少郵件被誤判吧∼^^"
  再次感謝bbfish大唷∼


to 素大,
我也有查過郵件檔頭,
好像與其它郵件檔頭沒什麼特別怪異的地方,
檔頭如下:

謝謝∼
==============
誤判郵件檔頭一

X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-0 on maild
X-Spam-Level: *********
X-Spam-Status: Yes, score=9.1 required=6.5 tests=AWL,BAYES_95,BODY_009,
BODY_014,FH_DATE_PAST_20XX,RCVD_IN_FIVETEN_SPAM,RDNS_NONE shortcircuit=no
autolearn=no version=3.2.3
X-Spam-Report:
* 3.2 FH_DATE_PAST_20XX The date is grossly in the future.
* 1.0 BODY_014 BODY: Body contains "link"
* 0.3 BODY_009 BODY: Body contains "$"
* 3.0 BAYES_95 BODY: Bayesian spam probability is 95 to 99%
* [score: 0.9556]
* 1.2 RCVD_IN_FIVETEN_SPAM RBL: FIVE-TEN: sender's network is spam source
* [218.240.31.67 listed in blackholes.five-ten-sg.com]
* 0.0 RDNS_NONE Delivered to trusted network by a host with no rDNS
* 0.4 AWL AWL: From: address is in the auto white-list
Received: from mx100.chinaemail.cn ([174.139.253.234])
by mail.gemtw.com ([10.2.1.12]);
Mon, 12 Apr 2010 17:13:25 +0800
Received: from mx1.chinaemail.cn (unknown [218.240.31.67])
by mx100.chinaemail.cn (Postfix) with ESMTP id 1970745BCF1
for <celinew>; Mon, 12 Apr 2010 04:15:43 -0700 (PDT)
Received: from localhost (unknown [192.168.128.67])
by mx1.chinaemail.cn (Postfix) with ESMTP id 9B9BD299115
for <celinew>; Mon, 12 Apr 2010 17:13:05 +0800 (CST)
X-Virus-Scanned: amavisd-new at wyc.cn
Received: from mx1.chinaemail.cn ([192.168.128.67])
by localhost (mx1.amavisd.com [192.168.128.67]) (amavisd-new, port 10024)
with ESMTP id nZKeQRknYv+M for <celinew>;
Mon, 12 Apr 2010 17:13:05 +0800 (CST)
Received: from PC201003071704 (unknown [116.231.77.129])
(Authenticated sender: lilychau@12345.com.cn)
by mx1.chinaemail.cn (Postfix) with ESMTP id 3B604299113
for <celinew>; Mon, 12 Apr 2010 17:13:04 +0800 (CST)
From: <lilychau>
To: =?gb2312?B?J0NlbGluZc31u9vA8iAn?= <celinew>
Subject: **Spam-Flag:YES,Score=9.1** Yangzhou Chain-link of Address
Date: Mon, 12 Apr 2010 17:12:54 +0800
Message-ID: <UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAyMA6Qq9K1keusGHqCM6Wh8KAAAAQAAAAKqbF2liqakWiDOgWXa>
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_NextPart_000_02B4_01CADA63.645CC7E0"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Thread-Index: AcraIFXh0Uo8j9ppQvGn72Doc65+Bg==
X-MS-TNEF-Correlator: 00000000C8C03A42AF4AD647AEB061EA08CE968784E42800
Disposition-Notification-To: <lilychau>
X-Rate: Yes
real-from: lilychau@12345.com.cn
X-Rcpt: ,celinew@123.com,
X-Spam-Prev-Subject: Yangzhou Chain-link of Address
X-EsetId: A27E0C26C1863439F23F

======================
誤判郵件檔頭二

X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-0 on maild
X-Spam-Level: ***********
X-Spam-Status: Yes, score=11.1 required=6.5 tests=AWL,BAYES_99,BODY_009,
FH_DATE_PAST_20XX,HTML_IMAGE_ONLY_32,HTML_IMAGE_RATIO_06,HTML_MESSAGE,
HTML_OBFUSCATE_05_10,MIME_BASE64_TEXT,MIME_HTML_ONLY,RCVD_IN_DNSWL_LOW,
RCVD_IN_FIVETEN_SPAM,RDNS_NONE,TVD_SPACE_RATIO shortcircuit=no autolearn=spam
version=3.2.3
X-Spam-Report:
* 3.5 BAYES_99 BODY: Bayesian spam probability is 99 to 100%
* [score: 1.0000]
* 3.2 FH_DATE_PAST_20XX The date is grossly in the future.
* 1.2 RCVD_IN_FIVETEN_SPAM RBL: FIVE-TEN: sender's network is spam source
* [61.144.248.21 listed in blackholes.five-ten-sg.com]
* -1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low
* trust
* [61.144.248.21 listed in list.dnswl.org]
* 0.3 BODY_009 BODY: Body contains "$"
* 0.0 HTML_IMAGE_RATIO_06 BODY: HTML has a low ratio of text to image area
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 1.8 HTML_IMAGE_ONLY_32 BODY: HTML: images with 2800-3200 bytes of words
* 0.0 HTML_OBFUSCATE_05_10 BODY: Message is 5% to 10% HTML obfuscation
* 2.2 TVD_SPACE_RATIO BODY: TVD_SPACE_RATIO
* 1.5 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
* 1.8 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding
* 0.0 RDNS_NONE Delivered to trusted network by a host with no rDNS
* -3.3 AWL AWL: From: address is in the auto white-list
Received: from mail.message.1234.com ([61.144.248.21])
by mail.gemtw.com ([10.2.1.12]);
Thu, 8 Apr 2010 16:54:34 +0800
From: patrol@message.1234.com
Message-ID: <004B0110>
To: celinew@123.com
Date: Thu, 8 Apr 2010 16:09:24 +0800
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="__=_Part_Boundary_002_020668.016588"
Subject: **Spam-Flag:YES,Score=11.1** =?gb2312?B?1dDJzNL40NDN+MnPuPbIy9L40NDXqNK1sObNqNaq?=
X-Spam-Prev-Subject: =?gb2312?B?1dDJzNL40NDN+MnPuPbIy9L40NDXqNK1sObNqNaq?=
X-EsetId: A27E0C26C1863439F23F


gramy 在 星期三 四月 14, 2010 1:14 pm 作了最後編輯, 共編輯過 1 次
回頂端
檢視會員個人資料 發送私人訊息
Arnor
究極の素還尊
究極の素還尊


註冊時間: 2001-11-07
文章: 13017
來自: TAIWAN

發表發表於: 星期三 四月 14, 2010 10:23 am    文章標題: 引言回覆

這是誤判的信件, 所以你指得是
lilychau@xxxxx 和 patrol@message.cmbchina.com
celinew 這位使用者的白名單裡面?

你有試著開過它的 whitelist.txt 來搜尋看看嗎?
_________________
*若是想問問題的話, 請務必不要塗改任何 IP, 網域資料, 您若不願貼上IP或網域, 請改以電子郵件來詢問. 謝謝您的配合.*
*若是回報疑似軟體的運行或邏輯或資料處理有誤的問題, 小弟很樂意去了解您的情況, 但請務必以最新版來做回報, 如果以郵件詢問, 請參考 http://www.raidenmaild.com/tw/feedback.html 的說明, 最好標題加個 RaidenMAILD 字樣, 才不致會遺漏了您的信唷. 謝謝您的配合^^*
*在版上發文請遵守網路禮儀, 並請持著虛心敘述問題請教他人, 凡發現違反的文, 均一律刪除為優先, 不另行通知喔.
*與使用者教學相長腦力激盪是我輩成就感的來源, 誠心希望您能不吝指教.
*雷電MAILD 知識庫文件 http://www.raidenmaild.com/tw/kb/

素還尊
Team John Long.
Email: arnor@raidenmaild.com
公司網站 http://www.raidenmaild.com/company/
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
gramy
九段
九段


註冊時間: 2007-09-21
文章: 188

發表發表於: 星期三 四月 14, 2010 10:46 am    文章標題: 引言回覆

感謝素大快速回覆:

是的,我有在celinew的個人白名單中找過,
確定是有此兩人的郵件地址,
lilychau@12345.com.cn
patrol@message.1234.com
前郵箱是透過郵件代管主機發送的訊息
後郵箱是內地銀行郵件主機自動發送的訊息


但如同前述,
spamassassin.vbs在判斷的時候
比對到的郵件地址是怪怪的格式,
比如說原信寄件者是「abc@123.com」
(此寄件者確定是有列在在個人白名單中的)
log上面查找到的寄件者卻是「abc@123.com|abc@123.com|| 」
變成非正常格式的寄件者?
且使用者在使用廣告信列表時,
把該郵件加入個人白名單時,加入的郵件地址是「abc@123.com」
非加入異常的郵件地址「abc@123.com|abc@123.com|| 」

所以才來向大家請問是否也有其它大大有發生同樣的情況?

不過我今天查spamassassin的log發現,
這種狀況雖不多,但也不少就是了~@@"

有使用spamassassin的大大,
可查spamassassin的log中,
是否有「||」結尾組成的郵件地址的出現,

也許只是單一我的spamassassin出了問題~>"<
(註:我幫大陸友人安裝的雷電附掛spamassassin最近也是同樣有這個問題困擾)

再次感謝素大幫忙這非您雷電maild主程式的spamassassin問題~^^y
=========================
2010/4/13 下午 01:25:52 #Start
2010/4/13 下午 01:25:52 Checking:
2010/4/13 下午 01:25:52 - Path: D:\RaidenMAILD\Inboxes\gramy\
2010/4/13 下午 01:25:52 - File: _20100413132551-4029002-2488.eml
2010/4/13 下午 01:25:52 - From: roland50251523@333.com|roland50251523@333.com||
2010/4/13 下午 01:25:52 Opening Addressbook: D:\RaidenMAILD\Inboxes\gramy\addressbook.txt
2010/4/13 下午 01:25:52 Opening WhiteList: D:\RaidenMAILD\Inboxes\gramy\whitelist.txt
2010/4/13 下午 01:25:52 WhiteList doesn't exist: c:\mail\whitelist.txt
2010/4/13 下午 01:25:52 SpamAssassin
2010/4/13 下午 01:26:09 - Result: 1
2010/4/13 下午 01:26:09 Spam detected!
2010/4/13 下午 01:26:09 #End


2010/4/13 下午 01:25:01 #Start
2010/4/13 下午 01:25:01 Checking:
2010/4/13 下午 01:25:01 - Path: D:\RaidenMAILD\Inboxes\annabelt\
2010/4/13 下午 01:25:01 - File: _20100413132500-3977752-2488.eml
2010/4/13 下午 01:25:01 - From: xftoys@555.net|xftoys@555.net||
2010/4/13 下午 01:25:01 Opening Addressbook: D:\RaidenMAILD\Inboxes\annabelt\addressbook.txt
2010/4/13 下午 01:25:01 Opening WhiteList: D:\RaidenMAILD\Inboxes\annabelt\whitelist.txt
2010/4/13 下午 01:25:01 WhiteList doesn't exist: c:\mail\whitelist.txt
2010/4/13 下午 01:25:01 SpamAssassin
2010/4/13 下午 01:25:12 - Result: 1
2010/4/13 下午 01:25:12 Spam detected!
2010/4/13 下午 01:25:12 #End


2010/4/13 下午 05:10:25 #Start
2010/4/13 下午 05:10:25 Checking:
2010/4/13 下午 05:10:25 - Path: D:\RaidenMAILD\Inboxes\elliec\
2010/4/13 下午 05:10:25 - File: _20100413171023-17500908-2864.eml
2010/4/13 下午 05:10:25 - From: lilychau@123.cn|lilychau@123.cn||
2010/4/13 下午 05:10:25 Addressbook doesn't exist: D:\RaidenMAILD\Inboxes\elliec\addressbook.txt
2010/4/13 下午 05:10:25 Opening WhiteList: D:\RaidenMAILD\Inboxes\elliec\whitelist.txt
2010/4/13 下午 05:10:25 WhiteList doesn't exist: c:\mail\whitelist.txt
2010/4/13 下午 05:10:25 SpamAssassin
2010/4/13 下午 05:10:26 - Result: 0
2010/4/13 下午 05:10:26 No spam detected
2010/4/13 下午 05:10:26 #End


2010/4/13 下午 05:53:21 #Start
2010/4/13 下午 05:53:21 Checking:
2010/4/13 下午 05:53:21 - Path: D:\RaidenMAILD\Inboxes\daniely\
2010/4/13 下午 05:53:21 - File: _20100413175319-20076705-3028.eml
2010/4/13 下午 05:53:21 - From: postmaster@12345.com|postmaster@12345.com||
2010/4/13 下午 05:53:21 Opening Addressbook: D:\RaidenMAILD\Inboxes\daniely\addressbook.txt
2010/4/13 下午 05:53:21 Opening WhiteList: D:\RaidenMAILD\Inboxes\daniely\whitelist.txt
2010/4/13 下午 05:53:21 WhiteList doesn't exist: c:\mail\whitelist.txt
2010/4/13 下午 05:53:21 SpamAssassin
2010/4/13 下午 05:53:22 - Result: 0
2010/4/13 下午 05:53:22 No spam detected
2010/4/13 下午 05:53:22 #End


2010/4/13 下午 09:01:09 #Start
2010/4/13 下午 09:01:09 Checking:
2010/4/13 下午 09:01:09 - Path: D:\RaidenMAILD\Inboxes\elliec\
2010/4/13 下午 09:01:09 - File: _20100413210108-31346064-3008.eml
2010/4/13 下午 09:01:09 - From: weng6868@222.net.tw|weng6868@222.net.tw||
2010/4/13 下午 09:01:09 Addressbook doesn't exist: D:\RaidenMAILD\Inboxes\elliec\addressbook.txt
2010/4/13 下午 09:01:09 Opening WhiteList: D:\RaidenMAILD\Inboxes\elliec\whitelist.txt
2010/4/13 下午 09:01:09 WhiteList doesn't exist: c:\mail\whitelist.txt
2010/4/13 下午 09:01:09 SpamAssassin
2010/4/13 下午 09:01:23 - Result: 0
2010/4/13 下午 09:01:23 No spam detected
2010/4/13 下午 09:01:23 #End
2010/4/13 下午 09:02:43


gramy 在 星期三 四月 14, 2010 1:17 pm 作了最後編輯, 共編輯過 2 次
回頂端
檢視會員個人資料 發送私人訊息
Arnor
究極の素還尊
究極の素還尊


註冊時間: 2001-11-07
文章: 13017
來自: TAIWAN

發表發表於: 星期三 四月 14, 2010 11:52 am    文章標題: 引言回覆

我知道問題了.

這 | 是 maild 加上的, 表示這一長串都是信件的寄件人資料, 是用來給事件處理器做為搜尋的目標內容

你檢查一下你的spamassassinVBS.vbs 中的以下段落是否跟我的一樣

' WhiteList
If fso.FileExists(strPath & strWhitelist) Then
Logging "Opening WhiteList: " & strPath & strWhitelist
Set Fread = fso.OpenTextFile(strPath & strWhitelist, 1, False)
While Not fread.AtEndOfStream
If instr(lcase(strFrom), lcase(fread.ReadLine)) Then
' Found the E-mail address, no use To continue
Fread.Close
WhiteCheck = True
Exit Function
End If
Wend
Fread.Close
Else
Logging "WhiteList doesn't exist: " & strPath & strWhitelist
End if

上面標黑的部份這樣應該是沒問題的, 若你的參數是顛倒的, 才有可能會有問題發生.
_________________
*若是想問問題的話, 請務必不要塗改任何 IP, 網域資料, 您若不願貼上IP或網域, 請改以電子郵件來詢問. 謝謝您的配合.*
*若是回報疑似軟體的運行或邏輯或資料處理有誤的問題, 小弟很樂意去了解您的情況, 但請務必以最新版來做回報, 如果以郵件詢問, 請參考 http://www.raidenmaild.com/tw/feedback.html 的說明, 最好標題加個 RaidenMAILD 字樣, 才不致會遺漏了您的信唷. 謝謝您的配合^^*
*在版上發文請遵守網路禮儀, 並請持著虛心敘述問題請教他人, 凡發現違反的文, 均一律刪除為優先, 不另行通知喔.
*與使用者教學相長腦力激盪是我輩成就感的來源, 誠心希望您能不吝指教.
*雷電MAILD 知識庫文件 http://www.raidenmaild.com/tw/kb/

素還尊
Team John Long.
Email: arnor@raidenmaild.com
公司網站 http://www.raidenmaild.com/company/
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
gramy
九段
九段


註冊時間: 2007-09-21
文章: 188

發表發表於: 星期三 四月 14, 2010 1:06 pm    文章標題: 引言回覆

to 素大

經查,確實與您標示黑字的地方有些不一樣,
只要改與您標示黑字的一樣即可嗎?

我立即試試~~


註:之前「spamassassin.vbs」載回來使用就沒有修改過這段,
  是否之前的下載版本就有問題而我沒修正到嗎~~@@"

總之,真是太感謝素大您了~~

==========================
' WhiteList
If fso.FileExists(strPath & strWhitelist) Then
Logging "Opening WhiteList: " & strPath & strWhitelist
Set Fread = fso.OpenTextFile(strPath & strWhitelist, 1, False)
While Not fread.AtEndOfStream
If instr(lcase(fread.ReadLine),lcase(strFrom)) Then
' Found the E-mail address, no use To continue
Fread.Close
WhiteCheck = True
Exit Function
End If
Wend
Fread.Close
Else
Logging "WhiteList doesn't exist: " & strPath & strWhitelist
End if
回頂端
檢視會員個人資料 發送私人訊息
Arnor
究極の素還尊
究極の素還尊


註冊時間: 2001-11-07
文章: 13017
來自: TAIWAN

發表發表於: 星期三 四月 14, 2010 2:00 pm    文章標題: 引言回覆

你修改過應該就會沒問題了.
我下午會再看看怎麼把vbs 改得相容性更好些
(太久沒寫vb, 函式完全忘光光.)
_________________
*若是想問問題的話, 請務必不要塗改任何 IP, 網域資料, 您若不願貼上IP或網域, 請改以電子郵件來詢問. 謝謝您的配合.*
*若是回報疑似軟體的運行或邏輯或資料處理有誤的問題, 小弟很樂意去了解您的情況, 但請務必以最新版來做回報, 如果以郵件詢問, 請參考 http://www.raidenmaild.com/tw/feedback.html 的說明, 最好標題加個 RaidenMAILD 字樣, 才不致會遺漏了您的信唷. 謝謝您的配合^^*
*在版上發文請遵守網路禮儀, 並請持著虛心敘述問題請教他人, 凡發現違反的文, 均一律刪除為優先, 不另行通知喔.
*與使用者教學相長腦力激盪是我輩成就感的來源, 誠心希望您能不吝指教.
*雷電MAILD 知識庫文件 http://www.raidenmaild.com/tw/kb/

素還尊
Team John Long.
Email: arnor@raidenmaild.com
公司網站 http://www.raidenmaild.com/company/
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
Arnor
究極の素還尊
究極の素還尊


註冊時間: 2001-11-07
文章: 13017
來自: TAIWAN

發表發表於: 星期三 四月 14, 2010 3:37 pm    文章標題: 引言回覆

你可以再下載更新看看
我把這種 | 的字串處理回正常的 email
我想會應用的比較沒問題的.

http://www.raidenmaild.com/download/spamassassinVBS.zip
_________________
*若是想問問題的話, 請務必不要塗改任何 IP, 網域資料, 您若不願貼上IP或網域, 請改以電子郵件來詢問. 謝謝您的配合.*
*若是回報疑似軟體的運行或邏輯或資料處理有誤的問題, 小弟很樂意去了解您的情況, 但請務必以最新版來做回報, 如果以郵件詢問, 請參考 http://www.raidenmaild.com/tw/feedback.html 的說明, 最好標題加個 RaidenMAILD 字樣, 才不致會遺漏了您的信唷. 謝謝您的配合^^*
*在版上發文請遵守網路禮儀, 並請持著虛心敘述問題請教他人, 凡發現違反的文, 均一律刪除為優先, 不另行通知喔.
*與使用者教學相長腦力激盪是我輩成就感的來源, 誠心希望您能不吝指教.
*雷電MAILD 知識庫文件 http://www.raidenmaild.com/tw/kb/

素還尊
Team John Long.
Email: arnor@raidenmaild.com
公司網站 http://www.raidenmaild.com/company/
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
gramy
九段
九段


註冊時間: 2007-09-21
文章: 188

發表發表於: 星期五 四月 16, 2010 9:24 am    文章標題: 引言回覆

回素大:

不好意思,這兩天在外忙,較晚上來回覆,

我14日那天照您指示改過字串順序後,
判斷就正常了~
再次向素大說聲謝謝~^_^y

您給的新版VBS檔,我這一、兩天找時間更換測試後再上來回報給大家,

Have a nice day~


======================

2010/4/15 下午 05:58:33 #Start
2010/4/15 下午 05:58:33 Checking:
2010/4/15 下午 05:58:33 - Path: D:\RaidenMAILD\Inboxes\celinew\
2010/4/15 下午 05:58:33 - File: _20100415175832-20739533-1488.eml
2010/4/15 下午 05:58:33 - From: lilychau@12345.com.cn|lilychau@12345.com.cn||
2010/4/15 下午 05:58:33 Addressbook doesn't exist: D:\RaidenMAILD\Inboxes\celinew\addressbook.txt
2010/4/15 下午 05:58:33 Opening WhiteList: D:\RaidenMAILD\Inboxes\celinew\whitelist.txt
2010/4/15 下午 05:58:33 Sender is in a Whitelist
回頂端
檢視會員個人資料 發送私人訊息
gramy
九段
九段


註冊時間: 2007-09-21
文章: 188

發表發表於: 星期二 九月 28, 2010 11:46 am    文章標題: 引言回覆

拖了很久,都忘了上來回覆測試狀況,

目前vbs檔測試良好~

再次感謝素大~
回頂端
檢視會員個人資料 發送私人訊息
從之前的文章開始顯示:   
發表新主題   回覆主題    尊龍佈告欄 首頁 -> 雷電MAILD (mail server) 所有的時間均為 台北時間 (GMT + 8 小時)
前往頁面 上一頁  1, 2, 3, 4  下一頁
3頁(共4頁)

 
前往:  
無法 在這個版面發表文章
無法 在這個版面回覆文章
無法 在這個版面編輯文章
無法 在這個版面刪除文章
無法 在這個版面進行投票


Powered by phpBB © 2001-2007 phpBB Group