- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2015 12:52 PM
Hello,
We'd like to block emails from all but a few domains. This would not be for user creation but rather to simply stop processing the email when it's received.
Here is a straight forward example: When our instance receives an email from someone@mycompany.com the system generates an incident ticket. However if the email comes from someone@LinkedIn.com (or someone@ww.gety0urgr00veback.com) our instance ignores the email.
I've poked around and found some promising leads that ended up not fulfilling the requirement 100% and haven't found a thread completely dedicated to this so I thought I'd ask.
Does anyone out here have experience with this?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2015 10:42 AM
Hey everyone,
I received a lot of great feedback about this. It turns out that we are going in a completely different (non-SN) direction to block domains. Both black list and white list would be large.
Thanks for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2015 10:20 AM
By Action script do you mean the actual script of the Inbound Action itself? If so, then no you wouldn't have to modify your Inbound Action script. The condition would determine whether the Inbound Action is executed (if it meets the criteria) or ignored (if it does not).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2015 10:37 AM
So I just talked with the help desk about their request. It turns out that due to the way our company is configured there is a significant concern over accidentally blocking a domain. So we are looking at a completely different solution outside of SN. Thanks for all the help here!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2015 08:41 AM
All emails come into the global domain, so I don't think you need the domain name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2015 11:04 AM
You could put a condition on the inbound email action to allow or block certain email addresses from create tickets - you'd only need to do this for the inbound actions that don't have the 'From' field filled in. This worked for us.
email.origemail == 'allowed_address1@email.com' || email.origemail == 'allowed_address2@email.com'
email.origemail != 'blocked_address@email.com'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2015 01:18 PM
So for this solution we would have to know the full email address not just the domain, correct?