Whitelisting Emails

mdidrikson
Kilo Contributor

Hello,

Is there a way within ServiceNow to whitelist a specific set of email domains and block everything else? We are receiving some SPAM emails to our instance and we have been filtering out the domains sending the SPAM, but I'm wondering if there is a way to block everything except the domains used by my company? I have been using the Email Filtering, but that seems to only allow blacklisting -- unless I'm missing something.

Thank you!

Mark Didrikson

3 REPLIES 3

Daniel Draes
ServiceNow Employee
ServiceNow Employee

Yes, you can do so using a condition on the inbound activity. We did this as follows:

email.origemail.toLowerCase().indexOf('[domain]') > -1

Just replace [domain] with what has to be part of the sender email address.


mdidrikson
Kilo Contributor

Thanks for the response. We will try that out.

Mark Didrikson


Marcio Silva
ServiceNow Employee
ServiceNow Employee

Hi Mark,



You can prevent emails from certain domains to trigger notifications with the following OOB functionality described on the wiki:



Inbound Email Actions - ServiceNow Wiki



This way only emails defined will be allowed to trigger inbound email actions on your instance.



Thanks.



Marcio Silva