On Wed, Nov 15, 2023 at 10:38 PM Thomas Ward via Mailman-users < mailman-users@mailman3.org> wrote:
When people are communicating on Mailman3 lists, some set up automatic responders for out-of-office, etc. and get let through the system to list recipients.
Unfortunately, this is bad behavior and appears to not be caught by default. I'd like to set up some kind of rule globally rather than per-list that would check if a message is an automatic reply (based on a set of criteria we've come up with programmatically on our previous custom implementation of lists) and then default-discard those messages.
Is there a way with custom rules to implement this? We're looking for certain strings on the subject line or other headers to determine "Discard" cases in our custom list implementations, but we are hoping we can implement this with customized rules in Mailman3 to achieve this goal. How would we structure that type of rule, and do we check the message object or the msgdata instead?
How about using the rules inside your MTA to check the subject for the common words used by autoresponders like: Out of Office | Auto-Reply | Autoresponse | Auto Reply And if the subject matches, do NOT pass that to the transport that delivers to MM3
Just an Idea borrowed from the rules we (in the Exim MTA world) use to process Out Of Office responses.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]