如何安裝傳輸代理程式

 

適用版本: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007

上次修改主題的時間: 2007-01-02

本主題說明如何使用 Exchange 管理命令介面,在已安裝 Hub Transport server role 或 Edge Transport server role 的電腦上安裝新的傳輸代理程式。

如需傳輸代理程式的相關資訊,請參閱傳輸代理程式的概觀

note附註:
您無法使用 Exchange 管理主控台,管理傳輸代理程式。若要管理傳輸代理程式,您必須使用 Exchange 管理命令介面。如需如何使用 Exchange 管理命令介面的相關資訊,請參閱使用 Exchange 管理命令介面

開始之前

Caution請注意:
傳輸代理程式對於接觸的所有電子郵件都有完整的存取權。Exchange 不會對傳輸代理程式的行為有所限制。不穩定或包含安全瑕疵的傳輸代理程式可能會影響 Exchange 的穩定性及安全性。因此,您只能安裝完全信任及已在測試環境中進行完整測試的傳輸代理程式。

若要在執行 Edge Transport server role 的電腦上執行 Install-TransportAgent 指令程式,您必須是該電腦上的本機 Administrators 群組的成員。

若要執行 Install-TransportAgent 指令程式,您使用的帳戶必須已委派下列資格:

  • Exchange Server 系統管理員角色和目標伺服器的本機 Administrators 群組

如需管理 Microsoft Exchange Server 2007 所需之權限、委派角色以及權利的相關資訊,請參閱權限考量

程序

在 Exchange 管理命令介面中,您可以使用下列語法來安裝傳輸代理程式:

Install-TransportAgent -Name <"TransportAgentID"> -TransportAgentFactory <"TransportAgentFactory"> -AssemblyPath <"FilePath">

當您使用 Exchange 管理命令介面來安裝傳輸代理程式時,Exchange 2007 只會登錄與傳輸代理程式關聯的 DLL。您必須確定已正確地安裝並設定傳輸代理程式所依賴的所有檔案、登錄機碼及其他物件。在 Exchange 載入 DLL 之後,它會在命令完成之後繼續參照 DLL。

傳輸代理程式是在停用狀態下安裝的,以確定尚未設定的傳輸代理程式不會影響郵件流程。在正確地設定了傳輸代理程式之後,請使用下列命令來啟用傳輸代理程式:

Enable-TransportAgent <TransportAgentID>

使用 Exchange 管理命令介面,安裝新的虛構傳輸代理程式來掃描郵件是否有病毒

  • 執行下列命令:

    Install-TransportAgent -Name "Antivirus for Exchange" -TransportAgentFactory "vendor.exchange.avTransportAgentfactory" -AssemblyPath "c:\Program Files\Vendor\TransportAgent\AvTransportAgentFactory.Dll"
    
  • 若要啟用新安裝的傳輸代理程式,請使用下列命令:

    Enable-TransportAgent "Antivirus for Exchange"
    

如需詳細語法及參數的資訊,請參閱 Install-TransportAgent

若要確保您目前閱讀的是最新資訊,並尋找其他的 Exchange Server 2007 說明文件,請造訪 Exchange Server 技術資源中心.