Solved

Auto response and message forwarding for secondary smtp

Posted on 2014-11-06
5
240 Views
Last Modified: 2014-11-13
Hi Experts,

I have to configure a auto reply and forward rule for about 500 mailboxes.
Our systems running on an exchange 2010 cluster.

An example what i need to do ....

User "John Doe" with following smtp:
Primary: john.doe@new.com
Secondary: john.doe@old.com

When now anyone send an e-mail to john.doe@old.com (secondary smtp) he must got a auto reponse text message like "John Doe is now reachable with john.doe@new.com ...." and the original message must be forwarded to the primary smtp john.doe@new.com

Is there any possible solution with transport rules on exchange management or server side rules for the mailbox?

If something is not clear I will try to explain it.

Thanks for your help!
0
Comment
Question by:it_slu
  • 3
  • 2
5 Comments
 
LVL 37

Expert Comment

by:Jamie McKillop
Comment Utility
Hello,

How I would go about this is to create distribution groups for each user and move the old.com addresses to the distribution groups. Each group would have the corresponding mailbox as a member. You can then setup a server-side autoreply rule in each mailbox to fire when an email is sent to the distribution group.

-JJ
0
 

Author Comment

by:it_slu
Comment Utility
Hallo,

Thanks for your reply. Your solution sounds like a lot of work for about 500 mailboxes. Of course it would be possible with powershell but this would exceed my skills in scripting.

But it looks like there is no other way. Because every Mailbox with the old Domain (@old.com) need a personally mail forwarding rule. This is not possible to configure on the management console, right?

Thanks!
0
 
LVL 37

Expert Comment

by:Jamie McKillop
Comment Utility
The issue is with the way Exchange routes mail and with the way rules work. You need to create rules based on object, not SMTP address. You won't be able to create separate rules for different SMTP addresses on the same object.

Yes, you could script this with powershell as it would be a lot of work manually.

-JJ
0
 

Author Comment

by:it_slu
Comment Utility
I have created a server side rule that looks for the secondary smtp address in the message header and auto reply with text message that this e-mail address is no longer active. That's all fine. But there is some issue when I send a message from the internal network.

If a user from our company send a message to john.doe@old.com (secondary smtp / old address) outlook e-mail address resolution would dissolve the e-mail address to the username. And then the e-mail will be sent to john.doe@new.com (Primary smtp / new address) and not to the secondary smtp address. As a result of this the server side rule for auto reply won't work because the old e-mail address is not detected in the mail header.

Is there a solution for this? Apart from this  your soltuion works fine. I've just tested it. Thanks!
0
 
LVL 37

Accepted Solution

by:
Jamie McKillop earned 500 total points
Comment Utility
No, unfortunately, this is a function of how Exchange routes messages. Exchange doesn't actually use SMTP addresses internally, it uses X500 addresses. All SMTP addresses are resolved to the object. This is why you can't create a rule based on individual SMTP addresses on an object and why you need to use the distribution group method I outlined above.

-JJ
0

Featured Post

Wish Marketing would stop bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Suggested Solutions

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
In this video we show how to create a Distribution Group 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 Recipients >>…
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

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now