Another architecture poster, this time for Exchange Server 2010.
Download here.
Credits go to Bink.nu
On creating a new distribution group in Exchange you could get the following error:
Couldn’t find object “<user object in AD>”. Please make sure that it was spelled correctly or specify a different object. Reason: the recipient <user object in AD> isn’t the expected type.
You probably logged in with an administrator account, which has no mailbox associated with it. When you create a mailbox, you will automatically be the manager of the distribution group.
To bypass this (without creating a admin user mailbox), use the powershell command: New-DistributionGroup and specify the “ManagedBy” parameter
To set permission’s on a room mailbox in Exchange 2010, you have to execute the PowerShell command Add-MaiboxFolderPermission.
Add-MailboxFolderPermission -identity <roomname>@<domain.com> -user <email address of user who needs access> -AccessRights <AccessRight>
The parameter AccessRight specifies the permissions for the user, you can use the following values:
AccessRight also accepts a Roles definition as a value:
So.. for example if I wanna give all users the rights to review the calendar of the Meetingroom and a user named John Doe will receive the contributer permission, I use the following commands:
When I wanted to create a test user for SCOM 2007 to monitor Exchange, I constantly ran into the error (whenever I ran the script
new-TestCasconnectivityUser.ps1):
CreateTestUser : Mailbox could not be created. Verify that OU ‘Users’ exists and that password meets complexity requirements.
I checked google, and all solutions pointed to the fact that there was more than one users OU.
When I edited the script and replaced the variable $OrganizationalUnit with a different OU, I still received the same error.
The solution came when I created a new OU in AD and edited the script again, now I changed the $OrganizationalUnit parameter to contain the newly created OU. After that the script ran perfectly.
This morning when our Exchange server came back up after a planned shutdown, it couldn’t mount his database.
The error message I received when trying to mount the database was:
——————————————————–
Microsoft Exchange Error
——————————————————–
Failed to mount database ‘Mailbox Database xxxxxxxxxx’.
Mailbox Database xxxxxxxxxx’
Failed
Error:
Couldn’t mount the database that you specified. Specified database: Mailbox Database xxxxxxxxxx’; Error code: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionNotFound: Unable to mount database. (hr=0x8004010f, ec=-2147221233)
[Database: Mailbox Database xxxxxxxxxx', Server: <FQDN Server>].
An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionNotFound: Unable to mount database. (hr=0x8004010f, ec=-2147221233)
[Database: Mailbox Database xxxxxxxxxx', Server: <FQDN Server>]
An Active Manager operation failed. Error: Operation failed with message: MapiExceptionNotFound: Unable to mount database. (hr=0x8004010f, ec=-2147221233)
[Server: <FQDN Server>]
MapiExceptionNotFound: Unable to mount database. (hr=0x8004010f, ec=-2147221233)
Apparently this could happen when there is a mismatch between the value of the ConfigurationDomainController parameter and the value of the PreferredGlobalCatalog (see: http://support.microsoft.com/kb/977960/EN-US).
After executing the command “Set-ADServerSettings -PreferredServer <FQDN Domain Controller>, the database could be mounted again.
In our Exchange 2010 environment (combined with forefront anti-spam) there was 1 user who kept on receiving spam. The spam originated from his own email address and got the tag SenderOnRecipientSafeList.
This was caused by the fact that our Receive Connector had the permission ms-Exch-SMTP-Accept-Authoritative-Domain-Sender. This right basically tells the exchange server: “accept mail from users that tell you to be from that you are authorative for”.
With a powershell command you can remove this right from the receive connector.
remove-ADPermission -Identity <connectorName> -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights ms-Exch-SMTP-Accept-Authoritative-Domain-Sender
note: <ConnectorName> is the name of the connector that is accepting your internet inbound mail.
Your Internet Inbound connector can be found under: Server Configuration\Hub Transport\Receive Connectors.
You can enable logging on this Connectors by opening the properties and on the general tab you can set the [Protocol Logging Level] to “Verbose”.
Off course you also want to know where you can find the log files. You can find the path by opening the properties of your Server Configuration (in the Action Pane), the tab [Log Settings] has the path to your “Send Protocol Log Path”
Jim Glynn demonstrates how to connect your Windows Mobile phone to Exchange Online.
We have a scanner in our office which can send scanned documents to any email address specified. After our migration to Exchange 2010 this did not work anymore.
I created a new receive connector. Specified the IP addresses which we’re allowed to relay to external, and then checked the anonymous checkbox.
The scanner was able to send scanned documents to internal email addresses, but it could not send to any external domain.
It turns out that when you place a checkmark in the “anonymous users” checkbox the following permissions are given to the “Anonymous Logon” group:
We are missing the “Ms-Exch-SMTP-Accept-Any-Recipient” , this is preventing the scanner to relay off the exchange server. You can add this permission by opening the EMS (Exchange Management Shell” and issuing the command:
Get-ReceiveConnector "<Receive Connector name>" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
In Exchange 2010 you can’t use ExMerge anymore. In Exchange 2010 you can create a backup from your database (with windows backup), you can then restore it in case of an emergency and attach it to Exchange as a seperate database (recovery database). You can then restore a mailbox’s content.
Prerequisites:
Backup
First of all you have to make a backup of your exchange environment.
Ok, you’re backup should be scheduled now. Now let’s see what you have to do whenever you want to restore a mailbox.
Restore
That’s it.
Microsoft Forefront Security for Exchange Server integrates multiple scan engines from industry-leading security firms into a comprehensive, layered solution, helping businesses protect their Microsoft Exchange Server messaging environments from viruses, worms, spam, and inappropriate content.