Funkcionalnosć toś togo sedła se pśez wótwardowańske źěła wobgranicujo, kótarež maju wašo dožywjenje pólěpšyś. Jolic nastawk waš problem njerozwězujo a cośo pšašanje stajiś, wobrośćo se na našo zgromoźeństwo pomocy, kótarež na to caka, wam na @FirefoxSupport na Twitter a /r/firefox na Reddit pomagaś.

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Dalšne informacije

How to create filter based upon ip address in header

  • 4 wótegrona
  • 1 ma toś ten problem
  • 1 naglěd
  • Slědne wótegrono wót 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

Wubrane rozwězanje

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:

Toś to wótegrono w konteksće cytaś 👍 2

Wšykne wótegrona (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

Wubrane rozwězanje

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