IT tutorials
 
Technology
 

Windows Small Business Server 2011 : Advanced Email Configuration (part 3) - Adding an Additional Email Domain Name, Changing the Maximum Message Size

10/14/2013 4:34:33 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

2. Adding an Additional Email Domain Name

One request we see regularly in the SBS forum is how to add an additional email domain that SBS can receive email for. Often a small-business owner combines several businesses under a single office and a single SBS network, but still needs to be able to receive email for each of those business names. Exchange Server makes that easy to implement. You can add additional domains that Exchange accepts mail for, and automatically update the email addresses of your users to include the additional domains.

Before you can accept email for another domain, however, you need to make sure that the outside world knows about that domain and how to reach it. You need to register your second domain name with one of the Internet registrars, and you need to set up DNS records for the domain. Those records need to include an MX record that sends mail to your SBS server. This record should point to the public IP address of your router.

Accepting email for an additional domain, however, is only part of the equation. You also need to change the recipient policies so that the new domain will propagate to your users.

When you’re ready to have Exchange Server receive email for an additional domain, use the following steps to add the domain:

  1. Open the Exchange Management Console if it isn’t already open.

  2. Navigate to Hub Transport in the Organization Configuration container in the left pane and then click the Accepted Domains tab in the center pane, as shown in Figure 11.

    Figure 11. The accepted domains for our test SBS network

  3. Click New Accepted Domain in the Actions pane to open the New Accepted Domain Wizard shown in Figure 12.

    Figure 12. The New Accepted Domain Wizard

  4. Enter a name for the domain you want to receive email for, and then enter the DNS domain name in the Accepted Domain field.

  5. Click New and then click Finish when the task has completed. As with all other commands in the Exchange Management Console, you can save the Windows PowerShell script that was executed to complete the command on the Completion page before you close the wizard.

  6. Click New E-Mail Address Policy in the Actions pane to open the New E-Mail Address Policy Wizard shown in Figure 13.

    Figure 13. The Introduction page of the New E-Mail Address Policy Wizard

  7. Type in a name for the new policy, and then click the Browse button to set the OU to the MyBusiness OU, as shown in Figure 14.

    Figure 14. The Select Organizational Unit dialog box

  8. Click OK to return to the Introduction page, and select Users With Exchange Mailboxes and Mail-Enabled Groups as shown in Figure 13. This should be a good starting point for most SBS networks, though if you’re heavy users of Resource mailboxes (such as for scheduling conference rooms), you might want to add them as well.

  9. Click Next to open the Conditions page of the New E-Mail Address Policy Wizard. You can use these conditions to filter which recipients the policy applies to. Click Preview to see a list of the accounts that will be affected by the current set of conditions. In most cases, you should leave the conditions blank on this page.

  10. Click Next to open the E-Mail Addresses page.

  11. Click Add to open the SMTP E-Mail Address dialog box shown in Figure 15.

    Figure 15. The SMTP E-mail Address dialog box of the New E-Mail Address Policy Wizard

  12. Select the format of the email address to use, and then choose Select Accepted Domain For The E-Mail Address.

  13. Click Browse to select the new accepted domain you added earlier.

  14. Click OK to return to the E-Mail Addresses page, which will now show the address policy that will be applied, and click OK.

  15. Click Next twice to open the Configuration Summary.

  16. Click New to apply the policy, and then click Finish on the Completion page to close the wizard.

  17. Select the original Windows SBS Email Address Policy and click Change Priority in the Actions pane to open the Change E-mail Address Policy Priority dialog box shown in Figure 16.

    Figure 16. Set the address policy you want to control the Reply address for to a priority of 1

  18. Click OK, and then click Apply in the Actions pane to open the Apply E-mail Address Policy Wizard shown in Figure 17. Select Immediately, click Next, and then click Apply to apply the change.

    Figure 17. You have to apply the policy before the email addresses actually change

  19. Click Finish to close the wizard and return to the Exchange Management Console. You’re now receiving emails for the new domain.

Using Windows PowerShell for Exchange Management

The Microsoft Exchange Server 2010 Management Console is built entirely on Microsoft Windows PowerShell. All the commands and functionality that can be performed in the console can also be done from the Exchange Management Shell. Although most things are easily done from the Exchange Management Console, doing repetitive tasks from a graphical console can be a pain and is also far more prone to errors. Using the Windows PowerShell command line that the Exchange Management Shell provides gives you the ability to automate routine tasks.

