[Mailman-Users] Automate Moderator Functions

Mark Sapiro mark at msapiro.net
Mon Sep 5 11:57:59 EDT 2016

On 09/05/2016 07:10 AM, Andre de Azevedo Cunha wrote:
> Mark,
> the important to me is reject emails to the lists bigger then the value set in 
> MAX_MESSAGE_SIZE in the list`s config. The default behavior is moderate this 
> message, what don`t solve me problem. Exist one way to do this?

I understand what you are trying to do and what you have done should
work. As I said in my prior reply

> Em 03/09/2016 13:00, Mark Sapiro escreveu:
>> On 09/02/2016 01:45 PM, Andre de Azevedo Cunha wrote:
>>> 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?

In order to help further, I need more information. Did you look in
Mailman's error log? Did you do the test suggested above?

Send me off list a copy of your modified Mailman/Handlers/Hold.py module
and I'll look at it to see if there is a problem there.

Also, if you want rejections to be logged in vette, you can apply the
attached patch to Mailman/Queue/IncommingRunner.py.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IncomingRunner.patch
Type: text/x-diff
Size: 690 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20160905/741f0873/attachment.patch>

More information about the Mailman-Users mailing list