Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Microsoft Exchange server-side transport rule question

Posted on 2013-11-06
13
Medium Priority
?
679 Views
Last Modified: 2014-05-06
I'm trying to create a successful rule that says when an e-mail is sent to John Smith and the From address matches 'domain.com', copy the message to 'Jane Smith'.

I tested this scenario with my personal and work e-mails and had the message copied to a dummy account and changed the parameters to match the circumstances involved.  However, 'Jane Smith' said she's not getting the e-mails.

The Transport Rule logic reads like this:

Apply rule to messages
sent to 'johnsmith@mycompany.com'
   and when the From address matches 'domain.com'
copy the message to 'janesmith@mycompany.com'

Is there anything else that would prevent this from functioning properly?
0
Comment
Question by:djhath
[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
  • 6
  • 6
13 Comments
 
LVL 9

Expert Comment

by:MHMAdmins
ID: 39627822
try to set it as a BCC to janesmith, but I would check if she has any aliases and verify the correct SMTP address being sent to that users mailbox.
0
 
LVL 3

Author Comment

by:djhath
ID: 39627843
Thank you for your response.  The idea of the transport rule is to catch anything that is domain-specific (i.e. "domain.com").  Does that change anything?
0
 
LVL 9

Expert Comment

by:David Carr
ID: 39628314
Have you investigated where the messages are going that do not get  delivered to Jane Smith?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 9

Expert Comment

by:MHMAdmins
ID: 39628323
It would be if her correct SMTP address is Janesmith1@mydomain.com and an alias is not set for Janesmith@mydomain.com.
0
 
LVL 3

Author Comment

by:djhath
ID: 39629101
I deleted and re-created the rule and wanted to provide the output of what it looks like as an EMS command.

Exchange Management Shell command completed:
New-TransportRule -Name 'Rule' -Comments '' -Priority '0' -Enabled $true -SentTo 'johnsmith@mycompany.com' -FromAddressMatchesPatterns 'domain.com' -CopyTo 'janesmith@mycompany.com'

Looking at the rule logic through the EMC New Transport Rule wizard:

Apply rule to messages
sent to 'johnsmith@mycompany.com'
   and when the From address matches 'domain.com'
copy the message to 'janesmith@mycompany.com

When choosing the 'sentto' and 'copyto' addresses, I'm choosing straight from a list of all mailboxes in Exchange, so I can't imagine the smtp address is being transposed incorrectly by the system.

I did check the aliases and both johnsmith and janesmith have no other aliases.
0
 
LVL 9

Expert Comment

by:MHMAdmins
ID: 39630100
When you specify and when the From Address Matches try adding asterisk so it should look like '*.domain.com' and see if that works.
0
 
LVL 3

Author Comment

by:djhath
ID: 39630295
The period between the asterisk and 'domain.com' would suggest that there are subdomains, no?
0
 
LVL 9

Expert Comment

by:MHMAdmins
ID: 39630303
just using the wildard would specify ANY address with the domain name attached.
0
 
LVL 3

Author Comment

by:djhath
ID: 39630306
It wouldn't take the asterisk as a wildcard in front of domain.com:

*domain.com

or

*.domain.com

"The regular expression you entered contains the following error: There's a problem with your use of the wildcard ( * ) character. In a regular expression, you need at least one character before the wildcard character.
0
 
LVL 9

Expert Comment

by:MHMAdmins
ID: 39630313
If you have a character infront of the * it would filter J*.domain.com it would then only use the rule if anyone with an email address that starts with J@domain.com. The *.domain would allow any username followed by domain.com to run the rule.
0
 
LVL 3

Author Comment

by:djhath
ID: 39630352
As mentioned, I tried "*.domain.com" and it generated the same error and would not accept that as a wildcard expression.

I suppose I could do something like

a*@domain.com
b*@domain.com
c*@domain.com
d*@domain.com
e*@domain.com
f*@domain.com
g*@domain.com
h*@domain.com
i*@domain.com
j*@domain.com
k*@domain.com
l*@domain.com
m*@domain.com
n*@domain.com
o*@domain.com
p*@domain.com
q*@domain.com
r*@domain.com
s*@domain.com
t*@domain.com
u*@domain.com
v*@domain.com
w*@domain.com
x*@domain.com
y*@domain.com
z*@domain.com

It seems like a bastardized way of something that should be a lot simpler.
0
 
LVL 9

Accepted Solution

by:
MHMAdmins earned 2000 total points
ID: 39630376
No lies, I've asked a few other exchange guys and they said to try and run the powershell command from elevated mode and then see if it works as sometimes the GUI is a little fickle.
0
 
LVL 3

Author Comment

by:djhath
ID: 39630409
That's a good point.  I actually went ahead and did the bastardized version I wrote in my last post.  However, if that doesn't work, I'm going to re-do it, capture the EMS command expression and syntax, then re-create the rule again using EMS in elevated mode.  I will advise as things progress.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
In this video we show how to create an Address List 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 Organization >> Ad…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

688 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