On Fri, Nov 19, 2021 at 1:41 AM Jeremy Harris via Exim-users < exim-users@exim.org> wrote:
> On 18/11/2021 20:36, Odhiambo Washington via Exim-users wrote: > >> Better solution is to fold this header (split over multiple lines). > >> > > > > > > How do I achieve that with exim-4.95? Config option?? > > There's no builtin support in Exim. In fact, not all possible lines > *can* be folded - you're only allowed to insert a line-break before > (certain specified instances of) whitespace. > > You could play with ${sg} and split on *any* whitespace, once a > long-enough line had built up - but you might break something > by not recognising these special "foldable white space" cases only. > > > Or you could refuse such messages in the first place, and make > it the sender's problem. > > I have seen a discussion similar to what I am seeing with 4.95: [exim-dev] [Bug 2622] New: bounce_return_linesize_limit not honoured for headers (mail-archive.com) <https://www.mail-archive.com/exim-dev@exim.org/msg12295.html> However, I do not see a solution to it. It would be great if such messages were rejected by default. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' :-) -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/