Pete Ashdown writes:
This is good to know. I was concerned that shunting could happen due to HTML or message content (ie: not size).
We refer to non-distribution due to message content as "filtering" or in the specific case of sending it to the moderation queue as "holding".
*Shunting* is due to a "defective" message, ie, one that Mailman is unable to parse, usually because it does not conform to the email standards. Examples include some spam, deliberate malicious messages, buggy mail clients which put emoji into the subject without encoding them as defined by the MIME standards. Many of these we catch and handle in some way, but by definition non-conforming messages can be anything and if the problem isn't anticipated and they actually cause Python to raise an error, only then the message is shunted.
Things that we intentionally filter on: message size, prohibited content such as executables, number of addressees, and many others are automatically caught and handled by distribution, modification (eg, deleting filtered attachments) and distribution, hold for moderation, rejection (return to sender), or discard (eg, spam).
Anything that is filtered and *not* sent to the subscribers can (at the list owner's option) be set to automatically notify the list owner and/or the sender, with an explanation of why it was held or refused. This is done in the list settings where the filter is enabled.
Steve