Configuring Mail Security transport agents

Article:HOWTO83141  |  Created: 2012-12-04  |  Updated: 2013-10-27  |  Article URL http://www.symantec.com/docs/HOWTO83141
Article Type
How To


Subject


Configuring Mail Security transport agents

Mail Security automatically installs custom transport agents when you install the product on Mailbox servers. The Mail Security transport agents consist of an antispam transport agent and an antivirus transport agent.

Mail Security transport agents must act on email messages before any other spam or virus scanning transport agent, for example Microsoft Exchange antispam agents such as follows:

  • Connection Filtering Agent

  • Sender ID Agent

  • Sender Filter Agent

  • Recipient Filter Agent

  • Protocol Analysis Agent

  • Content Filter Agent

By default, the Mail Security transport agents are installed with a lower priority than the Microsoft Exchange antispam agents. This means that the Microsoft Exchange antispam agents act on emails before Mail Security transport agents. As a result, Mail Security may not detect spam or viruses. Therefore, ensure that the Mail Security transport agents are set with a higher priority than any other spam filtering agents.

To configure Mail Security transport agents

  1. Click Start > Programs > Microsoft Exchange Server server version > Exchange Management Shell.

  2. Run the following command to check the transport agent priorities:

    Get-TransportAgent

    The following result appears, which shows that the Mail Security transport agents have a lower priority than the Exchange antispam transport agents:

    Identity Enabled Priority
    ---------------------------
    Transport Rule Agent True 1
    Journaling Agent True 2
    AD RMS Prelicensing Agent False 3
    Connection Filtering Agent True 4
    Content Filter Agent True 5
    Sender Id Agent True 6
    Sender Filter Agent True 7
    Recipient Filter Agent True 8
    SMSMSERoutingAgent True 9
    SMSMSESMTPAgent True 10
    Protocol Analysis Agent True 11
    
  3. Perform one of the following tasks:

    • Set the priority of the Mail Security transport agents higher than the Exchange antispam transport agents by running the following commands:

      Set-transportagent -identity "SMSMSESMTPAgent" -priority 4

      Set-transportagent -identity "SMSMSERoutingAgent" -priority 5

    • Disable Exchange transport agents by running the following commands:

      disable-transportagent -identity "Connection Filtering Agent"

      disable-transportagent -identity "Sender Id Agent"

      disable-transportagent -identity "Sender Filter Agent"

      disable-transportagent -identity "Recipient Filter Agent"

      disable-transportagent -identity "Protocol Analysis Agent"

      disable-transportagent -identity "Content Filter Agent"

    You might encounter an error about not being able to edit the config file when running these commands. You can resolve the error by opening the Exchange Management Shell as an administrator and running the commands again.

  4. Run the following command to restart the transport agent service:

    restart-service -force MSExchangeTransport


Legacy ID



v77800164_v82894070


Article URL http://www.symantec.com/docs/HOWTO83141


Terms of use for this information are found in Legal Notices