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

Top Page
Delete this message
Reply to this message
Author: Bill Cole
Date:  
To: Evgeniy Berdnikov via Exim-users
Subject: Re: [exim] message has lines too long for transport
On 2022-02-13 at 12:48:52 UTC-0500 (Sun, 13 Feb 2022 20:48:52 +0300)
Evgeniy Berdnikov via Exim-users <bd4@???>
is rumored to have said:

> On Fri, Feb 11, 2022 at 08:48:33PM +0200, Victor Ustugov via
> Exim-users wrote:
>> Evgeniy Berdnikov via Exim-users wrote on 19.11.2021 09:16:
> ...
>>> There are several variants to try:
>>>
>>>  1. Use header add/remove directives in ACLs and/or routers to 
>>> "reinstall"
>>>     problematic "References:" header if its length is too high, in 
>>> hope
>>>     Exim would fold it correctly.

>>
>> Exim doesn't fold such headers correctly.
>
> Yes, my experiments confirm it: add_header option in ACLs produces
> a single-line header, and attempt to split it artificially by "\n"
> results
> in stripping the tail of line (after "\n") into X-ACL-Warn: header.


Proper splitting would add "\r\n " (any whitespace after the linebreak
works, and it is essential.)


--
Bill Cole
bill@??? or billcole@???
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire