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 - 15:56:25 CDT


Michael Tokarev:
> Wietse Venema wrote:
> []
> > 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).
>
> This againg pops up the old good "problem" that is rarely encountered
> but still present -- about unqualified names in headers.
> If mail contains, e.g. "Return-Receipt-To: foo", it will be replaced
> by "Return-Receipt-To: foomailserver.dom.ain", and return receipt
> will (this headers still handled by some mailers) be sent to incorrect
> address... :(

Garbage in, garbage out. Postfix does not have to be telepathic.

> > - Drop Content-Length:.
>
> That's good. But should it be configurable?
> If yes, then we end up on missing general header-rewriting mechanism...

Whether a header is rewritten as sender or recipient or whether a
header is dropped is table driven already, so making that configurable
requires little code.

        Wietse