Re: [Mailman-Users] Bug in 2.1.7, can't edit Public HTML pages text files

2006-01-11 Thread Christopher X. Candreva
On Wed, 11 Jan 2006, Tokio Kikuchi wrote:

 Sorry for the inconvenience but I've put a new bug in the code while tighten
 up the security of the script.  Work around is to put a line
 
 import re
 
 in the top part of the Mailman/Cgi/edithtml.py.
 
 The bug was reported in
 http://sourceforge.net/tracker/index.php?func=detailaid=1400128group_id=103atid=100103

Thanks, sorry I missed the existing bug. I really did check !

==
Chris Candreva  -- [EMAIL PROTECTED] -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.com/
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] unexpected code byte in Header.py

2006-01-11 Thread imacat
On Wed, 11 Jan 2006 06:02:59 +0900
Tokio Kikuchi [EMAIL PROTECTED] wrote:
File /opt/mailman/Mailman/Handlers/CookHeaders.py, line 188, in process
  i18ndesc = uheader(mlist, mlist.description, 'List-Id', maxlinelen=998)
  UnicodeDecodeError: 'utf8' codec can't decode byte 0xb4 in position 8: 
  unexpected code byte
 
 As Mark has responded, it is a error in CookHeaders.py 'List-Id' 
 processing.  The language code and charset for 'Traditional Chinese' 
 have changes from big5/big5 to zh_TW/utf-8 because of compliance and 
 code handling difficulty in python gettext.  If you have set description 

Oh... :p  I see now.  I don't know why somehow I missed the error
message.  Maybe I was just too tired.

The problem seems to be solved after changing them.  Thank you.

--
Best regards,
imacat ^_*' [EMAIL PROTECTED]
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt

Woman's Voice News: http://www.wov.idv.tw/
Tavern IMACAT's: http://www.imacat.idv.tw/
TLUG List Manager: http://lists.linux.org.tw/cgi-bin/mailman/listinfo/tlug


pgpb9oAl2KDJu.pgp
Description: PGP signature
--
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=showamp;file=faq01.027.htp

[Mailman-Users] creating a list of moderators

2006-01-11 Thread David Benson
Hi,
 
I'm a site administrator and I'd like to be able to send messages out to all
of my moderators at once.  Does the current version of Mailman have
functionality to do this, i.e. can it automatically generate a 'list' of
moderators? ...or will I have to write my own code to make it happen?
 
Any ideas?
 
Many thanks!
 

Dave Benson
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] creating a list of moderators

2006-01-11 Thread Matt Emerson

On Jan 11, 2006, at 12:34 PM, David Benson wrote:

 I'm a site administrator and I'd like to be able to send messages  
 out to all of my moderators at once.  Does the current version of  
 Mailman have functionality to do this, i.e. can it automatically  
 generate a 'list' of moderators? ...or will I have to write my own  
 code to make it happen?

We created a mailing list called list-owners, which we update once  
a day via the following command.

/usr/share/mailman/bin/withlist -q -a -r printowners | tr A-Z a-z |  
sort | uniq | /usr/share/mailman/bin/sync_members -w=no -g=no -f -  
list-owners /tmp/list-owner-updates

The printowners helper script, which we put in /usr/share/mailman/bin/ 
printowners.py, contains the following.  (It's probably better to  
keep local stuff out of Mailman's bin directory, but since I'm a  
python caveman, I just put the local script there anyway.)

#!/usr/bin/python

def printowners(m):
 for i in m.owner:
 print i

If you want the list moderators (distinct from the list owners),  
you'd want to use m.moderator in lieu of m.owner.

-- 
Matt Emerson
[EMAIL PROTECTED]


--
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=showamp;file=faq01.027.htp


[Mailman-Users] huge delays in email posts?

2006-01-11 Thread Mike D.
Hi everyone,

I hope someone can help me out with this.  I just last month has to 
move my mailman list from one hosting company to another.  The new 
company has installed mailman 2.1.5 on the latest version of their 
Plesk server.  Everything seems to be running fine with the exception 
of mail coming out of the server with delays up to 24 hours.  I have 
a moderated list and messages sent to it are immediately showing up 
in the pending que.

