cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1074
Views
5
Helpful
1
Replies

Strip Attachment for a single recipient on a multi recipient email?

Duane Gullett
Level 1
Level 1

Are there any creative ways on a multiple recipient email to take specific actions for a single recipient only. 

For example, we want to send an email to 5 recipients and the email may or may not contain attachments. If attachments exist, I was to strip the attachment for the one recipient only and allow the other four recipients to receive he attachment. The recipient I want to strip all attachments for is a constant, not an LDAP member or some other variable.

I understand in content and mail filters that a single a single match on a recipient trigger, matches for all recipients. Are there any creative rerouting or other ways to accomplish this? 

I was thinking like 

Condition:

If message contains recipient Joe

Action

Strip recipient Joe

Send a copy of the email to Joe at alternative host

Strip the attachments sent to Joe at the alternative host

Will something like sending a copy generate a new email with only one recipient, Joe, that I can strip all attachments?

I am looking for any creative solutions.

Thank you.

1 Reply 1

Mathew Huynh
Cisco Employee
Cisco Employee

Hey Duane,

You can achieve this through the use of Message Splintering on the ESA.

Essentially to make the ESA split 1 MID into two (or more) MIDs for respective recipients if you wish to handle emails differently per recipient rather than impacting all others in one MID.

What you'll need to do for your example; i'll use joe@domain,com, alpha@domain.com, beta@domain.com, delta@domain.com and theta@domain.com

For example you want emails where recipient joe@domain.com to have the attachments stripped and sent the email to an alternate host which will handle joe@domain.com's mail box.

What you'll do is using Incoming Mail Policies > Create a new Policy

Name it a meaningful name like : Strip_attachments_joe

Order it '1'

Add Recipient -> joe@domain.com

Submit this policy

Create your content filter to strip attachments (conditions is optional if you want to match certain specifics before doing any actions).

Then also select send to alternate host to re-route to a different mail server

Submit this content filter.

Now go back to GUI > Mail Policies > Incoming Mail Policies

Edit the content filters just for this new Strip_attachments_joe policy and any other filters you want to apply.

Submit and commit.

Make sure this filter is not deployed in any other policies/DEFAULT

So what will happen is...

Emails from sender@outside.com go joe@domain.com alpha,beta,delta and theta@domain.com will be accepted.

the ESA will split the email into two MIDs

one for joe@domain.com (matching your new policy)

and the other 4 will match any other defined or DEFAULT policy.

Where the filter stripping attachments will only apply for joe@domain.com.

I hope this helps.

Regards,

Matthew