OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Content-Length (was Re: Banner)
From: Wietse Venema (wietseporcupine.org)
Date: Wed Jun 21 2000 - 12:09:36 CDT


Bennett Todd:
> 2000-06-21-09:44:49 Wietse Venema:
> > On the other hand, how useful is a sender-specified Content-Length
> > header anyway - how could the sender possibly know about the exact
> > recipient mailbox format, CRLF or LF line boundaries and such?
>
> Do any senders encode Content-Length at all?

Content-Length: can be present in mail that is forwarded from a
mailbox (for example, with the MUA's "resend" or "bounce" command).

[Content-Length as mailbox navigation aid]
> So for that use, Content-Length has no meaning aside from in the
> final delivery mbox, and any such header that happens to have been
> attached at any earlier point very deliberately gets stomped during
> delivery.

All this sounds like a good argument for Postfix to strip Content-Length
from incoming mail. Does the readership have any problems with
that?

So we have as proposed changes:

- Rewrite {Mail-Followup,Reply,Errors,Return-Receipt}-To: as sender
(so that address masquerading works).

- Drop Content-Length:.

        Wietse