I notice the delays in two areas.  The first is pending notices 
awaiting approval emails.  I will often not get an email of a pending 
post for hours or even a day after it appears in the pending que. 
The second delay is after I approve the email.  It will often not 
show up in members inboxes for hours and even a day.  The new hosting 
company has been very patient and wanting to help, but they don't 
know where to go from here.  They are new to mailman.

I can tell you that they don't use email throttling.  I know there 
may be one or two crons that mailman may have set up, but they don't 
know what they may be or what they do.  Can anyone offer some advice 
that I can pass on to them to check?  Any help would be greatly 
appreciated.

-- 
Take care,
Mike D.
AOL Instant Messenger fnmjd
Yahoo Instant Messenger fnmjd
--
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=showamp;file=faq01.027.htp


[Mailman-Users] maximum size of list (# of recipients)?

2006-01-11 Thread Zack Beatty
I've searched the mailman docs, as well as Google, and
turned up nothing.   This seems to be such a simple
question, that should appear in the mailman FAQ, or at
least the main feature list.

What is the maximum numbers of recipients that Mailman
can send to?   
Another way of putting it: how many members can a
Mailman list have?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] maximum size of list (# of recipients)?

2006-01-11 Thread Brad Knowles
At 11:11 AM -0800 2006-01-11, Zack Beatty wrote:

  What is the maximum numbers of recipients that Mailman
  can send to?
  Another way of putting it: how many members can a
  Mailman list have?

See FAQ 1.15 at 
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.015.htp.

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

  LOPSA member since December 2005.  See http://www.lopsa.org/.
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] huge delays in email posts?

2006-01-11 Thread Jason (WeatherServer)
I've heard of other providers with this issue. It turned out there mail 
systems had a limit of how much email per hour you could send out. Every 
other email over that limit is just rejected until the next hour when your 
limits are reset. Now you said they don't do throttling but could they be 
doing this and just not counting it as part of there throttling process?


- Original Message - 
From: Mike D. [EMAIL PROTECTED]
To: mailman-users@python.org
Sent: Wednesday, January 11, 2006 1:51 PM
Subject: [Mailman-Users] huge delays in email posts?


Hi everyone,

I hope someone can help me out with this.  I just last month has to
move my mailman list from one hosting company to another.  The new
company has installed mailman 2.1.5 on the latest version of their
Plesk server.  Everything seems to be running fine with the exception
of mail coming out of the server with delays up to 24 hours.  I have
a moderated list and messages sent to it are immediately showing up
in the pending que.

I notice the delays in two areas.  The first is pending notices
awaiting approval emails.  I will often not get an email of a pending
post for hours or even a day after it appears in the pending que.
The second delay is after I approve the email.  It will often not
show up in members inboxes for hours and even a day.  The new hosting
company has been very patient and wanting to help, but they don't
know where to go from here.  They are new to mailman.

I can tell you that they don't use email throttling.  I know there
may be one or two crons that mailman may have set up, but they don't
know what they may be or what they do.  Can anyone offer some advice
that I can pass on to them to check?  Any help would be greatly
appreciated.

-- 
Take care,
Mike D.
AOL Instant Messenger fnmjd
Yahoo Instant Messenger fnmjd
--
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/jason%40weatherserver.net

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


--
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=showamp;file=faq01.027.htp


[Mailman-Users] Maximum size of list (# of recipients)?

2006-01-11 Thread Zack Beatty
I've searched the mailman docs, as well as Google, and
turned up nothing.   This seems to be such a simple
question, that should appear in the mailman FAQ, or at
least the main feature list.

What is the maximum numbers of recipients that Mailman
can send to?   
Another way of putting it: how many members can a
Mailman list have?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] creating a list of moderators

2006-01-11 Thread Mark Sapiro
Matt Emerson wrote:

We created a mailing list called list-owners, which we update once  
a day via the following command.

/usr/share/mailman/bin/withlist -q -a -r printowners | tr A-Z a-z |  
sort | uniq | /usr/share/mailman/bin/sync_members -w=no -g=no -f -  
list-owners /tmp/list-owner-updates

The printowners helper script, which we put in /usr/share/mailman/bin/ 
printowners.py, contains the following.  (It's probably better to  
keep local stuff out of Mailman's bin directory, but since I'm a  
python caveman, I just put the local script there anyway.)

#!/usr/bin/python

def printowners(m):
 for i in m.owner:
 print i


You could probably replace the

