Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Auto response and message forwarding for secondary smtp

Posted on 2014-11-06
5
Medium Priority
?
329 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 1500 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, I will demonstrate that how to do a PST migration from Exchange Server to Office 365. This method allows importing one single PST, or multiple PST's at once.
Among the most obnoxious of Exchange errors is error 1216 – Attached Database Mismatch error of the Jet Database Engine. When faced with this error, users may have to suffer from mailbox inaccessibility and in worst situations, permanent data loss.
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
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

571 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