Sunday 9 October 2011

Collection:Exchange 2007 Edge Transport Server Role (2)

Exchange Address Rewrite in Exchange Server 2007

Exchange Address Rewrite in Exchange Server 2007 is already installed with the core messaging subsystem but is not enabled. You have to use the Exchange Management Shell to activate Exchange Address Rewrite.
One other new feature of Exchange Address Rewrite in Exchange Server 2007 is that you can enable this feature on a per user, SMTP domain and/or SMTP sub domain base and not for the whole Exchange 2003 Virtual SMTP Server as in Exchange Server 2003.
You configure Address Rewriting agents on the SMTP receive connector and send connector on a computer that has the Edge Transport server role installed.
Please note:The Exchange Server 2007 Address Rewrite Agent is only available on Edge Transport servers.

Enumerating Installed Transport Agents

The following Exchange Management Shell CMD'lets show the installed Transport Agents on a Hub Transport Server. As you can see there is no Transport Agent for the Address Rewrite feature.




                                   Figure 3: Installed Transport Agents on Hub Transport Server
When you start the Exchange Management Shell CMD'let to enumerate the Exchange 2007 Transport Agents on a Exchange 2007 Edge Transport Server, you can see the Transport Agent for Incoming and Outgoing SMTP message transfer.




Figure 4: Installed Transport Agents on Edge Transport Server

Display Exchange Server 2007 Address Rewrite Entries

We check the enablement status using:
Get-TransportAgent


Here we can see that the agents are enabled. If this was not the case we would enable these with:
Enable-TransportAgent -Identity "Address Rewriting Inbound Agent"
Enable-TransportAgent -Identity "Address Rewriting Outbound Agent"
If you would like to see for which users, Domains or sub domains Address Rewrite is enabled, start the Exchange Management Shell CMD'let from the following screenshot.






Figure 5: Display installed Address Rewrite entries
With Exchange Server 2007 Address Rewrite you can rewrite SMTP addresses based on:
  • Single Address
  • Single Domain
  • Multiple Subdomains
How to enable Address Rewrite for a Single Address
New-AddressRewriteEntry -name "grotem@it-training-grote.de to grotem@telta.de" -InternalAddress grotem@it-training-grote.de -ExternalAddress grotem@telta.de Single Domain
How to enable Address Rewrite for a Single domain
New-AddressRewriteEntry -name "IT TRAINIHG GROTE to TELTA" -InternalAddress it-training-grote.de -ExternalAddress telta.de
How to display Address Rewrite entries after configuring some entries
You have to use the Exchange Management Shell to display configured Address Rewrite entries as shown in the following screenshot.




                                         Figure 6: Display installed Address Rewrite entries

Configuring a postmaster Mailbox in Exchange 2007

By default, an exchange 2007 installation does not contain a postmaster mailbox which catches all NDR’s. You have to create the mailbox manually and then configure it.  This has to be done on every hub transport server in your organization.
Step 1 is to create the postmaster mailbox. This only has to be done once:





Once this is done, you then need to tell the Hub transport server that this is the postmaster mailbox. To do this you use the cmdlet set-transportserver
set-transportserver exch2007mail –externalpostmasteraddress postmaster@exchangelab.local
The above example sets the postmaster mailbox for the hub transport server exch2007mail to postmaster@exchangelab.local. Once you have done this you can use the get-transportserver cmdlet to verify that it is correct.




Understanding the Edge Sync Synchronization Process
After an Edge Transport server has been subscribed to the Exchange organization, the Microsoft Exchange EdgeSync service replicates data from the Active Directory directory service to the Active Directory Application Mode (ADAM) directory service instance on the Edge Transport server. The replicated data lets you implement a wider range of anti-spam features and enables domain security functionality. The EdgeSync synchronization process also lets you configure Send connectors and configuration objects that are common to both the Exchange organization and the Edge Transport server on a Hub Transport server and then have that data automatically populated to ADAM. The Edge Sync synchronization process keeps this data up to date by performing scheduled synchronization.

EdgeSync schedule parameters


Parameter
Value
Description
Configuration
1 hour
This parameter determines the frequency at which the Microsoft Exchange EdgeSync service will try to synchronize configuration data to an Edge Transport server.
Recipients
4 hours
This parameter determines the frequency at which the Microsoft Exchange EdgeSync service will try to synchronize recipient data to an Edge Transport server.
Topology
5 minutes
This parameter determines how frequently topology information is reloaded.



How to Configure Attachment Filtering

To enable the Attachment Filter agent if it is not enabled, run the following command:
 Enable-TransportAgent -Identity "Attachment Filtering agent"

 Adding a New Attachment Filter Entry
Exchange 2007 lets you configure multiple attachment filters on each Edge Transport server. If you have more than one Edge Transport server that accepts e-mail that you want to filter, you must configure the same attachment filter on each Edge Transport server.
To add a new attachment filter that filters e-mail attachments that have a specific MIME content type, use the following command:
Add-AttachmentFilterEntry -Name <MIMEContentType> -Type ContentType
For example, if you want to filter all JPEG images by using an attachment filter, run the following command on each Edge Transport server:
Add-AttachmentFilterEntry -Name image/jpeg -Type ContentType
To add a new attachment filter that filters e-mail attachments based on a file name or file name extension, run the following command:
Add-AttachmentFilterEntry -Name <FileName> -Type FileName
For example, if you want to filter all e-mail attachments that have the file name extension EXE, run the following command:
Add-AttachmentFilterEntry -Name *.EXE -Type FileName


No comments:

Post a Comment