Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dynamically change sender address on external mails 1

Status
Not open for further replies.

simonjcook

IS-IT--Management
Mar 2, 2004
94
GB
Does anyone know whether it is possible to dynamically change the from address on an email as it leaves the exchange environment?

ie. sender@abc.com sends message to the internet and the from address is dynamically changed to sender@def.com

Any help in this area gladly received.


Regards

Simon J Cook

< Keyboard Error - Press F1 to continue >
 
Thanks for the feedback,

I did search prior to posting.
I did feel this question must have been asked previously but my searches did not return anything relevent.
If you know the URL of a relevent post that would be useful.

Regards

Simon J Cook

< Keyboard Error - Press F1 to continue >
 
Thank you for the the link Pat, much appreciated.

It looks like there is no elegant solution to this.

The users in domain abc.com are transferring to def.com.
def.com and associated mailboxes are hosted by a seperate company.
The users are sending from the existing abc.com infrastructure and all replies should be routed into the new def.com infrastructure.
The replies are subsequently routed back to abc.com via the targetaddress AD property / alternate recipient.

There is no requirement to be selective for the senders address.

When the users physically transfer to def.com the targetaddress / alternate recipient will be removed from the def.com mailbox, mail will be delivered locally and they can continue to work as normal.

The best solution in the linked post might well be using a pop3 client where the reply address is usually a free text field.

One idea I've just had;
Use recipient policy to set a new primary smtp address of def.com for each user in the abc.com environment.
When they send externally, the reply address will be def.com.
They will still be able to receive mail on their abc.com address as it would now be a secondary smtp address and the environment is configured to route mail inbound for that domain.
Possible downside - if anyone sends internally to a def.com address it will resolve to an internal recipient and not be sent outbound...
Although that shouldn't be a problem we are currently diverting mail back to that environment anyway - so the outcome is the same...
(might be missing some finer points here).

Regards

Simon J Cook

< Keyboard Error - Press F1 to continue >
 
noveyron is on the same wave-length...

Is the solution valid?

Regards

Simon J Cook

< Keyboard Error - Press F1 to continue >
 
My interpretation of your question:

ABC is hosted on internal server A, DEF is hosted on external server B, and you want to find a solution that will allow users on internal domain ABC to send as external domain DEF?

I'm not sure the above solution would work effectively, there would be numerous issues with it.

Do you have RPC over https access to the DEF server? (I may be thinking a complete load of rubbish here ;) )
 
Sounds like you need to change the masquerade domain in the SMTP connector. That isn't dynamic but it does change the SMTP address as you requested.
 
Another interesting solution, thank you.
The only issue I see with the masquerade domain is that not all users are transferring from abc.com to def.com at the same time.
Also, users have elected to change their name component of their email address at def com (usually to shorten it).

Therefore masquerading the domain is not a viable solution.

Thanks to everyone for responding to this post.
I think Noveyron gets the star and who beat me by 15mins... (I was still typing)... ;)


Regards

Simon J Cook

< Keyboard Error - Press F1 to continue >
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top