set managed folder mailbox policy on server mailboxes

The pshell command below will apply deleted items retention policy on all the mailboxes homed on a server. Please note that this policy is set on exchange organization level
 
 Get-Mailbox -Server “servername” -ResultSize unlimited | Set-Mailbox -ManagedFolderMailboxPolicy “Deleted Items Retention Policy” -ManagedFolderMailboxPolicyAllowed
 
use this pshell command to manually start the MRM service
 
Start-ManagedFolderAssistant -identity “servername” 
To set the schedule for the managed folder policy to run,
 
1. From exchange mgmt console, go to server configuration, click on mailbox, right click on your server, and click on properties
2. Click on messaging records management tab
3. Click on customize and choose desired schedule

reset cas-mailbox for a user

In some cases, due to improper login to at the onset, user may have issues with opening attachments in OWA
 
a faster way to resolve this is by using adsiedit
 
Resolution:
 
while in ADSI, go to properties of user and set this attribute MSExchMailboxFolderSet to 2147483647
 
This setting enables all OWA features.
 
Note: In some cases, user still has his/her outlook web access frozen and not able to do anything.
re-creating user’s profile on the workstation fixed the problem

Running Exmerge from Windows XP SP2

According to Microsoft’s website, Exmerge tool is used to extract data from mailboxes on a Microsoft Exchange Server and then merge this data into mailboxes on another Microsoft Exchange Server. The program copies data from the source server into Personal Folders (.PST files) and then merges the data, in the Personal Folders, into mailboxes on the destination server.
steps to install exmerge on windows xp with sp2
1. Install the Exchange 2003 System Management Tools from exchange 2003 cd
2. download exmerge from:
3. Install Exmerge
4. Configure permissions on the database by using this powershell command:
Get-MailboxDatabase -identity “servernameFirst Storage GroupMailbox Database” | Add-ADPermission -user “DomainUsername” -ExtendedRights Receive-As, Send-As
Note that this command assumes you have setup exmerge account on the domain and will be using it for exmerge operations.

event id parameters of message tracking logs defined

 In exchange 2007, the admin needs to understand the important parameters of Message Tracking logs. Whereas Exchange Server 2003/2000’s Message Tracking log was an easy-to-use application that shielded the user from this complexity, it also provided much less flexibility.
 
Message Tracking logs have a lot of details about a message as it originates from an internal user or external sender, and makes its way through the different stages of message routing and transfer, and finally gets delivered (or not). You can now track messages based on these events.
 
see below the event ids and descriptions. Proper understanding of these events will help for better troubleshooting and tracking of messages.
 
 
EventID Description

DEFER Message delivery delayed
DELIVER Message delivered to a mailbox
DSN A delivery status notification was generated.
Messages quarantined by the Content Filter are also delivered as DSNs. the recipients field has the SMTP address of the quarantine mailbox.
EXPAND Distribution Group expanded. The RelatedRecipientAddress field has the SMTP address of the Distribution Group.
FAIL Delivery failed. The RecipientStatus field has more information about the failure, including the SMTP response code. You should also look at the Source and Recipients fields when inspecting messages with this event.
POISONMESSAGE Message added to or removed from the poison queue
RECEIVE Message received. The Source field is STOREDRIVER for messages submitted by Store Driver (from a Mailbox server), or SMTP for messages
a) received from another Hub/Edge
b) received from an external (non-Exchange) host using SMTP
c) submitted by SMTP clients such as POP/IMAP users.
REDIRECT Message redirected to alternate recipient
RESOLVE Generally seen when a message is received on a proxy address and resolved to the default email address. The RelatedRecipientAddress field has the proxy address the message was sent to. The recipients field has the default address it was resolved (and delivered) to.
SEND Message sent by SMTP. The ServerIP and ServerHostName parameters have the IP address and hostname of the SMTP server.
SUBMIT The Microsoft Exchange Mail Submission service on a Mailbox server successfully notified a Hub Transport server that a message is awaiting submission (to the Hub). These are the events you’ll see on a Mailbox server.
The SourceContext property provides the MDB Guid, Mailbox Guid, Event sequence number, Message class, Creation timestamp, and Client type. Client type can be User (Outlook MAPI), RPCHTTP (Outlook Anwhere), OWA, EWS, EAS, Assistants, Transport.
TRANSFER Message forked because of content conversion, recipient limits, or transport agents