Re: [Mailman-Users] Defaults.py file - pipeline changes

2007-11-05 Thread Mark Sapiro
Jewel Makda wrote:

>My list owners were getting hit pretty hard with spam, almost 4,000 just 
>over a weekend.  I did the following which has blocked most if not all 
>of the spam going to listowners.  What I did was the following:
>I edited the Defaults.py file to have the -owner messages go through the 
>same pipeline as the normal messages delivered to list members.


Never edit Defaults.py. Override that which you wish to change by
redefining it in mm_cfg.py. See
.


>I know 
>that one downside to this change is if someone wanted to subscribe to a 
>list and sent an email to [EMAIL PROTECTED], the request it 
>would fail to be delivered. Most people contact our list owners directly 
>through someone they know or with their work email.  Since I made this 
>change I have not seen any disturbances or problems, everything is 
>running smoothly.  I am posting this email to see if there are 
>ramifications to this change other than the one I mentioned.


Many. Are the list owners getting any notices from Mailman?


>Here is the change I made to the Defaults.py file:
>OWNER_PIPELINE = [
>'SpamDetect',
>'Approve',
>'Replybot',
>'Moderate',
>'Hold',
>MimeDel',


As Brad points out, a ' is missing. I have to assume that this is not a
copy and paste of the actual OWNER_PIPELINE. If it is, this error will
break everything.


>'Scrubber',
>'Emergency',
>'Tagger',
>'CalRecipe',


'CalcRecips', and you don't want it because it builds the recipient
list from the non-digest list members.


>'AviodDuplicates',


As Brad points out. 'AvoidDuplicates',


>'Clense',


'Cleanse',


>'Cookheaders',
>'OwnerRecipe',


'OwnerRecips' and fortunately, this throws away the prior recipient
list built by CalcRecips.


>'ToOutgoing'
>]
>
>I know I don't need all of the above but I wanted to duplicate how 
>messages were handled when people send directly to the list.


You probably don't want Approve unless you anticipate messages to the
owner having and Approved:  header to bypass holds. You
probably don't want most of what you added.

You really don't want to duplicate what happens to list posts for a few
reasons, not the least of which is what Brad alludes to - messages to
the gate keeper must not be required to pass through the gate.

In any case, if what you are trying to do is handle messages from
non-members in the same way as they are handled for posts, all you
need to add is Moderate, but even this addition will probably block
notices from Mailman to the list owner/moderator because these are
originally sent to listname-owner from mailman-bounces, listname-owner
or listname-bounces, none of which are (normally) list members.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Defaults.py file - pipeline changes

2007-11-05 Thread Brad Knowles
On 11/5/07, Jewel Makda wrote:

>  Here is the change I made to the Defaults.py file:
>  OWNER_PIPELINE = [
>  'SpamDetect',
>  'Approve',
>  'Replybot',
>  'Moderate',
>  'Hold',
>  MimeDel',
>  'Scrubber',
>  'Emergency',
>  'Tagger',
>  'CalRecipe',
>  'AviodDuplicates',
>  'Clense',
>  'Cookheaders',
>  'OwnerRecipe',
>  'ToOutgoing'
>  ]

MimeDel is missing a leading single quote, and AvoidDuplicates is 
mis-spelled.  I hope you didn't just cut-n-paste from your current 
configuration file, because if you did then you're currently pretty 
screwed up.

Moreover, you're probably just throwing away everything that was 
being held for moderation.  If you want to do that, you can just set 
your default nonmember action to be "discard" or "reject", and not 
have to worry about any of the rest of this stuff.


Of course, that would be the mailing list equivalent of throwing away 
all mail addressed to [EMAIL PROTECTED], and if you were 
actually doing that I'd be the first to get you added to the 
postmaster.RFC-Ignorant.org blacklist.

-- 
Brad Knowles <[EMAIL PROTECTED]>
LinkedIn Profile: 
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] Defaults.py file - pipeline changes

2007-11-05 Thread Jewel Makda
My list owners were getting hit pretty hard with spam, almost 4,000 just 
over a weekend.  I did the following which has blocked most if not all 
of the spam going to listowners.  What I did was the following:
I edited the Defaults.py file to have the -owner messages go through the 
same pipeline as the normal messages delivered to list members.  I know 
that one downside to this change is if someone wanted to subscribe to a 
list and sent an email to [EMAIL PROTECTED], the request it 
would fail to be delivered. Most people contact our list owners directly 
through someone they know or with their work email.  Since I made this 
change I have not seen any disturbances or problems, everything is 
running smoothly.  I am posting this email to see if there are 
ramifications to this change other than the one I mentioned.

Here is the change I made to the Defaults.py file:
OWNER_PIPELINE = [
'SpamDetect',
'Approve',
'Replybot',
'Moderate',
'Hold',
MimeDel',
'Scrubber',
'Emergency',
'Tagger',
'CalRecipe',
'AviodDuplicates',
'Clense',
'Cookheaders',
'OwnerRecipe',
'ToOutgoing'
]

I know I don't need all of the above but I wanted to duplicate how 
messages were handled when people send directly to the list.

-- 
Jewel 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp