Add a "main" script for testing individual messages
Mailman 3 had a nascent script which you could use to interact with the bounce detector. E.g. --list would list all bounce modules, --module would put a message (in stdin or in a file) through a single bounce module and print the results, and --all would put the message through all bounce modules, printing the results.
It was never fully implemented in Mailman 3, and I'm removing the code from there in a general clean up phase. It would be interesting to include an __main__
module in flufl.bounce which would do similar. Then you could do something like python3 -m flufl.bounce --all sample.eml
and see how the bounce detectors handle that.