Solved

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

Posted on 2010-08-31
6
1,741 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net creating Contact in Outlook 1 50
Exchange 2016 Services 1 33
Outlook 2013 Email Autocomplete List Broken / Not Loading 5 49
exchange, office 365 13 31
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
In this video we show how to create an Accepted Domain 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 >> Ac…
how to add IIS SMTP to handle application/Scanner relays into office 365.

756 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