NONAMER123's profile

New Poster

 • 

25 Messages

Thursday, July 24th, 2025

Filter to block an email with a certain return path

Is there a way to filter out emails that have a certain email in the return path? I assume it can be done as part of the header but it doesn't appear to be working for me. 

Here's what I have that isn't working: 

Header                                            Name: Return-Path

                                                        Contains:   [domain of the email address i want to filter out]

Any help is appreciated. Essentially, I do not know what the valid values are for "Name" in the Header category, and of course Xfinity has no documentation on this. 

Oldest First
Selected Oldest First

Official Employee

 • 

2.1K Messages

7 days ago

@NONAMER123 To block individual senders, you need to set up a filter.  On the Inbox page, click on the gear icon in the upper right corner, then on Email Settings.  On the landing page under "Mail", click on "Filter rules".  OR-----open the email from the sender, then click on the "hamburger" icon in the header.  One of the options in that menu is "Create filter rule".

New Poster

 • 

25 Messages

@XfinityRaul​ LOL. Of course I know that already. If i didn't know that, how do you think I would have come up with my filter methodology? 

Official Employee

 • 

2.1K Messages

@NONAMER123 You may try setting up filters by following the steps provided in this link as well https://www.xfinity.com/support/articles/spam-filters-and-email-blocking-new-experience.

I am an Official Xfinity Employee.
Official Employees are from multiple teams within Xfinity: CARE, Product, Leadership.
We ask that you post publicly so people with similar questions may benefit from the conversation.
Was your question answered? Please, mark a reply as the Accepted Answer.tick

Gold Problem Solver

 • 

26.6K Messages

7 days ago

@XfinityRaul wrote: "... To block individual senders, you need to set up a filter. ..."

The OP already did that. Their problem is, the filter does not work!

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.

New Poster

 • 

25 Messages

@XfinityRaul  forward my email to whoever at comcast is responsible for ensuring that the filters work. 

Official Employee

 • 

2.1K Messages

@NONAMER123 Our Customer Security Assurance team can definitely help you with this. You may reach out to them by visiting this link https://spa.xfinity.com/help/network-abuse?faq=report-online-harassment.

I am an Official Xfinity Employee.
Official Employees are from multiple teams within Xfinity: CARE, Product, Leadership.
We ask that you post publicly so people with similar questions may benefit from the conversation.
Was your question answered? Please, mark a reply as the Accepted Answer.tick

Gold Problem Solver

 • 

26.6K Messages

6 days ago

Header                                            Name: Return-Path

                                                        Contains:   [domain of the email address i want to filter out] 

You can use any of the Header names in an email with this filter. To filter on the "Return-Path:" header your "Return-Path" "Contains" filter should work. 

I tried setting up a similar filter to yours to flag notification emails from the Forums:

        Conditions:    Header:    Name: Return-Path    Contains: alerts.xfinity.com

This worked. The only thing I can think of that would mess it up is if Comcast/Xfinity delivered these messages to the Spam folder instead of the Inbox. Filters only work on email delivered to the Inbox as it is being delivered. 

Open-Xchange has a page documenting the filters at https://documentation.open-xchange.com/components/middleware/http/7.10.6/index.html#mail-filter, but I'm afraid it isn't doesn't add much to the pitiful information Comcast/Xfinity has posted. 

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.

(edited)

New Poster

 • 

25 Messages

@BruceW​ ahhh, but it does *NOT work and it is putting the emails in my inbox.

(edited)

forum icon

New to the Community?

Start Here