Autor: Jan Ingvoldstad Datum: To: exim users Betreff: Re: [exim] Message rejected due to long Reference: header
On Thu, Apr 18, 2019 at 11:17 AM Viktor Dukhovni via Exim-users <
exim-users@???> wrote:
> On Tue, Apr 16, 2019 at 04:38:54PM +0100, Jeremy Harris via Exim-users
> wrote:
>
> > The 998 limit is for de-folded lines. Go over that and you'd need
> > multiple header lines; to do which you'd have to be duplicating
> > header_names: as well as adding linebreaks. And yes, that would
> > very likely break DKIM signatures.
>
> That'd be a rather unexpected Exim behaviour. SMTP limits "physical"
> lines to 1000 bytes (including the CRLF), but there is no such limit
> on folded headers, and many headers are "single instance" and must
> not be present more than once.
>
It's expected *iff* you defold the header lines, which should not be done.
Does Exim actually defold multi-line headers and *then* impose the 1000
byte line length limit?
If so, that's a bug (imposing the per-line limit on the defolded header),
since it's no longer about message format processing.