SA Bugzilla – Bug 7697
Util::wrap inserts empty lines between many long strings
Last modified: 2019-10-09 05:20:21 UTC
Refer from bug 7672 Atleast in the case of Mail::SpamAssassin::Util::wrap($hdr, "\t", "", 79, 0, '(?<=[\s,])'); Multiple successive 79 char strings create blank lines in the output between them, which I think is not wanted. It seems code doesn't handle the case of multiple long strings. Needs some revamping and testing that fixing doesn't brake anything..
Created attachment 5669 [details] A dummy message to reproduce the problem. Possibly related to this bug report: With the following in the config file: add_header all Relays-Untrusted _RELAYSUNTRUSTED_ the attached demo mail will produce a similar result, due to the very long hostname in the Received: header. I suspect it's the same problem.
*** Bug 7758 has been marked as a duplicate of this bug. ***