Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-19 Thread Mark Sapiro
On 7/19/15 2:17 AM, Danil Smirnov wrote: > 2015-07-17 18:24 GMT+03:00 Mark Sapiro : >> Headers/Footers are added by Mailman/Handlers/Decorate.py. >> Decorate.process is called by Mailman/Handlers/SPTPDirect.py to apply >> the replacements to msg_header and msg_footer and add them to the >> message.

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-19 Thread Danil Smirnov
2015-07-17 18:24 GMT+03:00 Mark Sapiro : > Headers/Footers are added by Mailman/Handlers/Decorate.py. > Decorate.process is called by Mailman/Handlers/SPTPDirect.py to apply > the replacements to msg_header and msg_footer and add them to the > message. You would need to do something similar in > Ma

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-17 Thread Mark Sapiro
On 7/17/15 2:13 AM, Danil Smirnov wrote: > > To complete the topic, I would like also to add Mailman footers to > messages, gatewayed to the group. > (They are not added by default...) > Could you please point me to the lines of code doing this? Headers/Footers are added by Mailman/Handlers/Deco

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-17 Thread Danil Smirnov
2015-07-13 18:05 GMT+03:00 Mark Sapiro : > member_moderation action = Reject, a notice will be sent. The moral > here is never Reject non-member posts, either Hold them or Discard them. Got it, Mark! To complete the topic, I would like also to add Mailman footers to messages, gatewayed to the gr

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-13 Thread Mark Sapiro
On 7/13/15 7:36 AM, Danil Smirnov wrote: > 2015-07-13 17:23 GMT+03:00 Mark Sapiro : >> If a post from someone who is a member of the gated mail list is gated >> from the Usenet group to the mail list, and the poster's "Receive >> acknowledgement mail when you send mail to the list?" (ack) option is

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-13 Thread Danil Smirnov
2015-07-13 17:23 GMT+03:00 Mark Sapiro : > If a post from someone who is a member of the gated mail list is gated > from the Usenet group to the mail list, and the poster's "Receive > acknowledgement mail when you send mail to the list?" (ack) option is > Yes, an acknowledgement will be sent when t

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-13 Thread Mark Sapiro
On 7/13/15 3:16 AM, Danil Smirnov wrote: > Another question: how about acknowledges for users from the Usernet? > Will they get them after post will be gatewaying to the list? If a post from someone who is a member of the gated mail list is gated from the Usenet group to the mail list, and the po

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-13 Thread Danil Smirnov
Another question: how about acknowledges for users from the Usernet? Will they get them after post will be gatewaying to the list? -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailma

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-12 Thread Danil Smirnov
2015-07-13 0:54 GMT+03:00 Mark Sapiro : > Did you restart Mailman? Oops, forgot it. Thanks! Danil -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-12 Thread Mark Sapiro
On July 12, 2015 2:06:17 PM PDT, Danil Smirnov wrote: >2015-07-12 19:42 GMT+03:00 Mark Sapiro : >> On the other hand, you could just remove the fromusenet test and >apply >> generic_nonmember_action to all posts whether or not from Usenet. >I.e., >> just change >> >> if mlist.generic_nonmember

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-12 Thread Danil Smirnov
2015-07-12 19:42 GMT+03:00 Mark Sapiro : > On the other hand, you could just remove the fromusenet test and apply > generic_nonmember_action to all posts whether or not from Usenet. I.e., > just change > > if mlist.generic_nonmember_action == 0 or msgdata.get('fromusenet'): > > to > > if ml

Re: [Mailman-Users] newsgroup->mailman moderation

2015-07-12 Thread Mark Sapiro
On 7/12/15 8:05 AM, Danil Smirnov wrote: > Hi Mark! > > I've found your posting advising how to set all posts from Usenet > group to moderation: > > https://mail.python.org/pipermail/mailman-users/2013-June/075346.html The change suggested in that post was applied to the distributed code as of

[Mailman-Users] newsgroup->mailman moderation

2015-07-12 Thread Danil Smirnov
Hi Mark! I've found your posting advising how to set all posts from Usenet group to moderation: https://mail.python.org/pipermail/mailman-users/2013-June/075346.html When look into Moderate.py I've found another code than mentioned in the post: --- # Okay, so the sender wasn't specified exp

Re: [Mailman-Users] newsgroup->mailman moderation

2013-06-29 Thread Mark Sapiro
On 06/28/2013 11:48 AM, Karl Berry wrote: > > So, we would really like to have posts from Usenet be subject to the > normal mailman moderation rules (for purposes of both holding and > accepting messages). Is it feasible to hack gate_news to make that > happen? Help? Unfortunately my own mailma

[Mailman-Users] newsgroup->mailman moderation

2013-06-29 Thread Karl Berry
Greetings, For gnu.org, we have always had gatewaying between Usenet and mailman for quite a few lists, e.g., help-gnu-emacs and bug-gnu-utils. When a message is gatewayed *from* Usenet to the mailing list, Mailman evidently omits any of the usual moderation features (generic_nonmember_action and