Re: Corrupted Subject and From header in Amazon.co.uk mail
- From: "Alan J. Flavell" <flavell@xxxxxxxxxxxxxxxxx>
- Date: Sat, 27 May 2006 22:42:54 +0100
On Sat, 27 May 2006, Chris Lawrence wrote:
No arguments with that, but what I'm trying to establish is the
actual cause of the gibberish in the headers.
It looks as if they're encoding the subject text (or rather, trying to
encode it and doing it wrongly), even though in this case it contained
only US-ASCII characters and so there was no need to encode it.
RFC2047 (end of section 5):
Use of 'encoded-word's to represent strings of purely ASCII
characters is allowed, but discouraged
It appears that Amazon's mails are not correctly following
standards, and I wasn't aware that headers like Subject and From
were encoded - that makes no sense to me at all,
If they contained 8-bit (i.e non-ascii) characters, they would *have*
to be encoded in this way.
so I feel there's more to it than first seems.
Maybe. I really don't know. Spammers certainly do it in the hope of
slipping past content-based filters - though our content-based filters
award *extra* penalty points for useless encoding, and even more for
broken encoding, over and above the penalty points for the spam
content itself. But, as I say, we were forced to stop treating broken
encoding as grounds in itself for outright rejection.
I feel that I may have to ftp into the mailbox later and download
it, in order to inspect the mail in a text editor to see what it
actually contains.
Amazon.co.uk recommends Michel Thomas Advanced French (CD) and more
I still don't understand how the Subject header contains encoded
text, nor why the From header looks okay with the standard view but
wrong with the header view in Pine.
In the normal view, PINE is refusing to decode the defective subject
header, for the reason we discussed. It *is* decoding the encoded
From: header.
In the full-headers view, the decoding is turned off, by design - so
that you see the headers in their original form.
I agree althought there's room for a more pragmatic approach too -
There are potential security issues with broken headers. Just because
you and I can't exactly see how to achieve a security compromise, does
not mean that it isn't possible. We should be able to draw worthwhile
lessons from a certain vendor, whose sloppy approach to specifications
leads to a continual stream of half-baked fixes, without the
underlying weaknesses ever really being resolved. It's so much safer
to start from a basically secured system. Enforcing mandatory
requirements of the specifications is certainly defensible as a
component of such an approach, IMNSHO.
When Postel said "be liberal in what you accept", I'm confident that
being tolerant of clear violations of mandatory requirements was NOT
what he had in mind.
Pine could adhere to the standards itself but be more generous in
accepting the flaws of other clients.
It could; but I'd prefer it if the others would tighten up their
behaviour instead.
There's a certain school of thought that a mail client could alert the
user to the fact that there's a defect in the mail, and offer to try
some kind of a fixup if the user consents to any security compromise
which might result. But, to be realistic, many users would have no
basis for deciding one way or the other in response to such an alert;
and maybe those who have the competence to decide, would also have no
difficulty in applying their own workaround if they wanted to.
I'm simply trying to identify exactly what it going wrong with those
messages so I can relay it to Amazon, for all the good it may do.
"for all the good it may do", indeed. Most commercial enterprises
would tell you to abandon the Internet-conforming software that you
use, and throw yourself open to anything that the commercial software
would force-feed you. And as long as they have an apparently endless
stream of sucker^W uncomplaining customers, why *would* they be
interested in spending time and effort with a few people who know what
they're doing and who are trying to stick up for standards?
all the best
.
- References:
- Corrupted Subject and From header in Amazon.co.uk mail
- From: Chris Lawrence
- Re: Corrupted Subject and From header in Amazon.co.uk mail
- From: Alan J. Flavell
- Re: Corrupted Subject and From header in Amazon.co.uk mail
- From: Chris Lawrence
- Corrupted Subject and From header in Amazon.co.uk mail
- Prev by Date: Re: Corrupted Subject and From header in Amazon.co.uk mail
- Next by Date: Re: Corrupted Subject and From header in Amazon.co.uk mail
- Previous by thread: Re: Corrupted Subject and From header in Amazon.co.uk mail
- Next by thread: Synchronize local sent-mail with IMAP folder sent-mail
- Index(es):
Relevant Pages
|
Loading