Solved

Exchange 2010: moving tagged email to a subfolder across the whole domain

Posted on 2010-08-31
6
1,751 Views
Last Modified: 2012-05-10
I have an Exchange 2010 server and an external spam filter which tags emails with a header to mark it as spam.  I want to create a rule (or some other method) at the Exchange server that filters all tagged email into a specified subfolder.  I can create a Transport Rule  under Hub Transport which can create a header item or a number of other actions, but not actually move it to a subfolder (as far as I can see).  

I want to do this once, at the server rather than having to touch each existing user 's system (mixed Outlook 2003 and 2007) to create a folder and matching rule. Also, I want it to work for new users without manual configuration, which is why I want to do it at the Exchange level.

I know I can set the SCL and use the Junk E-mail group policy but when I tried that I realized that Outlook was doing it's own filtering as well.  I don't want that - I only want items moved if they have the specific header tag (or some other marker to be specified - I'm open to ideas).
0
Comment
Question by:vreiner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 31

Expert Comment

by:Justin Owens
ID: 33588160
The New-InboxRule cmdlet in Exchange 2010 will do that for you:

http://technet.microsoft.com/en-us/library/dd335170.aspx

Let me know if you need help with the syntax.

Justin
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 33588229
Oh, you would need to basically get all your mail recepients and then pipeline that to your New-InboxRule...  Something like:

Get-Mailbox -Server SERVER1 | New-InboxRule "MoveSpam" -SubjectContainsWords KEYWORD -MoveToFolder <MailboxFolderIdParameter>

Now, before you did this, you would have to make sure the folder exists on all the mailboxes.

Justin
0
 

Author Comment

by:vreiner
ID: 33588916
you're right, this does let me create a rule and it is executed at the server, it's not the solution I'm looking for.  Let me explain: This creates a rule at the mailbox level rather than at the server level.  This has a couple of shortcomings: the rule is subject to the user changing it, potentially breaking it.   The cmdlets have a one-time effect: each mailbox, whether existing or at time of creation, would have to have this set of cmdlets executed against the mailbox to create the folder and the rule.

The ideal solution would be if "move to folder" were an available action in a Transport Rule. It's completely server-side, happens automatically to all users and requires no maintenance other than creating the folder (which isn't even necessary if I choose a default folder such as Junk E-mail  I appreciate your suggestion as a viable alternative, if not ideal option.

Is there any way to make "move to folder" a valid option for Transport Rules, or something equivalent?
0
 
LVL 31

Accepted Solution

by:
Justin Owens earned 500 total points
ID: 33588966
I am not aware of any way to facilitate that at the transport level.  The Transport doesn't affect anything past the mailbox root.
0
 

Author Closing Comment

by:vreiner
ID: 33695089
Expert wasn't able to provide a solution, though it's possible the solution may not exist.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question