Solved

Auto response and message forwarding for secondary smtp

Posted on 2014-11-06
5
261 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
ID: 40428324
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
ID: 40428468
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
ID: 40428696
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
ID: 40439429
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
ID: 40439678
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2003 to Office 365 8 56
powershell script SMTP report 6 37
Intune/ Microsoft EMS 1 30
open ost file into new machine? 7 50
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In this video we show how to create a User Mailbox 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 >> Mailb…
In this video we show how to create a Shared Mailbox 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 >> Sha…

785 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