Wednesday, 18 March 2015

How to Create Multiple SMTP Domains in Exchange Server 2007

Sometimes administrators require adding a list of SMTP domains for which Exchange organization is authoritative. To create multiple SMTP domains in Exchange Server 2007, you will have to first create a text file, with one SMTP domain per line and name this file as domains.txt. Open the Exchange Cmdlet and enter the following command to create SMTP domains:-
Get-Content C:\domains.txt | Foreach-Object {New-AcceptedDomain -Name $_ -DomainName $_ -DomainType Authoritative}
Typically this command is run on the Hub Transport role and then EdgeSync process automatically pust this list out to the Edge servers. By default, accepted SMTP domain replicates one per hour. We can manually sync this list from the Hub Transport server by running the following command:-
Start-EdgeSynchronization

No comments:

Post a Comment