[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1504
  • Last Modified:

Changing the Senders address on mail Forwarded by our Exchange 2007

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
Steveh24
Asked:
Steveh24
  • 9
  • 8
1 Solution
 
zelron22Commented:
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
 
Steveh24Author Commented:
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
 
zelron22Commented:
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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
zelron22Commented:
I guess rather than SENDER you should use FROM (or From:).
0
 
Steveh24Author Commented:
What values should I use for 'set header with value'

0
 
Steveh24Author Commented:
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
 
zelron22Commented:
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
 
zelron22Commented:
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
 
Steveh24Author Commented:
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
 
zelron22Commented:
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
 
zelron22Commented:
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
 
Steveh24Author Commented:
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
 
Steveh24Author Commented:
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
 
Steveh24Author Commented:
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
 
zelron22Commented:
Nope, I'm all out.
0
 
Steveh24Author Commented:
Problem resolved by re-installing the Hub Transport
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 9
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now