Reject email based on message size.
Dear all,
We have a few mailing lists with a message size limit of 512K. At the same time, these mailing lists are moderated by designated moderators. As configured, posts with a message size greater than 512K are held for moderation. However, even after multiple reminders, some moderators accept these postings.
Is there a way to automatically reject all such messages with an appropriate rejection reason? Can we implement a custom rule or a plugin that will help in this case?
Regards, Hitachi.
On Tue, Dec 16, 2025 at 7:32 AM Hitashi mancho via Mailman-users < mailman-users@mailman3.org> wrote:
Dear all,
We have a few mailing lists with a message size limit of 512K. At the same time, these mailing lists are moderated by designated moderators. As configured, posts with a message size greater than 512K are held for moderation. However, even after multiple reminders, some moderators accept these postings.
Is there a way to automatically reject all such messages with an appropriate rejection reason? Can we implement a custom rule or a plugin that will help in this case?
The best place to achieve that is at the MTA level.
However, for completeness, you can also check the various config options available for Mailman core: https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/config/schema.c...
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
participants (2)
-
Hitashi mancho -
Odhiambo Washington