with correct return text: # diff rules/max_size.py.ori rules/max_size.py 47,48c47,48 < (_('The message is larger than the {} KB maximum size'), < mlist.max_message_size)) --- > (_('Your message was rejected because is bigger ( {} KB ) than the list max > value, please reduce the message to bellow of {} KB and try again'), > round(msg.original_size/1024.0,2),mlist.max_message_size))
--- Em 18/04/2022 14:59, Andre de Azevedo Cunha escreveu: > Mark, > > i solved with this code: > > # diff chains/builtin.py.ori chains/builtin.py > 62c62 > < ('max-size', LinkAction.defer, None), > --- > >> ('max-size', LinkAction.jump, 'reject'), > > # diff rules/max_size.py.ori rules/max_size.py > 47c47 > < (_('The message is larger than the {} KB maximum size'), > --- > >> (_('Your message was rejected because is bigger than the list max value {} >> KB, please reduce the message and try again'), > > --- > > Em 18/04/2022 14:37, Andre de Azevedo Cunha escreveu: > >> Mark, >> >> no. I checked the log of postfix, and dont exist new email from mailman >> after the original message was delivered. >> >> --- >> >> Em 14/04/2022 16:18, Mark Sapiro escreveu: >> >> On 4/14/22 12:11, Andre de Azevedo Cunha wrote: >> >> The change works, the message was discarted, but the sender dont >> received the notify. I`m trying to understand why. >> The message should be returned to the sender with notice as to why. Is it >> possible it was discarded for some other reason? > ------------------------------------------------------ > Mailman-Users mailing list -- mailman-users@python.org > To unsubscribe send an email to mailman-users-le...@python.org > https://mail.python.org/mailman3/lists/mailman-users.python.org/ > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: > https://www.mail-archive.com/mailman-users@python.org/ > https://mail.python.org/archives/list/mailman-users@python.org/ > ------------------------------------------------------ > Mailman-Users mailing list -- mailman-users@python.org > To unsubscribe send an email to mailman-users-le...@python.org > https://mail.python.org/mailman3/lists/mailman-users.python.org/ > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ > https://mail.python.org/archives/list/mailman-users@python.org/ ------------------------------------------------------ Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/