Re: [exim] message has lines too long for transport

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Victor Ustugov
Dátum:  
Címzett: Evgeniy Berdnikov via Exim-users
Tárgy: Re: [exim] message has lines too long for transport
Evgeniy Berdnikov via Exim-users wrote on 13.02.2022 21:02:
> On Sun, Feb 13, 2022 at 06:31:23PM +0000, Jeremy Harris via Exim-users wrote:
>> Try it with a newline, whitespace (i.e. tab or space) sequence, to get a multiline
>> header.
>
> This way works, yes. And may be programmed with ${sg..}, I think.


It does not matter. This will not solve the "message has lines too long
for transport" issue because the value of max_received_linelength
remains the same after removing the long header and adding the folder
header.

In other words, the value of max_received_linelength will still be
greater than the value of ob->message_linelength_limit.

To my mind, it is necessary to recalculate the value of
max_received_linelength in the smtp_transport_entry function, taking
into account acl_removed_headers and acl_added_headers.


> Nevertheless, I'd like to have it as default behaviour of Exim,
> maybe with some global option as header_line_limit=998 (default)
> and 0 as "do not touch".
>



--
Best wishes Victor Ustugov
mailto:victor@corvax.kiev.ua
JID: victor@???
public GnuPG/PGP key: https://victor.corvax.kiev.ua/corvax.asc