mailman inject fails without a -f argument.
The help for mailman inject
says
-f, --filename FILENAME Name of file containing the message to inject. If
not given, or '-' (without the quotes) standard
input is used.
-f -
works to read standard input, but without a -f
argument, the command throws
AttributeError: 'NoneType' object has no attribute 'read'