/usr/share/mailman/bin/withlist -q -a -r printowners | tr A-Z a-z |  
sort | uniq

part of this pipe with

/usr/share/mailman/bin/list_owners

-- 
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] maximum size of list (# of recipients)?

2006-01-11 Thread Mark Sapiro
Zack Beatty wrote:

I've searched the mailman docs, as well as Google, and
turned up nothing.   This seems to be such a simple
question, that should appear in the mailman FAQ, or at
least the main feature list.

What is the maximum numbers of recipients that Mailman
can send to?   
Another way of putting it: how many members can a
Mailman list have?

It's in the FAQ -
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.015.htp.

The number there (147,000) is somewhat out of date. There was a recent
report
http://mail.python.org/pipermail/mailman-users/2005-December/048283.html
of a server with 4 lists of 200,000 members each, but it was
performing non-optimally.

-- 
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=showamp;file=faq01.027.htp


[Mailman-Users] SpamDetect loop?

2006-01-11 Thread David Gibbs
Folks:

Since I upgraded to MM 2.1.7 I've noticed something odd in my admin
queue ... it appears that messages coming through the SpamDetect
pipeline for the owner-address are getting into a loop.

Basically, if I get a message in my admin queue for 'out of office'
(simple spam filter), I get dozens if not hundreds of the following also
in my admin queue ...

---
As list administrator, your authorization is requested for the
following mailing list posting:

List:[EMAIL PROTECTED]
From:[EMAIL PROTECTED]
Subject: RPG400-L post from [EMAIL PROTECTED] requires approval
Reason:  The message headers matched a filter rule

At your convenience, visit:

http://lists.midrange.com/mailman/admindb/rpg400-l

to approve or deny the request.
As list administrator, your authorization is requested for the
following mailing list posting:

List:[EMAIL PROTECTED]
From:[EMAIL PROTECTED]
Subject: user CV Rao/PGG/example is out of the office.
Reason:  The message headers matched a filter rule

At your convenience, visit:

http://lists.midrange.com/mailman/admindb/rpg400-l

to approve or deny the request.

I will be out of the office starting  11/01/2006 and will not return until
07/02/2006.
---

It *APPEARS* to me that the spam detect filters are keying on the out
of office message that is included in the original message.

As an experiment, I've removed the SpamDetect entry from the
OWNER_PIPELINE entry in mm_cfg.py.

Any other suggestions?

Thanks!

david

--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] creating a list of moderators

2006-01-11 Thread Glenn Sieb
Mark Sapiro wrote:

You could probably replace the

/usr/share/mailman/bin/withlist -q -a -r printowners | tr A-Z a-z |  
sort | uniq

part of this pipe with

/usr/share/mailman/bin/list_owners
  


It appears to also do the uniq for you... I own a few lists on my box, 
and that command lists me once (which is fine for the purpose intended 
by the OP).

Best,
--Glenn

--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] SpamDetect loop?

2006-01-11 Thread Mark Sapiro
David Gibbs wrote:

Since I upgraded to MM 2.1.7 I've noticed something odd in my admin
queue ... it appears that messages coming through the SpamDetect
pipeline for the owner-address are getting into a loop.

Basically, if I get a message in my admin queue for 'out of office'
(simple spam filter), I get dozens if not hundreds of the following also
in my admin queue ...

snip

It *APPEARS* to me that the spam detect filters are keying on the out
of office message that is included in the original message.

As an experiment, I've removed the SpamDetect entry from the
OWNER_PIPELINE entry in mm_cfg.py.

Any other suggestions?

There are a few things going on. Did you upgrade from 2.1.6 or from
pre-2.1.6? Starting in 2.1.6, header_filter_rules are applied to the
headers of sub-parts which might cause a problem if the admin
notification contains something that matches, BUT there is a safety
valve in that the SpamDetect process is never supposed to be applied
to internally generated messages such as admin notifications.

So something is going wrong here, but I don't know what. I will
investigate, but if you could send me off list what your
header_filter_rules are and a copy of the original problem message, it
may help me.

