On 11/30/21 1:11 AM, Stephen J. Turnbull wrote:
Does Django empty out the "spacetebasket" if it's all white space, or does spurious whitespace in that box lead to an (apparently) empty footer being added?
Postorius used to remove leading and trailing whitespace from the template, but not since https://gitlab.com/mailman/postorius/-/issues/301 was fixed.
Anway, I recommend to the OP that they make sure there's no whitespace in the Data box.
A good recommendation. While a header or footer template with some whitespace might not be noticeable when added to a text/plain message, it will cause extra mime parts to be added to more complex messages.
Also, if the goal in setting an empty footer is to avoid breaking a DKIM signature, even adding a bit of whitespace to a text/plain message is an issue.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan