Re: [Mailman-Users] Automate Moderator Functions

2016-09-05 Thread Andre de Azevedo Cunha
Mark, i solved like this: REPLACED THIS: #default action (moderate) #hold_for_approval(mlist, msg, msgdata, # MessageTooBig(bodylen, mlist.max_message_size)) FOR THIS: #auto rejecting emails bigger then max_message_size f_log=open('/var/log/mailman/reject','a') f_log.write('Message from %

Re: [Mailman-Users] Automate Moderator Functions

2016-09-05 Thread Mark Sapiro
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?

Re: [Mailman-Users] Automate Moderator Functions

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

Re: [Mailman-Users] Automate Moderator Functions

2016-09-03 Thread Mark Sapiro
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(bodyle

Re: [Mailman-Users] Automate Moderator Functions

2016-09-03 Thread Andre de Azevedo Cunha
Hi, 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(b

Re: [Mailman-Users] Automate Moderator Functions

2012-10-02 Thread Mark Sapiro
Dennis Putnam wrote: > >I am getting back to this and I have a question about maintenance. What >is the correct way to modify this so that it will not get destroyed by >updates? There are two ways to proceed. You can modify Mailman/Handlers/Hold.py itself, but before overwriting it, make a "diff

Re: [Mailman-Users] Automate Moderator Functions

2012-10-02 Thread Dennis Putnam
I am getting back to this and I have a question about maintenance. What is the correct way to modify this so that it will not get destroyed by updates? Also does this same procedure apply to other automatic rejections such as implicit destination? Thanks. On 9/24/2012 8:43 PM, Mark Sapiro wrote:

Re: [Mailman-Users] Automate Moderator Functions

2012-09-24 Thread Mark Sapiro
Dennis Putnam wrote: > >The same might be true for >exceeding the size limit. To automatically reject or discard messages that exceed the list's size limit, find the section of the Mailman/Handlers/Hold.py that ends with the lines if bodylen/1024.0 > mlist.max_message_size:

Re: [Mailman-Users] Automate Moderator Functions

2012-09-24 Thread Brian Carpenter
On 9/24/2012 8:50 AM, Dennis Putnam wrote: I've seen various queries on this but nothing definitive about it being added as a feature or even a customizable mod. There are certain moderator actions that potentially could be automated. For example, I would never approve a posting from a non-membe

Re: [Mailman-Users] Automate Moderator Functions

2012-09-24 Thread Dennis Putnam
First, thanks for all the replies. The non-members filter seems to do exactly what I want. However, it is not clear what the members filter is doing. If I turn that on, does it mean every message will be Held, Rejected or Discarded? That does not make sense to me as I cannot think of any circumst

Re: [Mailman-Users] Automate Moderator Functions

2012-09-24 Thread Malcolm Austen
On Mon, 24 Sep 2012 13:50:13 +0100, Dennis Putnam wrote: I've seen various queries on this but nothing definitive about it being added as a feature or even a customizable mod. There are certain moderator actions that potentially could be automated. For example, I would never approve a posting

Re: [Mailman-Users] Automate Moderator Functions

2012-09-24 Thread Malcolm Austen
On Mon, 24 Sep 2012 14:02:07 +0100, Odhiambo Washington wrote: About message size, well, content filtering uses regexps, so perhaps you can craft something. I think content filtering only deals with attachments. Large messages from non-members are no problem as they can be discarded as no

Re: [Mailman-Users] Automate Moderator Functions

2012-09-24 Thread Odhiambo Washington
On Mon, Sep 24, 2012 at 3:50 PM, Dennis Putnam wrote: > I've seen various queries on this but nothing definitive about it being > added as a feature or even a customizable mod. There are certain > moderator actions that potentially could be automated. For example, I > would never approve a postin

[Mailman-Users] Automate Moderator Functions

2012-09-24 Thread Dennis Putnam
I've seen various queries on this but nothing definitive about it being added as a feature or even a customizable mod. There are certain moderator actions that potentially could be automated. For example, I would never approve a posting from a non-member of a restricted list. It would make my moder

Re: [Mailman-Users] Automate request admin - moderatorrequest(s)waiting

2010-04-20 Thread Ricardo F
Thanks, Was this, I resolved the problem. Regards. > Date: Fri, 16 Apr 2010 08:34:24 -0700 > From: m...@msapiro.net > To: ri...@hotmail.com; mailman-users@python.org > Subject: RE: [Mailman-Users] Automate request admin - > moderatorrequest(s)waiting > > Ricardo F wrote

Re: [Mailman-Users] Automate request admin - moderatorrequest(s)waiting

2010-04-16 Thread Mark Sapiro
Ricardo F wrote: > > I don't have the mailman in English, but the reason is something like > this: >"The message is not addressed explicitly to the list" The list posting address does not appear in To: or Cc: of the post. Either the users are sending posts to the list via Bcc: or some other

Re: [Mailman-Users] Automate request admin - moderator request(s)waiting

2010-04-16 Thread Ricardo F
Hello, I don't have the mailman in English, but the reason is something like this: "The message is not addressed explicitly to the list" Thanks > Date: Thu, 15 Apr 2010 12:16:04 -0700 > From: m...@msapiro.net > To: ri...@hotmail.com; mailman-users@python.org >

Re: [Mailman-Users] Automate request admin - moderator request(s)waiting

2010-04-15 Thread Mark Sapiro
Ricardo F wrote: >An the subject: "moderator request(s) waiting" >How can i accept all this emails automatically? It depends why the messages are being held. If the reason is "post to moderated list", go to the admin Privacy options... -> Sender filters page and set default_member_moderation to

[Mailman-Users] Automate request admin - moderator request(s) waiting

2010-04-15 Thread Ricardo F
Hello, I receive emails every time one person send an email to the list: The n...@name.com mailing list has 2 request(s) waiting for your consideration at: http://name.com/ Please attend to this at your earliest convenience. This notice of pending request

Re: [Mailman-Users] Automate

2010-01-20 Thread Adam McGreggor
On Tue, Jan 19, 2010 at 02:08:43PM -0800, Maris, Sheryl wrote: > We currently use Lyris for mailing lists. With Lyris we are able > to automate the subscription of users to lists by directly updating > tables in the MS SQL db. What methods programmatic administration > does mailman provide?

[Mailman-Users] Automate

2010-01-20 Thread Maris, Sheryl
We currently use Lyris for mailing lists. With Lyris we are able to automate the subscription of users to lists by directly updating tables in the MS SQL db. What methods programmatic administration does mailman provide? -- Mailman-Users