05-02-2018 08:24 AM - edited 03-08-2019 07:36 PM
Hi all,
I need to find a solution (I suppose Content Filter on specific listener) , to change domain destination for some email when a following conditions mets:
1) if email has been sent from a specific domain (example @salesforce.com) AND
2) email has been sent to a specific internal account (example user@xyz.mydomain.com) THEN
destination mail (I suppose "rcpt-to" field) has to change into user@mydomain.com
In general:
When mail Form : advisor@salesforce.com and original destination is john.smith@xyz.mydomain.com ==> filter change destination in john.smith@mydomain.com
We know we can alter the RCPT TO for a specific user using a content filter but we'd like to implement this for all users in one shot.”
Thanks for your support.
Fabrizio
Solved! Go to Solution.
05-02-2018 03:34 PM
Hi,
I've done similar tasks before with company merges where mailboxes would migrate and selective rewriting was needed.
Domain mapping is bound to listeners so
- create a new private listener on some port like 2525 (hat = the ip(s) of the ironport)
- add a smtproute 'dummy-route.local' with destination the ip of the listener on port 2525
- create a incoming content fitler: alt-dst-host = dummy-route.local
- create an incoming policy with the required recipients (old domain) as destination (or even and maybe better: a LDAP group) and activate the content filter for this policy
That should be it, I think.
Mailflow:
- mail enters system
- matches the special policy for certain recipients
- mail gets redirected to special listener
- listener rewrites recipient domain
- mail gets delivered to new domain
A bit rough but you get the idea.
regards,
Philippe
05-02-2018 03:34 PM
Hi,
I've done similar tasks before with company merges where mailboxes would migrate and selective rewriting was needed.
Domain mapping is bound to listeners so
- create a new private listener on some port like 2525 (hat = the ip(s) of the ironport)
- add a smtproute 'dummy-route.local' with destination the ip of the listener on port 2525
- create a incoming content fitler: alt-dst-host = dummy-route.local
- create an incoming policy with the required recipients (old domain) as destination (or even and maybe better: a LDAP group) and activate the content filter for this policy
That should be it, I think.
Mailflow:
- mail enters system
- matches the special policy for certain recipients
- mail gets redirected to special listener
- listener rewrites recipient domain
- mail gets delivered to new domain
A bit rough but you get the idea.
regards,
Philippe
11-26-2022 11:40 PM
Hi,
Thanks for your Solution.
I want to give a outside company a credentials that they can send email from our domain to another domains (like gmail) and I don't want to give them our domain credentials.
We have Exchange server 2016 and ESA (currently is not connect to LDAP)
My solution is to create a new DC with another domain name and connect it to the ESA, so i give them the new domain credentials to authorize them as relay and then by ESA policies change the sender domain to my domain and forward to destination, is it possible?
Any other Idea for this Problem?
11-28-2022 07:35 AM
11-28-2022 11:29 AM
My big problem is Can i change sender's domain ?
11-28-2022 02:04 PM
You can use a couple of different methods to re-write a senders domain, although from the original post you said destination domain. Hence the suggestions so-far.
The User Guide states: AsyncOS provides several methods for rewriting Envelope Sender and Recipient addresses in the email pipeline. Rewriting addresses can be used, for example, to redirect mail sent to a partner domain or to hide (“mask”) your internal infrastructure.
To re-write a sender address you can use a Masquerade Query, Domain Mapping and Alias Tables. See the section of the User Guide under Rewriting Addresses.
Regards,
SD
11-29-2022 01:50 AM
Thanks a lot Shane
Masquerade Query is suitable for my problem because it rewrites the sender and recipient but Domain Mapping and Alias Tables are just for changing recipients.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide