2010-01-15 36 views
1

我有一個SMTP事件接收器來處理傳入的SMTP電子郵件以執行特殊處理。在IIS 6/SMTP下,此事件接收器按預期運行。在IIS 7/SMTP,它不會出現運行,即使它似乎成功註冊,如下圖所示:在Windows 2008下運行/調試SMTP事件接收器

c:\Program Files\Kryptiq Corporation\GW\Bin>regsvr32 SpoolFilter.dll 

c:\Program Files\Kryptiq Corporation\GW\Bin>smtp_sink_register.bat 

c:\Program Files\Kryptiq Corporation\GW\Bin>cscript smtpreg.vbs /add 1 OnArrival 
KryptiqSpoolFilter SpoolFilter.FilterObject "mail from=*" 
Microsoft (R) Windows Script Host Version 5.8 
Copyright (C) Microsoft Corporation. All rights reserved. 

Binding Display Name Specified: KryptiqSpoolFilter 
Assigning priority (24575 in 32767) 
** SUCCESS ** 
Registered Binding: 
Event Name :SMTP Transport OnSubmission 
Display Name:KryptiqSpoolFilter 
Binding GUID:{C12ECB83-BF0A-46B4-823D-8C4D212F5238} 
ProgID  :SpoolFilter.FilterObject 
    Rule  :mail from=* 
    Priority :24575 (0 - 32767, default: 24575) 
    ComCatID :{FF3CAA23-00B9-11d2-9DFB-00C04FA322BA} 

如何調試此事件接收器,並弄清楚爲什麼它不處理任何電子郵件中登錄到SMTP拾取目錄中,而電子郵件通過未觸及?是否存在與IIS 6不同的SMTP事件接收器的IIS 7要求,例如新的權限?

+0

這可能是一個更適合ServerFault的問題... – Martin

+0

實際上,這兩者都有,並且到目前爲止一直處於崩潰狀態。 –

回答