XCLN: Exchange Client Inbox Assistant Rules FAQ

Last reviewed: June 10, 1997
Article ID: Q154774
The information in this article applies to:
  • Microsoft Exchange Windows 95 client, versions 4.0 and 5.0
  • Microsoft Exchange Windows 3.x client, versions 4.0 and 5.0
  • Microsoft Exchange Windows NT client, versions 4.0 and 5.0

SUMMARY

Rules are set using either the Inbox Assistant or the Out Of Office Assistant options from the Tools menu in any of the Microsoft Exchange clients for Windows while connected to a Microsoft Exchange Server. Each rule consists of two elements: one or more conditions that specify which items the Rule applies to, and one or more actions that specify what to do with a qualifying item.

When a rule is created, it is stored on the Microsoft Exchange Server, including any template messages for replies. When a message arrives, the Microsoft Exchange Server evaluates the message and determines if it has fulfilled any rules criteria. If it does, the Microsoft Exchange Server will then process the message according to the rule action.

Rules are Microsoft Exchange Server based and are executed on the Microsoft Exchange Server even if the user is not logged into mail. If the Microsoft Exchange Server is not able to execute a rule (for example: moving mail to a local folder when the user is not logged on to the server) a Deferred Action Message (DAM) is created which is used to complete the action when the client reconnects to the Microsoft Exchange Server.

Rules which require deferred actions are determined at the time the rule is created. When the DAM is received on the client, it is evaluated by the client and the requested action is performed. The DAM is then deleted. When a message arrives at the Microsoft Exchange Server it is evaluated independently against ALL existing Rules before any action is taken. Then all Rules that apply to the item are executed.

MORE INFORMATION

Q: Are Inbox rules related to the profile that was used to create them? A: There are 2 types of Inbox rules: Profile Dependent and Profile Independent:

   Profile Dependent: Otherwise known as Profile Specific rules. These
                      rules will be executed only when logged into
                      Microsoft Exchange with the profile that created the
                      rule. Any one of the following actions in a rule make
                      that rule Profile Dependent:

                     - Alert With (New Items of Interest  dialog)
                     - Move/Copy To a folder in a Personal Store (PST)
                     - Move/Copy To a Public Folder
                     - Custom Action

NOTE: Each Microsoft Exchange profile that is created, no matter what the
      name, has a unique ID number assigned to it. If two profiles have the
      same name, they are still unique profiles.

   Profile Independent: Otherwise known as Server Specific rules. These
                        rules are available for editing, appear black, and
                        their actions take place regardless of the profile.
                        Any one of the following actions in a rule make
                        that rule Profile Independent:

                       - Forward To
                       - Reply With Template
                       - Delete
                       - Move/Copy To a Microsoft Exchange Server Private
                         Store folder.

Q: What determines whether a particular rule will be Profile Dependent or
   Profile Independent?
A: It only takes one Profile Dependent action in a rule to make the whole
   rule Profile Dependent.

Q: Why are some Inbox Rules grayed out or unavailable? A: Each Profile Dependent rule is stamped with the unique ID of the profile
   that created the rule. Profile Dependent rules can only be edited when
   logged in with the same profile that was used to create the rule. Again,
   this is determined by the Unique ID. These rules become inactive and
   uneditable when you log on with a different profile or from another
   computer. They are the rules that appear gray in the Inbox Assistant
   window.

Q: How do you edit rules that are grayed out or unavailable? A: To edit Profile Dependent rules, you must be logged into Microsoft
   Exchange with the profile that was used to create the rule.

Q: What if a profile gets deleted that has Profile Dependent rules created
   against it?
A: If you create a Profile Dependent rule and then delete that profile, the
   rule becomes deadwood - it can't be activated or edited, just deleted by
   selecting the Show Rules for all Profiles option. Because of this,
   Profile Dependent rules should be deleted if the originating profile is
   deleted or no longer used.

Q: Can rules be copied from one profile to another? A: You can backup profile rules to a separate .PST file, send that PST to
   another user, and have them extract the rules in that PST. For
   additional information, please see the following article in the
   Microsoft Knowledge Base:

      ARTICLE-ID: Q150303
      TITLE     : XCLN: How to Backup Profile Rules to a Different .PST

Q: How many rules can exist in a single profile? A: There is a 32k memory limit for creation of rules, not a defined limit
   for the maximum number of rules that can be assigned to a folder. On the
   average it is between 40 and 50 rules per folder. For additional
   information, please see the following article in the Microsoft Knowledge
   Base:

      ARTICLE-ID: Q147298
      TITLE     : XCLN: Maximum Number of Rules Per Folder

Q: What happens to Profile Dependent rules when logging in with a different
   profile?
A: All rules are stored on the Microsoft Exchange Server and are evaluated
   on the Microsoft Exchange Server for each message sent to a user. If a
   Profile Dependent rule cannot be performed by the Microsoft Exchange
   Server, it creates a Deferred Action Message (DAM) to be processed by
   the client. The DAMs are marked with the ID of the profile that was used
   to create them, and are only processed when that profile is used. When
   you logon, all the DAMs are analyzed to see if they have the correct ID
   for the current profile, and, if they do, the DAMs are processed. If
   not, they are left in the folder that stores them, a hidden folder
   called the Deferred Actions Folder (DAF), and are analyzed each time you
   logon until you logon to the profile that created them and they can be
   processed.

Q: How long will DAMs remain in the Deferred Action Folder due to an unused
   or deleted profile?