-- 
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] maximum size of list (# of recipients)?

2006-01-11 Thread Zack Beatty
Thanks, everyone.

--- Brad Knowles [EMAIL PROTECTED] wrote:

 At 11:11 AM -0800 2006-01-11, Zack Beatty wrote:
 
   What is the maximum numbers of recipients that
 Mailman
   can send to?
   Another way of putting it: how many members can a
   Mailman list have?
 
   See FAQ 1.15 at 

http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.015.htp.
 
 -- 
 Brad Knowles, [EMAIL PROTECTED]
 
 Those who would give up essential Liberty, to
 purchase a little
 temporary Safety, deserve neither Liberty nor
 Safety.
 
  -- Benjamin Franklin (1706-1790), reply of the
 Pennsylvania
  Assembly to the Governor, November 11, 1755
 
   LOPSA member since December 2005.  See
 http://www.lopsa.org/.
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] huge delays in email posts?

2006-01-11 Thread Drew Tenenholz
Mike --

Receiving mail to the server and the server sending the mail are 
independent actions.  So it it certainly possible for inbound 
messages to arrive just fine while outbound traffic is very slow.

Each of your outbound messages has to have the domain translated into 
numbers  (e.g. [EMAIL PROTECTED] goes to mail.python.org which is 
194.109.207.14).  If your server cannot do this translation for 
itself (i.e. is a DNS server as well as a Mailman server), then it 
has to ask an assigned DNS server for the translation.  If this Plesk 
server's settings are not well-formed, then it may take a long time 
for each message to get the translation done, resulting in outbound 
delays for all messages.  That's what happened to us.

Our Majordomo server had been doing it's own DNS, then someone turned 
it off without really directing it to use a different DNS server.  So 
it sort of hunted around for an available DNS server somewhere in the 
world for EACH outbound message.  Once the sysadmin tracked down what 
was happening and reinstated the server's own DNS resolution, 
everything returned to normal speed.

HTH,
Drew Tenenholz


Hi Drew,

Thanks for getting back to me.  Would it matter that messages making 
it to the mailman Plesk server are getting there just fine very 
fast? In other words, sending email to the domain seems fine, it 
just routing it back out to members is what is taking so long.

Mike D.

Mike --

You might want to look into how the DNS resolution is being done 
for this server.  We're just getting started with mailman, but saw 
major delays with our much larger (38,000 subscriber) majordomo 
list when DNS resolution was turned off on the server and all DNS 
queries were rerouted to an outside DNS server.

Things that had taken minutes started taking several hoursor even a 
day to complete, just like you.  Since the moderators of the list 
have all signed contracts to deal with posts within 4 hours, they 
were understandably upset over the delays.

HTH,
Drew Tenenholz

--
Take care,
Mike D.
AOL Instant Messenger fnmjd
Yahoo Instant Messenger fnmjd

--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] SpamDetect loop?

2006-01-11 Thread David Gibbs
Mark Sapiro wrote:
 There are a few things going on. Did you upgrade from 2.1.6 or from
 pre-2.1.6? 

2.1.5 with some custom patches (nothing major, just text changes  the
like).

 Starting in 2.1.6, header_filter_rules are applied to the
 headers of sub-parts which might cause a problem if the admin
 notification contains something that matches, BUT there is a safety
 valve in that the SpamDetect process is never supposed to be applied
 to internally generated messages such as admin notifications.

Ok, that does appear to be what is happening ... but the safety valve
doesn't seem to be kicking in.

 So something is going wrong here, but I don't know what. I will
 investigate, but if you could send me off list what your
 header_filter_rules are and a copy of the original problem message, it
 may help me.

I'll send that under separate cover :)

david

--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] SpamDetect loop?

2006-01-11 Thread Tokio Kikuchi
Hi,

I've coded that bug in the last minute of releasing. :-(
I think I can generate a patch, but in the meantime, please copy the 
SpamDetect.py file from 2.1.6 distribution and restart.

David Gibbs wrote:
 Mark Sapiro wrote:
 
There are a few things going on. Did you upgrade from 2.1.6 or from
pre-2.1.6? 
 
 
 2.1.5 with some custom patches (nothing major, just text changes  the
 like).
 
 
Starting in 2.1.6, header_filter_rules are applied to the
headers of sub-parts which might cause a problem if the admin
notification contains something that matches, BUT there is a safety
valve in that the SpamDetect process is never supposed to be applied
to internally generated messages such as admin notifications.
 
 
 Ok, that does appear to be what is happening ... but the safety valve
 doesn't seem to be kicking in.
 
 
