cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1102
Views
0
Helpful
1
Replies

Masquerading with wildcards

Tony Kilbarger
Level 1
Level 1

We are running ESA's on version 10.0.2

 

I have a request I am trying to determine the feasability of.  Assume we have the following email addresses sending email:

 

user1.abc@mycompany.com

user2.abc@mycompany.com

user3.abc@mycompany.com

user4.abc@mycompany.com

user5.abc@mycompany.com

 

When these accounts send email, we want to rewrite their address as

user1@mycompany.com

user2@mycompany.com

user3@mycompany.com

...

Basically dropping the .abc part of the username.

 

I am familiar with masquerading, but is it possible to do this using something like a wildcard?  There could be up to thousands of users matching this pattern,  and I don't want a masquerade entry for each.

 

Can you do something like:

*.abc@mycompany.com ---> *@mycompany.com  in the masquerade? 

 

Any other way to rewrite these?  We need to rewrite the from, cc, reply to, etc so I am thinking Masquerading is the right answer.

 

Thanks

 

1 Reply 1

Mathew Huynh
Cisco Employee
Cisco Employee
Hello Tony,
I had a look into the ESAs availability and i was unable to get this type of setup to work to have a wildcard value.

I do notice, Reply-to, From headers are within the header side of the email.
The "CC" (at the envelope level are stored as envelope recipients) so we cannot alter it with a wildcard value, however in the "cc" headers which you see on your MUA we might be able to edit with a message filter to look for these headers, find the string .abc@mydomain.com and replace it with @mydomain.com

Essentially when an email comes in with the Header values of

From: Mathew <matthew@cisco.com>
To: Matt <matt.abc@mydomain.com>
CC: anotheruser <anotheruser.abc@mydomain.com>
Reply-To: <matt.abc@mydomain.com>
Subject: This is a test sample

This is a test.


We can re-write these headers so when they appear on the MUA, we can replace anything .abc@mydomain.com to mydomain.com effectively displaying:

From: Mathew <matthew@cisco.com>
To: Matt <matt@mydomain.com>
CC: anotheruser <anotheruser@mydomain.com>
Reply-To: <matt@mydomain.com>
Subject: This is a test sample

This is a test.

In your outlook for example.
I believe this is as far as (i can think of anyway) we can go on the ESA side.

Let me know if this would meet the requirements.

Regards,
Matthew