Solved

Changing the Senders address on mail Forwarded by our Exchange 2007

Posted on 2009-05-08
17
1,391 Views
Last Modified: 2012-06-22
Is it possible to change the Senders address on mail I am forwarding from our Exchange 2007 as currently the messages being forwarded are being received with the original senders address.

The address I want to change it is still a domain user.

0
Comment
Question by:Steveh24
  • 9
  • 8
17 Comments
 
LVL 15

Expert Comment

by:zelron22
ID: 24336462
Can you give more information as to how you want this to happen and under what circumstances?  E.g. do you want this to happen every time mail is forwarded, or only when certain people forward it, or only when it's forwarded to certain addresses, etc.
0
 

Author Comment

by:Steveh24
ID: 24336661
Let me explain why I want to do this.

I want to to set up a support facility for our customers where they can send texts via Email, but in order to restrict then to only being able to send texts to us, the Email address they send their message to is one that I have created on AD, when the Email is received it is forwarded onto an address given to us by the SMS Gateway providor, but in order for this to work the senders address has to be one I have defined as this has the correct Username & password, but at the moment it is seeing the original senders address which doesn't have the correct credentials and the SMS is not generated.

The customer thinks that they are sending their Email to an SMS Gateway without knowing that we are actually forwarding the message to the SMS Gateway.

Hope this explains what I want to do
0
 
LVL 15

Expert Comment

by:zelron22
ID: 24337022
I don't know if this will work, but you could try it.  Create a new transport rule.  Select messages that are sent to the user you created.  In the actions, check set header with value, check remove header, and check redirect the message to addresses.

Set sender to the address you want to send from.  Remove the sender header (I hope that it does this in parallel) and then set the message to redirect to the gateway address you want.

If that doesn't work, you might try splitting it into two rules, where the first one strips the sender and redirects the message, then second one just adds the header to an email sent to the redirected address.
0
 
LVL 15

Expert Comment

by:zelron22
ID: 24337029
0
 
LVL 15

Expert Comment

by:zelron22
ID: 24337156
I guess rather than SENDER you should use FROM (or From:).
0
 

Author Comment

by:Steveh24
ID: 24352815
What values should I use for 'set header with value'

0
 

Author Comment

by:Steveh24
ID: 24353161
I have created the following rule, and then sent a test message from my PC to the support email, but nothing is ever received in the Administrator's Inbox.

Apply rule to messages

Sent to support-email

Set "From" to "support-email@domain.com"

  and redirect the message to Administrator

I tried to split the Transport Rules in to two as you suggested, but still nothing is ever received in the Administrator's Inbox.

Have I entered the selected values incorrectly

0
 
LVL 15

Expert Comment

by:zelron22
ID: 24354508
It may not be possible without a 3rd party app or script that polls a mailbox for new messages, reads the content and copies it into a new email.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 15

Expert Comment

by:zelron22
ID: 24354517
Does the SMS Gateway provider have a suggestion as to how to handle this?  I would think they have other entities dealing with the same situation.
0
 

Author Comment

by:Steveh24
ID: 24355040
I tried a simple rule that takes all mail sent to support-email and redirect it to myself and that works fine, so it is something to do with the values I use for 'set header with value'

What values should I be entering and how do I enter them
0
 
LVL 15

Expert Comment

by:zelron22
ID: 24356758
It looks like what you did is correct, if it in fact would work.

Use the message tracking tool to see what happened to your test email.
0
 
LVL 15

Expert Comment

by:zelron22
ID: 24356787
Wait, let's back up a minute.  How were you initially forwarding the emails when you were running into the problem that the SMS Gateway provider was seeing the originator's email address?
0
 

Author Comment

by:Steveh24
ID: 24359705
I used the EMC to change the Mail Flow for the support-sms account so that mail was forwarded to the SMS Gateway, but because the mail arrived with the original senders address the SMS wasn't sent
0
 

Author Comment

by:Steveh24
ID: 24362536
I sent another test message to the support-sms address, which should then be forwarded to a test account, I then ran the Message Tracking tool and I can see the Email I sent to support-sms, but it never gets forwarded to the test mailbox, but if I remove the  'set header with value' from the hub transport rule, then I can see the message being forwarded to the test mailbox

0
 

Author Comment

by:Steveh24
ID: 24362744
I forgot to take off the mail forwarding in the Mail Flow settings, as soon as I did this the mail redirect in the hub transport rule stopped working, so I edited the hub transport rule to redirect to another user, but this didn't work either, which leads me to believe that whatever rule is configured it will be ignored and that the hub transport isn't working, but having read numerous articles it should be, so unless there is a setting that enables the hub transport, something else must be wrong.

Any ideas ????????
0
 
LVL 15

Expert Comment

by:zelron22
ID: 24363774
Nope, I'm all out.
0
 

Accepted Solution

by:
Steveh24 earned 0 total points
ID: 24699663
Problem resolved by re-installing the Hub Transport
0

Featured Post

Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

Join & Write a Comment

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a mailbox database 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 Servers >> Data…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

747 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