Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

How to create filter based upon ip address in header

  • 4 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi rp108

more options

Hi,

I am receiving spam/spoofing attempts from a foreign ip.

Unfortunately, the email has been spoofed to show that the email comes TO MY ADDRESS, and FROM MY ADDRESS.

The header has the ip address of the sender.

Is there a way to create a filter that examines the Header and if the ip or part-of the ip is there to filter the email?

Thankyou ! rp

Hi, I am receiving spam/spoofing attempts from a foreign ip. Unfortunately, the email has been spoofed to show that the email comes TO MY ADDRESS, and FROM MY ADDRESS. The header has the ip address of the sender. Is there a way to create a filter that examines the Header and if the ip or part-of the ip is there to filter the email? Thankyou ! rp

Giải pháp được chọn

The header usually contains multiple Received headers. So it will only check the first encountered, as I said earlier. The result is the filter will be hit and miss, and most probably more miss than hit.

Is there any other commonality you could select like part of the Message-ID:

Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (4)

more options

in Filters the list of things to match includes a customize entry. you can add any header field you like. But where the field occurs more than once the one closes to the top only will be read. (I think a bug, but it is how it works)

When adding a header field use the name exactly as it appears before the : once you have the header field you can then use contains to test for the IP address.

more options

Hi Matt,

Tnx so much for replying.

The exact Header text from one of these emails is; Received: from [184.154.177.50]

SO the field "name" is "Received" yes?

I just tried it. "Received" is now a choice !!!

So then I will use "contains" in the next Dialog Text Box and put in .... say at least the first few parts of the IP address, 184.154

So do you think that will work?

The reason that I am uncertain, is that I constructed a filter on just some of the plain text in the email and the Thunderbird filter seemed to ignore it.

Almost like there was some encoding going on that Thunderbird was happily decoding for me, but if that is so, I don't know how to see the "raw" text.

Hope this is not too much.

You are brilliant.

Many thanks, rp

more options

Giải pháp được chọn

The header usually contains multiple Received headers. So it will only check the first encountered, as I said earlier. The result is the filter will be hit and miss, and most probably more miss than hit.

Is there any other commonality you could select like part of the Message-ID:

more options

Tnx again Matt,

I will keep working with it, but now I understand how this works.

Tnx for sticking with me on this.

All the Best to you, rp