nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] multiple MIME-Version fields


From: David Levine
Subject: Re: [Nmh-workers] multiple MIME-Version fields
Date: Wed, 04 Mar 2015 19:45:09 -0500

Paul F. wrote:

> i've recently started getting messages with multiple MIME-Version
> headers.  they all say "1.0", of course.

> i see nothing (just a quick read) in RFC 2045 regarding multiple
> MIME-Version headers.

The BNF shows exactly one, so I'd say the messages don't conform.
Are they from more than one source?

A quick web search shows that exmh could do that under some condition,
but that was over 15 years ago.

> the following patch accomplishes this:  all MIME-Version headers are
> checked, and all those that are acceptable ("1.0") are ignored
> silently.

Looks good to me.

> the patch makes it possible for other programs (mhfixmsg?  a future
> "mhverifymsg"?) to easily request the multiple header warning in the
> future.

Thanks for doing it that way.  I could see an mhfixmsg enhancement
to zap all but the first (after verifying the version numbers), but
it's not high on my priority list.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]