Perché alcune email hanno stringhe di caratteri non significative come intestazioni?

Sommario:

Perché alcune email hanno stringhe di caratteri non significative come intestazioni?
Perché alcune email hanno stringhe di caratteri non significative come intestazioni?

Video: Perché alcune email hanno stringhe di caratteri non significative come intestazioni?

Video: Perché alcune email hanno stringhe di caratteri non significative come intestazioni?
Video: Chromebooks - How to Set Parental Controls Using Google Family Link - YouTube 2024, Aprile
Anonim
Il più delle volte, la nostra posta elettronica arriva senza problemi o stranezze, ma perché alcuni arrivano con stringhe senza senso di caratteri come intestazioni? Il post di Q & A di SuperUser di oggi ha la risposta alla domanda di un lettore perplesso.
Il più delle volte, la nostra posta elettronica arriva senza problemi o stranezze, ma perché alcuni arrivano con stringhe senza senso di caratteri come intestazioni? Il post di Q & A di SuperUser di oggi ha la risposta alla domanda di un lettore perplesso.

La sessione di domande e risposte di oggi ci viene fornita per gentile concessione di SuperUser, una suddivisione di Stack Exchange, un raggruppamento di domande e risposte basato sulla comunità.

Foto per gentile concessione di Judith E. Bell (Flickr).

La domanda

Il lettore SuperUser dpdt vuole sapere perché ha ricevuto un'e-mail con un'intestazione priva di senso:

I recently received an email with the following title:

Thinking that it might be malware, I ran a check with Malwarebytes, but it came up clean. Is there any legitimate reason for the title being a nonsensical string of characters?
Thinking that it might be malware, I ran a check with Malwarebytes, but it came up clean. Is there any legitimate reason for the title being a nonsensical string of characters?

Perché alcune email hanno stringhe senza senso di caratteri come intestazioni?

La risposta

Il collaboratore di SuperUser user313114 ha la risposta per noi:

What you have is some header text encoded with a failed attempt at RFC 2047.

RFC 2047 is the standard governing the embedding of non-ASCII characters in email headers. It says that headers which do not comply (exactly) with the RFC 2047 standard should be displayed as-is rather than any decoding being attempted. So your email software is seeing the bad header and displaying it “correctly” (as required by the standard).

No mainstream software flouts RFC 2047 so badly as that, so it is probably coming from some dodgy bulk mailing software. The software is making encoded words too long (the line length limit is 76 characters), which is forbidden (RFC 2047 says “MUST NOT”).

Despite being too long, it can be decoded manually. It looks like some sort of recruiter spam:

Image
Image

Hai qualcosa da aggiungere alla spiegazione? Audio disattivato nei commenti. Vuoi leggere più risposte dagli altri utenti di Stack Exchange esperti di tecnologia? Controlla la discussione completa qui.

Consigliato: