all repos — listfix @ b4a7014f322abb9cea251a9f6b5787ebffac16d1

Postfix Mailing List Software; Maintained on behalf the of Agency Economy Incorporated NFP.

keeping date, message id, and references!
Robert Ismo me@robertismo.com
Mon, 13 Apr 2026 23:23:24 -0500
commit

b4a7014f322abb9cea251a9f6b5787ebffac16d1

parent

a2801f12ee70567b89bfb2c92d40dfd6af43c186

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M listfix.pylistfix.py

@@ -41,8 +41,9 @@ log.info(f"Email from: {sender_email}")

log.info(f"Email list: {list_email}") email_out = Email(email_in.get_content()) - email_out.strip_headers(exclude = ["To", "Cc", "Subject", "Content-[^:]+", "MIME-Version"]) + email_out.strip_headers(exclude = ["To", "Cc", "Subject", "Content-[^:]+", "MIME-Version", "Date", "Message-ID", "References"]) email_out.add_header_prepend(f"Reply-To: {list_email}") + email_out.add_header_prepend(f"List-Id: {list_email}") email_out.add_header_prepend(f"From: \"{sender_name} via {list_name}\" <{list_email}>") list_recipients.remove(sender_email)