For those not very familiar with Windows PowerShell, using the Exchange Management Console and then saving the Windows PowerShell script that was actually performed on the Completion page of the wizard gives you a great starting point for building your own scripts to perform similar tasks. A useful resource is the Exchange Team Blog at http://msexchangeteam.com.

Another good resource is Windows PowerShell itself, which is an extremely self-discoverable language. You can start by getting a list of all the Exchange-specific Windows PowerShell commands:

Get-Excommand > ExchangeCommands.txt

This creates a file that has a list of all the Exchange-specific Windows PowerShell commands. If you see a command that looks like it might do what you want, such as creating a new distribution list, get some help with that command:

Help New-DistributionGroup

You can get additional help, including examples of using the command, by adding the –detailed switch to the help command:

Help New-DistributionGroup –detailed

To get some more general help with Windows PowerShell, try the following:

Help about*

This will give you a list of available general help topics and is a great way to start your Windows PowerShell Discovery Tour.


3. Changing the Maximum Message Size

The default maximum size of email messages, both incoming and outgoing, is set to 10 MB in SBS. Now for most organizations, this is probably adequate, but if you need to support larger messages, you can change the maximum size. But it turns out it’s not all that easy, and there are lots of places you need to change it. Yes, you could do this from the Exchange Management Console, but heck, this is a perfect place to use a simple Windows PowerShell script to get the job done quickly and easily. So here’s a simple script that accepts a single command-line parameter, the maximum size in megabytes that you want to set for your Exchange messages, and then changes the setting where it needs to. If you forget to include the size, it will prompt you for what size to set.

# Change-ExchSize.ps1

# Script to change the size of the maximum send and receive for
# a Windows SBS 2011 Standard installation with Exchange 2010
#
# Expects: maximum size parameter in MB or prompts
#
# Created: 19/2/2011
# ModHist:



param($MaxSize)
if (! $MaxSize ) {
$MaxSize = Read-Host "What's the max size(in MB) you want for all mailboxes? "
}
$stMaxSize = "$MaxSize" + "MB"

"Setting Maximum Send and Receive Transport Size to: $stMaxSize"
Set-TransportConfig -MaxSendSize $stMaxSize -MaxReceiveSize $stMaxSize
Get-TransportConfig | ft -maxsendsize,maxreceivesize

"Setting Maximum Send and Receive Connectors to: $stMaxSize"
$ReceiveConnectors = Get-ReceiveConnector
$SendConnectors = Get-SendConnector

ForEach ($Connector in $ReceiveConnectors ) {
Set-ReceiveConnector -Identity $Connector.name -MaxMessageSize $stMaxSize
}
ForEach ($Connector in $SendConnectors ) {
Set-SendConnector -Identity $Connector.name -MaxMessageSize $stMaxSize
}

"The Maximum Receive Connector size has been set to: "
Get-ReceiveConnector | ft Name, MaxMessageSize

"The Maximum Send Connector size has been set to: "
Get-SendConnector | ft Name, MaxMessageSize



Note:

This script must be run from the Exchange Management Shell on the SBS server, from an account in the Network Administrator role.

 
Others
 
- Windows Small Business Server 2011 : Advanced Email Configuration (part 2) - Using Contacts - Adding a New Mail-Enabled Contact
- Windows Small Business Server 2011 : Advanced Email Configuration (part 1) - Using Contacts - Mail-Enabling Existing Contacts
- Windows Small Business Server 2011 : Configuring and Managing Email - POP3 Email
- Windows Small Business Server 2011 : Basic Email Configuration
- SQL Server 2008 : Backup options (part 2) - Backup checksums, Backup mirroring, Transaction log marks
- SQL Server 2008 : Backup options (part 1) - Backup location and retention policy
- SQL Server 2008 : Recovery models and data loss exposure
- SQL Server 2008 : Backup types (part 3) - Transaction log backup, COPY_ONLY backups
- SQL Server 2008 : Backup types (part 2) - Differential backup
- SQL Server 2008 : Backup types (part 1) - Full backup
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us