msweisberg
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
You may require setup the OOF for this case or else looking for third party product.
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
@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
ASKER
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@companynam e.com)¿
Pending
8/7/2012 11:00 AM companyname.companyname.lo cal
Message was received by companyname.companyname.lo cal from server120.appriver.com.
8/7/2012 11:00 AM companyname.companyname.lo cal
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.lo cal
The message was successfully delivered.
So the email gets to the box and I never get a bounce back.
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@companynam
Pending
8/7/2012 11:00 AM companyname.companyname.lo
Message was received by companyname.companyname.lo
8/7/2012 11:00 AM companyname.companyname.lo
The e-mail address for recipient "Admin@company.net" was updated to the e-mail address "administrator@companyname
Delivered
8/7/2012 11:00 AM companyname.companyname.lo
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
- Rancy
ASKER
Sorry about that...that was a typo. In this paragraph it should read:
8/7/2012 11:00 AM companyname.companyname.lo cal
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
8/7/2012 11:00 AM companyname.companyname.lo
The e-mail address for recipient "Admin@companyname.net" was updated to the e-mail address "administrator@companyname
Delivered
Was this a reply to a message ??
- Rancy
- 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
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
Get-transportRule | fl and share the output
- Rancy
And also Here is the list of rules that you can manage in exchange 2010:
http://webcache.googleusercontent.com/search?q=cache:http://technet.microsoft.com/en-us/library/dd638183.aspx
- Rancy