Test Mail Flow Using MOM 2005


Topic Last Modified: 2006-09-14

This topic explains how to use Microsoft Operations Manager (MOM) 2005 to monitor mail flow between Microsoft® Exchange Server 2003 and Lotus Domino.

Set up and configure MOM agent mailbox accounts for mail flow validation per the instructions in the Exchange 2003 Management Pack Configuration Guide.

Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Problems resulting from editing the registry incorrectly may not be able to be resolved. Before editing the registry, back up any valuable data.

  1. Create a new Lotus Notes user using the standard mail template, and ensure that the last name of this user ends in MOM. This enables the directory synchronization process to create a properly formatted object in Active Directory.

  2. Force synchronization of the directories by selecting the Immediate full reload option in Exchange System Manager's Connector for Lotus Notes Properties dialog.

    Force a full reload from Exchange to Notes and from Notes to Exchange.
  3. Verify that mail can route to the new person by sending a message from Microsoft Office Outlook to the new Lotus Notes user. This ensures that the mail flow script will be able to properly resolve and send mail to the new Lotus Notes address.

  4. On the server that is running Exchange Server 2003, configure the mail flow registry key HKLM\Software\Microsoft\Exchange MOM\Mail flow\(server name)\ sendto. The sendto value is a comma-separated string that lists the new Lotus Notes user.

    Do not include the string MOM. (For example, if your contact is named Lotus NotesMOM and the alias on the Exchange General tab is LNotesMOM, enter LNotes in the registry.) The mail flow sender script will append the string MOM onto whatever name it extracts from the registry and then attempt to validate that recipient against the GAL. Configure the expectedfrom registry value and use the same name entered in the sendto value. This will allow the MOM Agent to use the Mail Flow Scripts.
  5. In Lotus Notes, open the mail database for the new user.

  6. From the menu bar, select Create and then click on Agent. This agent will automatically send a reply when a message is received with a particular subject.

  7. Set the name of the agent to MOM Mailflow test and select the Runtime for After new mail has arrived.

    MOM Mail Agent
  8. Click Add Action on the MailFlowTest (Agent): Action screen.

  9. In the Action field, select Send Mail Message.

  10. In the To field, type the address for the Exchange Server MOM Mailbox Name@Exchange (assuming the Foreign Domain was created to point to the domain Exchange. If a different foreign domain name was specified, use that value here).

  11. In the subject field, type MailFlowMsg;<AD ObjectName>, where the AD ObjectName is the same value that you entered in the registry in step 4.

  12. Click Add to save these settings to the agent.

  13. Click Add Action to append additional information to the agent.

  14. In the Action field, select Delete from Database. This selection prevents lots of MOM e-mail messages from being collected in this mail database.

  15. Click Add to save these settings to the agent.

  16. Save the agent by closing the Lotus Notes agent window. When prompted to save, select Yes.

As with all Lotus Notes agents, test and ensure that this agent does not cause any performance issues on the production server.