Link to home
Start Free TrialLog in
Avatar of msweisberg
msweisbergFlag for United States of America

asked on

Creating an exchange 2010 transport rule

Recently just completed a domain switch from name@companyname.net to filastname@companyname.com.  The default reply has been changed to the .com.

What's the best way to setup a transport rule so that when someone sends an email to the @companyname.net it sends a reply email back with a nice email that it is no longer being used and to use the @companyname.com instead.
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

ASKER CERTIFIED SOLUTION
Avatar of Exchange_Geek
Exchange_Geek
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do you want the email still being received by user when the notification already send out to the user? we are facing the similiar thing with you, once our subsidary moved to google, they want any email send to them (old email), they still get it and on the sametime a notification will send to the sender to let sender about the changes. However, the Transport Rule doesn't meet the requirement. The Transport rule only send the notifcation and drop the email being send to the recipient.

You may require setup the OOF for this case or else looking for third party product.
Avatar of msweisberg

ASKER

I tried the script that exchange geek recommended and while it applied correctly it is still allowing emails through to the old address.  Not sure what I am doing wrong.
Are you sure the email comes with "@companyname.net" ....as we have email address as

@companyname.net
@company-name.net
@companyname.com

So if i have a Transport rule for @companyname.net people can still send emals to my same address if they send to other 2 in my email address tab :)

- Rancy
This is the transport rule script I am using:
receipient address contains 'Admin@companyname.net', send 'we have changed from companyname.net to companyname.com.  Please resend using our new email address.' to sender with'5.7.10'

This is what I have for the delivery report on the test email from an outside email address:

Delivery Report for  Administrator ¿(administrator@companyname.com)¿
Pending
8/7/2012 11:00 AM companyname.companyname.local
Message was received by companyname.companyname.local from server120.appriver.com.

8/7/2012 11:00 AM companyname.companyname.local
The e-mail address for recipient "Admin@company.net" was updated to the e-mail address "administrator@companyname.com". The message is in the process of being delivered.
Delivered
8/7/2012 11:00 AM companyname.companyname.local
The message was successfully delivered.

So the email gets to the box and I never get a bounce back.
So its company.net and not companyname.net as per Transport rule..... so for this i guess you need to have another rule with company.net.

- Rancy
Sorry about that...that was a typo.  In this paragraph it should read:

8/7/2012 11:00 AM companyname.companyname.local
The e-mail address for recipient "Admin@companyname.net" was updated to the e-mail address "administrator@companyname.com". The message is in the process of being delivered.
Delivered
Was this a reply to a message ??

- Rancy
@msweisberg Ok let me get some points clear

you need to respond to an email that comes in with anyone@companyname.net and want Exchange to respond stating - sorry we've changed to @companyname.com so email again with @companyname.com.

Now, until here i am clear, what is the confusing **and deciding part** is - do you want the email to be delivered to the mailbox OR get rejected to the sender?

Please clarify on this point.

Regards,
Exchange_Geek
Can you please run the command ....

Get-transportRule | fl and share the output

- Rancy