Configuring Mail Security transport agents
|Article:HOWTO82500|||||Created: 2012-11-30|||||Updated: 2013-10-28|||||Article URL http://www.symantec.com/docs/HOWTO82500|
Mail Security automatically installs custom transport agents when you install the product on Hub Transport or Edge Transport 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
Click Start > Programs > Microsoft Exchange Server server version > Exchange Management Shell.
Run the following command to check the transport agent priorities:
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
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.
Run the following command to restart the transport agent service:
restart-service -force MSExchangeTransport
Article URL http://www.symantec.com/docs/HOWTO82500