On 09/02/2016 01:45 PM, Andre de Azevedo Cunha wrote: > > i`m trying to reject messages bigger then MAX_MESSAGE_SIZE. > > I configured my Hold.py was described bellow: > > replaced > > hold_for_approval(mlist, msg, msgdata, > _ > MessageTooBig(bodylen,_mlist.max_message_size)) > > with > > rej = MessageTooBig(bodylen, mlist.max_message_size) > _ raise Errors.RejectMessage, rej.reason_notice_ > > The message was rejected, but the sender dont receive any notify about > that. The mailman vette log too. How can i solve this?
Logging for rejected messages was added in 2.1.16. See <https://bugs.launchpad.net/mailman/+bug/1068837>. Prior to that, there won't be a vette log entry. I don't know why there isn't a notice to the user. Is there anything in Mailman's error log? As a test, add some nonmember address to the list's reject_these_nonmembers and send a post from that address. Does that receive a rejection notice? -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org