report a bug |  advanced search |  statistics |  developer log in/out
Bug #74 Broklen footer, when footer does not end with linebreak
Submitted: 2020-04-22 06:57 UTC Modified: -
From: michael dot hierweck at hostsharing dot net Assigned:
Status: Open
Mlmmj Version: 1.2.19.0 OS: Debian
MTA: Postfix MTA Version: 3.1.14
View Add Comment Developer Edit
You must login as a developer to do anything here. You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
 [2020-04-22 06:57 UTC] michael dot hierweck at hostsharing dot net
Description:
------------
When using control/footer mlmmj adds random characters to the end of the mails 
instead of the footer text, if and only if the footer file does not end with a 
line break.

Does not work:
echo -n "This is the ultimate footer." >mlmmj/peer/control/footer

Works as expected:
echo "This is the ultimate footer." >mlmmj/peer/control/footer


Test script:
---------------
echo -n "This is the ultimate footer." >mlmmj/peer/control/footer

Expected result:
----------------
"This is the ultimate footer." as footer text.

Actual result:
--------------
Random(?) as footer text. Sometimes the characters contain parts of the path to 
the mailing list directory.