Watchguard SMTP Masquerading

In WatchGuard XTM SMTP Proxy definitions, it implies you can set up a rule for "masquerading".  However, how do you set up the replacement string?   For instance, if I want person@contoso.com to be redirected to person@contoso.org, it is easy enough to match the string and replace it.  But, if I want everyone @contoso.com to be redirected to their same name @contoso.org, how do you set up the replacement string?  You can use a wildcard on the string match but what syntax do they use for the replacement string to attach the portion before @contoso.com.   Seems that this should be a simple process for creating masquerading.
REngimannAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeremy WeisingerSenior Network Consultant / EngineerCommented:
This is configured in the proxy settings. Mail From and Rcpt To is where you configure it.

SMTPProx.png
REngimannAuthor Commented:
Thanks - I know WHERE to set up the rewrite... just could not get a valid replacement string.  For instance, if I use *@contoso.com in the Pattern Match (or Regular Expression) and the incoming address is user@contoso.com, I could not find a replacement string that would give me user@contoso.org.  I tried the typical regular expression field information (like $` , etc.) to get the string preceding the @contoso.com but it appears the replacement field only allows literal characters.
Jeremy WeisingerSenior Network Consultant / EngineerCommented:
If you don't switch to the advanced view it will handle the syntax for you. But this should replace the domain of the email address when in advanced view:
Pattern match: *@contoso.com
Replace action: \1@contoso.org

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
REngimannAuthor Commented:
Thanks Jeremy - didn't think to try the group id replacement option.  Your solution is perfect!
Jeremy WeisingerSenior Network Consultant / EngineerCommented:
Glad to help. :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hardware Firewalls

From novice to tech pro — start learning today.