Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How to create filter based upon ip address in header

  • 4 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: 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

선택된 해결법

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:

문맥에 따라 이 답변을 읽어주세요 👍 2

모든 댓글 (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

선택된 해결법

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