Steveh24
asked on
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.
The address I want to change it is still a domain user.
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.
ASKER
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
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
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.
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.
I guess rather than SENDER you should use FROM (or From:).
ASKER
What values should I use for 'set header with value'
ASKER
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
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
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.
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.
ASKER
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
What values should I be entering and how do I enter them
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.
Use the message tracking tool to see what happened to your test email.
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?
ASKER
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
ASKER
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
ASKER
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 ????????
Any ideas ????????
Nope, I'm all out.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.