Email filters
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- Notifications
Specify which inbound emails to ignore or move to a particular mailbox.
When an email is ignored, the email is saved to your instance but is not processed. You can access an ignored email by viewing its Email [sys_email] record.
The Email Filters (com.glide.email_filter) plugin is active by default for releases after Kingston, for releases before Kingston, it needs to be activated, for more information see Activate email filters.
Default email filters
By default, the following filters are available from the
module:To learn more about enabling spam scoring and filtering, see Email spam scoring and filtering (instance security hardening) in Instance Security Hardening Settings.
Email filter script include
Email filters use a script include called EmailUtils
that contains a simple
utility function to determine if vCalendar
is in the body of the response
email. The results of this query are used in a condition script in the Ignore
VCAL email filter.
Spam scoring and virus scanning
Every message sent through email servers is assessed for the likelihood of being spam. Based on this assessment, the instance adds headers to each message that can be used for filtering within the customer instance using the Email Filters plugin.
The system also adds the X-ServiceNow-Virus:INFECTED
header to an email
that contains one or more virus-infected attachments. The system ignores the email.
Spam scoring and virus scanning are available only for instances that use the ServiceNow email infrastructure. For more information on spam scoring and filtering, see KB0549426.
Related Content
- Create an email filter
You can create email filters to apply a custom action script or filter actions when email matches your filter's conditions.