~sircmpwn/lists.sr.ht

41cbe1aa3eb1d35aed5c483cbaee08a5a626a3a1 — Drew DeVault 8 months ago 562b46b 0.39.2
Print envelope of rejected messages
1 files changed, 1 insertions(+), 0 deletions(-)

M listssrht-lmtp
M listssrht-lmtp => listssrht-lmtp +1 -0
@@ 222,6 222,7 @@ class MailHandler:
            sender = parseaddr(mail["From"])
            sender = sender[0] or sender[1]
            print("Rejected, mailing list not found")
            print(envelope)
            send_error_for.delay(str(mail), unknown_mailing_list_error.format(
                        sender, posting_domain, posting_domain))
            return "250 Mailing list not found, but sending bounce out of band"