Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Outlook rule based on sent to address, not AD  user

Posted on 2009-04-06
9
Medium Priority
?
1,029 Views
Last Modified: 2012-05-06
I'd like to be able to write an Outlook rule that will move a message based on the address it was sent to, not the user.  I tried using "specific words in the recipient's address", but that didn't work.  For example, my AD account has several email addresses assigned to it.  If someone sends an email to a specific address, I'd like to be able to move that message based on whether it was sent to one@mydomain.com or two@mydomain.com, or whatever.
0
Comment
Question by:David Williamson
[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
  • 4
  • 3
  • 2
9 Comments
 
LVL 9

Expert Comment

by:L3370
ID: 24079728
start a blank rule. For the first condition select "Sent to People or distribution list"

click on the highlited section "people or distribution list." It will come up with the GAL to select from, but you should be able to type an email address in manually in the To: section.  Then of course set the condition to move the message to a specific folder.

I hope this works for you.
0
 
LVL 9

Accepted Solution

by:
SirtenKen earned 2000 total points
ID: 24079794
When creating the rule, select "with specific words in the message header" and type in the email address you'd like to sort based on. This will work for emails coming from outside your domain.
0
 
LVL 9

Expert Comment

by:L3370
ID: 24079818
sirtenken's suggestion looks better than mine :)
0
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

 
LVL 2

Author Comment

by:David Williamson
ID: 24079851
I tried the message header option, that didn't work either.  The strange thing is, if I right-click on the message and choose options, I can see the address I'm trying to filter right there.  For some reason, the rule is not finding that in the header.
0
 
LVL 2

Author Comment

by:David Williamson
ID: 24079879
ok...I was trying to create these rules on Outlook 2007, which has basically the same process for creating rules.  I decided to open my mailbox from another computer with Outlook 2003.  I set up the rule from scratch there using the message header search, and it worked!  The messages move properly.  So why wouldn't a rule created in Outlook 2007 behave the same way?
0
 
LVL 2

Author Comment

by:David Williamson
ID: 24079912
ok, even more strange, the rule I created in outlook 2003 is now working on 2007 on my regular workstation...

any ideas why this would happen when my attempts to get the very same rule to work created in 2007 failed?
0
 
LVL 9

Expert Comment

by:SirtenKen
ID: 24079947
Are you testing from an account outside your domain? When I performed the tests, I had to use an account from outside because otherwise, the Outlook client resolves the display name rather than "seeing" the email address. Also, an internal email isn't going to have the same kind of header as one that came from Outside your organization. Other than that, I'm not sure why one client reads the header differently than another.
0
 
LVL 9

Expert Comment

by:SirtenKen
ID: 24080007
Do you happen to know what your Exchange server version is? The client is supposed to work best with the Exchange server of the same generation. Outlook 2007 should work best with Exchange 2007, Outlook 2003 with Exchange 2003. The rules are stored on the server, so perhaps when the client tried to save the rule, it was somehow stored incorrectly.
I've seen instances of rules that should be working and don't before. Often times, I'll simply disable and reenable them and voila, they work correctly.
0
 
LVL 2

Author Comment

by:David Williamson
ID: 24080131
We're using Exchange 2003, so in that case the 'generation' is different.  I haven't tested on any internal to internal emails, just external to internal.

I created a second rule for a different email address on 2007, and it worked immediately.  Ah well!  Chalk it up to M$.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

618 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