Catch a database exception in lmtp runner and return 451 status.
commit4e17b9a8d46b58c1214b34604cf286b82ce092a3
authorMark Sapiro <mark@msapiro.net>
Fri, 10 May 2024 06:11:22 +0000 (9 23:11 -0700)
committerMark Sapiro <mark@msapiro.net>
Fri, 10 May 2024 06:11:22 +0000 (9 23:11 -0700)
tree0b86a68510f644c41cb47c4dd3680a825d7f9daf
parentb366d91e9f43b3119caeda1e7954f49beadcb9a0
Catch a database exception in lmtp runner and return 451 status.

Also, make a minor change in the test data for
mailman.email.tests.test_message.test_as_string_python_bug_32330
so the test passes for older versions and for Python 3.11.9+ and
3.12.3+ where the bug is fixed.
src/mailman/docs/NEWS.rst
src/mailman/email/tests/data/bad_email_2.eml
src/mailman/runners/lmtp.py