A: Even though they are gray and inaccessible, the rules are still being
   analyzed by the Microsoft Exchange Server and are still creating DAMs
   for use when the correct (or matching) profile is used (where they will
   not be gray and will be editable). And they'll keep being triggered even
   if the profile is destroyed because there is no way for the Microsoft
   Exchange Server to tell if the profile still exists. This can cause a
   large backlog of DAMs that eventually will be removed by the Microsoft
   Exchange Server (after 60 days, when the Microsoft Exchange Server will
   disable the rules and start deleting old DAMs), and, if the backlog is
   large enough, it can impact performance while logging on. So if you end
   up deleting/recreating one of your profiles, or never using it again,
   delete the gray rules associated with it.

Q: Where are Microsoft Exchange profiles stored for each of the Microsoft
   Exchange clients?
A: Microsoft Exchange profiles are stored in your computer's registry, not
   on the Microsoft Exchange server. The Microsoft Exchange client for
   Windows 3.x stores them in a special file in the Windows directory.

Q: Is a rule configured to move a message to a Public Folder considered
   Profile Dependent or Profile Independent?
A: Profile Dependent, meaning that messages that will be moved to a
   Public Folder, will require that a user be logged in to complete the
   action. Otherwise a DAM will be created for these actions.

Q: If my computer is configured with both Windows 95 and Windows NT, can I
   use the same profile for both operating systems?
A: No. If you dual-boot two different operating systems, you're using two
   different registries and hence two different profiles. The Profile
   Dependent rules you create on one side of the dual-boot won't work on
   the other side.

Q: What happens if a single message meets the conditions of 2 or more
   rules?
A: Multiple rules can act on a single message resulting, in copies of a
   message being moved to different folders for example.

NOTE: Within the Microsoft Exchange 5.0 client Inbox Assistant, the Do not Process Subsequent Rules option has been added to specifically stop rule processing after a particular rule has fired.

Q: Does the order in which the rules are listed have any effect on the

   actions of the qualifying rules?
A: Order of the rules doesn't matter except for a delete action. Once the
   message is deleted with a delete action, all subsequent rule processing
   on that message stops. So when in doubt, put delete rules at the bottom
   of the rule list.

NOTE: Within the Microsoft Exchange 5.0 client Inbox Assistant, the Do not Process Subsequent Rules option has been added to specifically stop rule processing after a particular rule has fired.

Q: Can I use the Inbox Assistant with the MS Mail service installed on my

   client?
A: No, because rules are Microsoft Exchange Server based, the Inbox
   Assistant will not be available without a Microsoft Exchange Server
   service properly installed. If the MS Mail messages are routed through
   an MS Mail Connector to a Microsoft Exchange user, the Inbox Assistant
   will function against those messages.

Q: Are there any Boolean logic functions available for rules? A: Semicolons can be used as an "or" condition in all fields. Put quotes
   around each word unless you really mean use this root against all words.
   For example, Subject: cat; tail - this will affect all messages with
   those roots in the subject line such as locate, retail, and so forth. To
   limit this to whole words of cat or tail, place the words in quotes, in
   other words, Subject: "cat";"tail".

Examples of rules processing:

Q: If a message matches a rule in the OOF (Out of Office) Assistant, but

   the same messages also matches a Delete rule in the Inbox Assistant,
   will the OOF Assistant rule get processed?

A: The Inbox Assistant rules will be processed first. A Delete rule in the
   Inbox Assistant will Delete the message and the OOF Assistant rule will
   not be processed.

User Bill has a local PST which is configured as the default delivery point. Bill has rules defined as follows:

  1. If mail is received from JohnDoe, delete it.
2. If mail is received addressed to "Junk Alias" move it to Folder "Later"
   in local PST.
3. If mail is received with "Bill" in the Message Body, move it to Folder
   "BackItUp" on the Microsoft Exchange Server.
4. If mail is received From Joyce addressed directly to Bill Reply with
   "I'm working on it."

Q: What happens if JohnDoe send a message to the Junk Alias (assuming that
   I am on the Junk Alias)?
A: The message will be deleted (rule #1) and no further rules will be
   processed.

Q: What happens if Joyce sends mail to the Junk Alias (assuming that I am
   on the Junk Alias)?
A: The message will be moved to the Folder "Later" (rule #2) in local PST.

Q: What happens if Joyce sends mail to the Junk Alias (assuming that I am

   on the Junk Alias) with "Bill" in the message body?
A: The message will be moved to the Folder "BackItUp" on the Microsoft
   Exchange Server (rule #3) and a reply will be sent with "I'm working on
   it" as the message body (rule #4).

Q: What happens if I receive 20 messages addressed to "Junk Alias" while my
   computer is online?
A: Each message will be processed through the list of rules and all actions
   will be taken. None of the message will remain in the Inbox because the
   action (rule #2) is a MOVE action not COPY.

Q: What happens if I receive 20 messages addressed to "Junk Alias" while my
   computer is offline?
A: Each message will be processed through the list of rules and DAMs will
   be created for each action in the Profile Dependent rules. Any Profile
   Independent rules will complete their actions.

Q: What happens if Joyce sends something directly to Bill and it has "Bill"
   in the Message Body?
A: The message will move it to Folder "BackItUp" (rule #3) on the Microsoft
   Exchange Server (no copy will be left in the Inbox) and rule #4 will
   reply with "I'm working on it" as the message body.

Q: What happens if the "Junk Alias" friendly name changes to "Junk Yard
   Alias"
A: The rules are processed on both resolved names (distinguished names have
   underline) and text strings in the to: box. You can solve all the rule
   processing scenarios by indicating a distinguished name, a text version
   of the DN, and a text version of the short alias name separated by
   semicolons in the rule's to: box.


Additional query words: faq
Keywords : kbenv kbusage XCLN
Version : 4.0 5.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.