?
Solved

Changing the Senders address on mail Forwarded by our Exchange 2007

Posted on 2009-05-08
17
Medium Priority
?
1,456 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: 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!

 
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
 
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

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.
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

762 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