<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] compose to sender



On 2008-03-03 10:38:09 +0100, Thomas Roessler wrote:
> On 2008-03-03 04:38:43 +0100, Vincent Lefevre wrote:
> > But is there a way to automatically remove some headers, such as
> > "Delivered-To:"?
> 
> If I remember correctly, it does remove some headers.  Might be that
> some more should be dropped.

If fact, the code is buggy: it doesn't keep the ignored headers.

If I understand correctly, header dropping is in mutt_parse_rfc822_line
in parse.c, where there's a difference between *some* standard headers
and other headers. The Received headers are taken into account in the
standard part, but don't have the "matched = 1;" (probably because only
the date of the first Received header is kept, i.e. very partial info);
so, they are not dropped either in resend-message if one doesn't ignore
any header! The code seriously lack comments.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)