01-23-2017 08:33 AM
As everyone is, we are attempting to reduce the number of spoofed emails entering our environment. One step we want to take is to tag inbound emails with a subject prefix, such as EXT, so that users know that the email originated from outside our environment.
We are looking at implementing some inbound filters using the envelope sender and 'does not contain' option, where we would then list our internal domains.
Is this the best/most efficient way to identify these types of emails?
Thanks for the assistance.
Solved! Go to Solution.
01-23-2017 09:51 AM
Hi Mark,
You can add an inbound content filter with the below conditions.
Conditions:
subject != "[External Email]" --> the email subject do not already contain this subject.
mail-from != "domain\.com" --> the sender is not from the internal domain. (Optional depending on your current mail-flow if you allow emails from internal domain to be treated as inbound)
Action:
edit-header-text("Subject", "(.*)", "\\1 [External Email]"); (select prepends the subject with "[External Email]")
You would need to test and modify the rules based on your requirement.
Thanks
Libin Varghese
01-23-2017 09:51 AM
Hi Mark,
You can add an inbound content filter with the below conditions.
Conditions:
subject != "[External Email]" --> the email subject do not already contain this subject.
mail-from != "domain\.com" --> the sender is not from the internal domain. (Optional depending on your current mail-flow if you allow emails from internal domain to be treated as inbound)
Action:
edit-header-text("Subject", "(.*)", "\\1 [External Email]"); (select prepends the subject with "[External Email]")
You would need to test and modify the rules based on your requirement.
Thanks
Libin Varghese
01-24-2017 06:22 AM
Thanks Libin...appreciate the quick response! We will definitely be trying out the filter!
Mark
01-24-2017 06:40 AM
Glad to help.
Libin V
02-06-2017 11:09 AM
Can this be done within the interface v. through the CLI? We try to maintain all of our filter sin the GUI if possible in order to maintain a better visual representation of what is occurring.
In looking at your example and the Incoming Content Filters, it looks like I could use the Add/Edit Header, under Add Actions. Then, Header Name 'Subject', and then enter [EXT] in the Prepend to the Value of Existing Header
Is this correct?
Thanks
02-06-2017 11:12 AM
Actually, after I clicked 'submit', this was the rule created:
edit-header-text("Subject", "(.*)", "[EXT]\\1")
So I believe this has answered my question, except that the \\1 is behind the prepended text of [EXT]. That seems to be the only difference.
02-06-2017 12:10 PM
Mark,
Yes the difference would be append adds \\1 in front and prepend adds \\1 behind it.
- Libin V
02-06-2017 12:24 PM
Awesome, thanks so much!
mark
02-06-2017 11:18 AM
Mark,
That is correct, this can be done using content filters as well.
Once you add the condition and click Ok it show the above syntax on the add content filter screen where I copied it from.
Thanks!
Libin V
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