[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Changing the Senders address on mail Forwarded by our Exchange 2007

Posted on 2009-05-08
17
Medium Priority
?
1,482 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

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.

Question has a verified solution.

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

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
how to add IIS SMTP to handle application/Scanner relays into office 365.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

650 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