Visitor
•
3 Messages
email filters
I want to block all emails with the "Followup to" field in the header. Does anyone know what filters I would use and how to set them up.
The Comcast filters just has a list of them and no descriptions or info on what they do. Note not all emails have this field but most of the spam does.
XfinityDena
Official Employee
•
3.2K Messages
3 years ago
That is a great question! I have many rules set up in my own email since I get 100s a day! Have you checked out the link: https://comca.st/3qUO9qT? There is a section about setting up email filters (and it has pictures to follow along easier too!).
2
0
BruceW
Gold Problem Solver
•
26.4K Messages
3 years ago
You should be able to test for any email header with a condition like "Header Name {name of header} Exists".
Use "View Source" to get the exact name of the header you want to test for. Some common email header names are:
Return-Path
Delivered-To
Received
Authentication-Results
DKIM-Signature
Date
From
To
Message-Id
Subject
Mime-Version
Content-Type
Content-Transfer-Encoding
(edited)
0
0
user_ThyRock
Visitor
•
2 Messages
3 years ago
I have email filters using Regular Expressions that will not work.
Filter 1:
The filter is looking at the email header Received field.
The Regular Expression engine looks for the value .mta4.net
The Regular Expression syntax is \.mta4\.net
Filter 2:
The filter is looking at the email header “Authentication-Results” field.
The Regular Expression engine looks for the value dkim=pass header.d=elasticemail.com
The Regular Expression syntax is dkim=pass\sheader\.d=elasticemail\.com
The Back-Space in the syntax is to cause the Regular Expression engine to look for the Dot in the value.
The Back-Space s in the syntax is to cause the Regular Expression engine to look for a blank space between dkim=pass and the word header
Filter 3:
The filter is looking at the email header DKIM-Signature field.
The Regular Expression engine looks for the value d=elasticemail.com;
The Regular Expression syntax is d=elasticemail\.com;
None of these filters work.
Please advise.
Thanks
0
0
BruceW
Gold Problem Solver
•
26.4K Messages
3 years ago
When I try all three of the examples provided as a Regex test they work, even if the backslash (not "Back-Space") characters are omitted. IOW "\.mta4\.net" and ".mta4.net" (without the quotes) both work when I try them.
But all of these could have been written as simple "Contains" tests, ex:
Header Received Contains .mta4.net
Since neither Comcast nor webmail provider Open-Xchange have troubled themselves to document this implementation of Regex, it's best to avoid it where possible.
Please be aware that there are 2 kinds of responses in this Forum: Replies and Comments. When you Comment on a post by scrolling down to "Comment on this post here...", I am notified of your response. But if you select Reply, I am NOT notified and may not be aware of your response.
1
0