So something is going wrong here, but I don't know what. I will
investigate, but if you could send me off list what your
header_filter_rules are and a copy of the original problem message, it
may help me.
 
 
 I'll send that under separate cover :)
 
 david

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] SpamDetect loop?

2006-01-11 Thread David Gibbs
Tokio Kikuchi wrote:
 I've coded that bug in the last minute of releasing. :-(

Doh!

 I think I can generate a patch, but in the meantime, please copy the
 SpamDetect.py file from 2.1.6 distribution and restart.

I've temporarily removed the SpamDetect module from the owner pipeline
and it seems to be working ok for now.

david

--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] creating a list of moderators

2006-01-11 Thread Matt Emerson

On Jan 11, 2006, at 3:20 PM, Glenn Sieb wrote:

 Mark Sapiro wrote:

 You could probably replace the

 /usr/share/mailman/bin/withlist -q -a -r printowners | tr A-Z a-z |
 sort | uniq

 part of this pipe with

 /usr/share/mailman/bin/list_owners

 It appears to also do the uniq for you... I own a few lists on my box,
 and that command lists me once (which is fine for the purpose intended
 by the OP).

I think I didn't use the list_owners command because it treats email  
addresses which differ only in capitalization as distinct.

-- 
Matt Emerson
[EMAIL PROTECTED]


--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] SpamDetect loop?

2006-01-11 Thread Tokio Kikuchi

David Gibbs wrote:




I think I can generate a patch, but in the meantime, please copy the
SpamDetect.py file from 2.1.6 distribution and restart.



I've temporarily removed the SpamDetect module from the owner pipeline
and it seems to be working ok for now.



David,

Can you test this patch?

Removing SpamDetect from the owner pipeline means spams pass through to 
the list owner.  This should be inconvenient.



--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/
Index: SpamDetect.py
===
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/SpamDetect.py,v
retrieving revision 2.3.2.10
diff -u -r2.3.2.10 SpamDetect.py
--- SpamDetect.py   31 Dec 2005 06:15:33 -  2.3.2.10
+++ SpamDetect.py   12 Jan 2006 00:05:56 -
@@ -92,8 +92,12 @@
 
 
 def process(mlist, msg, msgdata):
-if msgdata.get('approved') or msgdata.get('reduced_list_headers'):
-# TK: 'reduced_list_headers' is intenally crafted message (virgin).
+# Do not spam check if the messages is approved or if the message
+# was internally crafted and sent to the -owner address like
+# message hold notification.  This avoids loop of hold notifications
+# since this module checks deep into the attachment headers.
+if msgdata.get('approved') or\
+   msgdata.get('toowner') and msg.get('x-list-administrivia') == 'yes':
 return
 # First do site hard coded header spam checks
 for header, regex in mm_cfg.KNOWN_SPAMMERS:
--
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=showamp;file=faq01.027.htp

Re: [Mailman-Users] SpamDetect loop?

2006-01-11 Thread David Gibbs
 Can you test this patch?

Ok.

 Removing SpamDetect from the owner pipeline means spams pass through to
 the list owner.  This should be inconvenient.

Eh ... I'm not 100% sure that particular module is all that effective.
I've been using one of the SpamAssassin integrations (from the patches
repository on sf) to great effect.

I'll let you know how the patch works ... I've applied it and re-enabled
the SpamDetect module in the owners pipeline.

david

--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] 461 Too many unknown users from your host

2006-01-11 Thread Munzir Taha
في يوم الإثنين 09 ذو الحجّة 1426 19:46, كتب Mark Sapiro:
 Mailman doesn't group bounces, but it does group outgoing mail that
 isn't VERPed or personalized. Thus, Mailman is sending one message to
 many recipients in the same domain. The receiving MTA may thus reply
 with one bounce message for all the undeliverable addressees in that
 domain. Also, Your outgoing MTA may by sending a single DSN covering
 all the undeliverable addresses in finds in one message.


Thanks a lot Mark for taking the time to explain it clearly.
Keep up the good work.

--
Munzir Taha
Telecommunications and Electronics Engineer
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
Maintainer of the OpenBugs project page at
http://www.arabic-fedora.org/munzir/OpenBugs.html
Master CIW Designer, ICDL, MOUS, Linux+, LPI 101
Riyadh, SA


pgpRwl9YCysDO.pgp
Description: PGP signature
--
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=showamp;file=faq01.027.htp