Re: Moving mail items based on Subject text

Tech-Archive recommends: Speed Up your PC by fixing your registry



Rules Wizard rules apply only to messages coming into the mailbox's Inbox.

For rules to fire on messages that arrive in public folders, then you need
to create a rule on the public folder using the Folder Assistant. For more
information, see this: http://support.microsoft.com/kb/903289.
--
Ed Crowley
MVP - Exchange
"Protecting the world from PSTs and brick backups!"

"msnews.microsoft.com" <jon@xxxxxxxxxx> wrote in message
news:u5E48hFBIHA.5652@xxxxxxxxxxxxxxxxxxxxxxx
Thanks Ed.

I'm aware that some rules are Client Only, but this rule isn't showing as
such in the Rules and Alerts dialog.

It's also dead simple: When mail arrives, if the subject field contains
[Text], move it to the [Spam] folder. These are both public folders.

The rule works fine if run manually. It also works automatically on
anything that arrives in my inbox (or any other local folder for that
matter).

I created the rule after reading the following post regarding server-side
rules:

------------------------------

On the Tools menu, click Rules Wizard.

In the Rules Wizard dialog box, click New.

Under Which type of rule do you want to create, click the Check messages
when they arrive check box, and then click Next.

Under Which condition(s) do you want to check, click to select the Sent
Only To Me check box, or any other criteria that you want, and then click
Next.

Under What do you want to do with the message, click to select the have
server reply using a specific message check box.

Under Rule Description, click the underlined phrase a specific message. If
this is the first time that you have created a server-side rule, click Yes
when you receive the following prompt:
You are creating a rule that will be incompatible with versions of Outlook
earlier than Outlook 2000. If you create this rule, you cannot use your
rules with Outlook 98 and earlier versions. For more information, search
for help on "Upgrading Rules." Are you sure you want to create this rule
NOTE: This prompt only occurs once. If you use these steps again, you will
not receive this prompt.

In the Rule Description, click a specific message.

In the untitled message View menu, type the subject and the message body
that you want to be sent, and then click Save and Close.

Complete the Rule Wizard instructions, click Finish and then click OK.

------------------------------

Obviously, I adapted this to suit the rule I needed, but it appears that
Exchange is not running the rule when the mail arrives in the public
folder. I don't see any place to specify the 'arrival' destination in the
rules wizard, so how do I get the rule to run when an item arrives in a
public folder?

Will such a rule run OK even if the client is not logged on?

JF.

"Ed Crowley [MVP]" <curspice@xxxxxxxxxxxxxx> wrote in message
news:epkNaoJ$HHA.748@xxxxxxxxxxxxxxxxxxxxxxx
Some rules fire on the server, some don't. What is the exact rule?
--
Ed Crowley
MVP - Exchange
"Protecting the world from PSTs and brick backups!"

"msnews.microsoft.com" <jon@xxxxxxxxxx> wrote in message
news:OF4aI6D$HHA.5160@xxxxxxxxxxxxxxxxxxxxxxx
Thanks Andy.

I didn't realise it was possible to create a rule to run on the server
from an Outlook client, but I've done this now and it works fine when
run manually (Run Rules now), but doesn't seem to work on mail as it
arrives in the shared folder.

It's a very simple rule and I've checked for errors.

Any ideas?

JF.

"Andy David {MVP}" <adavid@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:mj62f3tre4eacv2flt53vm8dp3kjnalclc@xxxxxxxxxx
On Wed, 19 Sep 2007 12:20:12 +0100, "msnews.microsoft.com"
<jon@xxxxxxxxxx> wrote:

I'm using Exchange with SBS 2003 R2 and need to move mail items
delivered to
a shared folder based upon the Subject field containing a specific text
string.

The items concerned are emails identified as spam by our server-based
malware program and have a specific text string (e.g. 'SPAM: ')
appended to
the front of the text in the subject field.

On the client PCs this is achieved with a simple Outlook rule that
looks for
the text string in the subject field and moves spam items to a separate
Spam
folder.

How do I achieve the same thing on the Exchange server to deal with
spam in
shared mail folders on the server?

1. Open up the shared mailboxes and use an Outlook rule
2. Have the server-based program do it.
3. Write your own event sink.
4. Use another program
5. Upgrade to Exch 2007 and use a transport rule.




JF.









.


Quantcast