[Mailman-Users] Newsgroup interface picking up spam

2007-03-02 Thread David Beaumont
On our members only list how can we prevent the newsgroup interface picking
up posts (spam) from non members?  We have mailman 2.1.8.  I see here 

http://staff.imsa.edu/~ckolar/mailman/mailman-administration-v2.html 

there is an option

Should newsgroup posts not sent from the list be resent to the list?
Specifies whether or not messages posted by people out there in the world
who are not members of the list should be gated and distributed to list
members.  

Which would seem to be the answer but we don't have that, is it new in
2.1.9?

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


[Mailman-Users] Urgent newbie help - Hit a bug page

2007-03-02 Thread John Fleming
Never seen this before - When visiting mailman listinfo web page, I get:

Bug in Mailman version 2.1.5
We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of 
traceback and other system information has been explicitly inhibited, but 
the webmaster can find this information in the Mailman error logs.

- and my lists aren't working.  Restarting qrunner or rebooting (!) don't 
help.  Anything stand out to you in the error log below?  pid file missing?? 
How would that happen?  Any help for this newbie would be greatly 
appreciated!  Thanks - John

Mar 02 07:35:40 2007 admin(5190): 

admin(5190): [- Mailman Version: 2.1.5 -]
admin(5190): [- Traceback --]
admin(5190): Traceback (most recent call last):
admin(5190):   File /var/lib/mailman/scripts/driver, line 110, in run_main
admin(5190): main()
admin(5190):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 42, in 
main
admin(5190): listinfo_overview()
admin(5190):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 88, in 
listinfo_overview
admin(5190): if mlist.advertised:
admin(5190):   File /var/lib/mailman/Mailman/MailList.py, line 144, in 
__getattr__
admin(5190): raise AttributeError, name
admin(5190): AttributeError: advertised
admin(5190): [- Python Information -]
admin(5190): sys.version =   2.3.5 (#2, Oct 16 2006, 19:19:48)
[GCC 3.3.5 (Debian 1:3.3.5-13)]
admin(5190): sys.executable  =   /usr/bin/python
admin(5190): sys.prefix  =   /usr
admin(5190): sys.exec_prefix =   /usr
admin(5190): sys.path=   /usr
admin(5190): sys.platform=   linux2
admin(5190): [- Environment Variables -]
admin(5190):  SERVER_SOFTWARE: Apache/1.3.33 (Debian GNU/Linux) 
PHP/4.3.10-18 mod_ssl/2.8.22 OpenSSL/0.9.7e
admin(5190):  SCRIPT_NAME: /mailman/listinfo
admin(5190):  SERVER_SIGNATURE: ADDRESSApache/1.3.33 Server at 
impactoveneto.org Port 80/ADDRESS
admin(5190):
admin(5190):  REQUEST_METHOD: GET
admin(5190):  SERVER_PROTOCOL: HTTP/1.1
admin(5190):  QUERY_STRING:
admin(5190):  HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.1; SV1)
admin(5190):  HTTP_CONNECTION: Keep-Alive
admin(5190):  SERVER_NAME: impactoveneto.org
admin(5190):  REMOTE_ADDR: 64.105.150.50
admin(5190):  SERVER_PORT: 80
admin(5190):  SERVER_ADDR: 64.105.150.51
admin(5190):  DOCUMENT_ROOT: /home/impactoveneto/www/
admin(5190):  PYTHONPATH: /var/lib/mailman
admin(5190):  SCRIPT_FILENAME: /var/lib/mailman/cgi-bin//listinfo
admin(5190):  SERVER_ADMIN: [EMAIL PROTECTED]
admin(5190):  HTTP_HOST: impactoveneto.org
admin(5190):  REQUEST_URI: /mailman/listinfo
admin(5190):  HTTP_ACCEPT: */*
admin(5190):  GATEWAY_INTERFACE: CGI/1.1
admin(5190):  REMOTE_PORT: 33351
admin(5190):  HTTP_ACCEPT_LANGUAGE: en-us
admin(5190):  HTTP_ACCEPT_ENCODING: gzip, deflate
Mar 02 07:36:48 2007 mailmanctl(5284): PID unreadable in: 
/var/run/mailman/mailman.pid
Mar 02 07:36:48 2007 mailmanctl(5284): [Errno 2] No such file or directory: 
'/var/run/mailman/mailman.pid'
Mar 02 07:36:48 2007 mailmanctl(5284): Is qrunner even running?
Mar 02 07:36:50 2007 (5290) Uncaught runner exception: language
Mar 02 07:36:50 2007 (5290) Traceback (most recent call last):
  File /usr/lib/mailman/Mailman/Queue/Runner.py, line 111, in _oneloop
self._onefile(msg, msgdata)
  File /usr/lib/mailman/Mailman/Queue/Runner.py, line 161, in _onefile
lang = mlist.getMemberLanguage(sender)
  File /var/lib/mailman/Mailman/OldStyleMemberships.py, line 116, in 
getMemberLanguage
lang = self.__mlist.language.get(
  File /var/lib/mailman/Mailman/MailList.py, line 144, in __getattr__
raise AttributeError, name
AttributeError: language

  
SNIP-

Mar 02 07:37:14 2007 (5311) SHUNTING: 
1008297783.149177+211c1bb30212c20dd5eb5087684a8ae9e272e80e
Mar 02 07:37:25 2007 admin(5327): 

admin(5327): [- Mailman Version: 2.1.5 -]
admin(5327): [- Traceback --]
admin(5327): Traceback (most recent call last):
admin(5327):   File /var/lib/mailman/scripts/driver, line 110, in run_main
admin(5327): main()
admin(5327):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 42, in 
main
admin(5327): listinfo_overview()
admin(5327):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 88, in 
listinfo_overview
admin(5327): if mlist.advertised:
admin(5327):   File /var/lib/mailman/Mailman/MailList.py, line 144, in 
__getattr__
admin(5327): raise AttributeError, name
admin(5327): AttributeError: advertised
admin(5327): [- Python Information -]
admin(5327): sys.version =   2.3.5 (#2, Oct 16 2006, 19:19:48)
[GCC 3.3.5 (Debian 1:3.3.5-13)]
admin(5327): sys.executable  =   /usr/bin/python
admin(5327): sys.prefix  =   /usr
admin(5327): sys.exec_prefix =   /usr
admin(5327): sys.path=   /usr
admin(5327): 

[Mailman-Users] getting pending subscription request daily

2007-03-02 Thread Midhun Ramadas
Hi ,

I am getting pending subscription request daily for my mailing list and when
i go to Tend to pending requests, I am not finding anything.

This happens daily.

Can anyone please help me how to remove/stop this mail coming?

Is this any bug?

Thanks in advance,
Midhun
--
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] Mime conversions - missing carriage returns and odd characters

2007-03-02 Thread Ryan Steele

Hey folks.

Recently, messages from AOL ( shudder, X-Mailer: AOL WebMail 23823 in 
one example I'm viewing ) and Outlook ( shudder, Build 11.0.5510 in one 
example I'm viewing ) have been sending multipart messages which appear 
to confuse the Mailman MimeDel ( X-Content-Filtered-By: Mailman/MimeDel 
2.1.8 is header, FWIW ).


Here's an example snippet:

Appreciative Inquiry? Or, the power of Ambivalent Thinking. Revisit, for 
a moment, thoughts about Norman Vincent Peale’s “The Power of 
Positive Thinking�, about Dale Carnegie’s “How to Win Friends and 
Influence People�, and, then the brillance of the “Appreciative 
Inquiry� movement arising from the depths of OB study at Case Western 
Reserve…… BUT, also, think about how ow a CWRU faculty Psychologist (of 
the original OB group, and first to exit) could “dim the lights� 
within dedicated students by simply saying: “How come you appear to be 
smiling, all the time?� Also, reflect on how some of the bravest and 
toughest individuals- who have lived through rough situations and 
survived without obsolescence of spirit- are the warmest of friends 
(full of life and strength).


As you have probably ascertained by the MimeDel version, I'm running 
2.1.8, and am not in a huge rush to upgrade to 2.1.9 unless there are 
fixes that specifically pertain to the handling of HTML messages. I'm 
not quite sure why the messages are missing the carriage returns after 
Mailman has finished parsing the HTML (maybe an unclosed br or p?), 
but any advice and/or insight would be more than welcome! I can provide 
full headers (obscuring the names of the innocent) if that would help 
anyone. Thanks alot!


Best Regards,
Ryan

--
Ryan Steele 
Systems Administrator   [EMAIL PROTECTED]

AgoraNet, Inc.  (302) 224-2475
314 E. Main Street, Suite 1 (302) 224-2552 (fax)
Newark, DE 19711http://www.agora-net.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

[Mailman-Users] Trapping messages with null subjects sent to list

2007-03-02 Thread vancleef
Is there a recipe to put in the spam filters that will trap a totally
empty subject line in a message?   This get posted to a list with 
(no subject) in the subject line, but this is evidently added after
the spam filter check.  

I've tried \n, which catches these, but it also catches too many 
responses where the responder has changed the original subject as
well.  

Virtually all of these null-subject posts we get are demands to
unsubscribe the poster.  On our lists, we'd settle for catching them
as administrative requests.  

Hank
--
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] Newsgroup interface picking up spam

2007-03-02 Thread Mark Sapiro
David Beaumont wrote:

On our members only list how can we prevent the newsgroup interface picking
up posts (spam) from non members?  We have mailman 2.1.8.  I see here 

http://staff.imsa.edu/~ckolar/mailman/mailman-administration-v2.html 

there is an option

Should newsgroup posts not sent from the list be resent to the list?
Specifies whether or not messages posted by people out there in the world
who are not members of the list should be gated and distributed to list
members.  

Which would seem to be the answer but we don't have that, is it new in
2.1.9?


You do have it. It is just described differently in Mailman 2.1 than it
was in the Mailman 2.0 document you quote above. The option it is
describing is gateway_to_mail. The not members of the list language
assumes that list members will post to the list rather than the
newsgroup.

If you want to gate a list-member's newsgroup post back to the list,
but treat non-member posts to the newsgroup the same as non-member
posts to the list, You need to modify your
Mailman/Handlers/Moderate.py module and change

def process(mlist, msg, msgdata):
if msgdata.get('approved') or msgdata.get('fromusenet'):
return

to

def process(mlist, msg, msgdata):
if msgdata.get('approved'):
return

-- 
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] Urgent newbie help - Hit a bug page

2007-03-02 Thread Mark Sapiro
John Fleming wrote:

Never seen this before - When visiting mailman listinfo web page, I get:

Bug in Mailman version 2.1.5
We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of 
traceback and other system information has been explicitly inhibited, but 
the webmaster can find this information in the Mailman error logs.

- and my lists aren't working.  Restarting qrunner or rebooting (!) don't 
help.  Anything stand out to you in the error log below?  pid file missing?? 
How would that happen?  Any help for this newbie would be greatly 
appreciated!  Thanks - John


It appears that the config.pck file for at least one list is corrupt.

Try running

 bin/dumpdb lists/listname/config.pck

for all your lists. If you find one that looks like things are missing,
try

 bin/dumpdb -p lists/listname/config.pck.last

for that list. If the config.pck.last looks OK (it probably won't), you
can do

 cp lists/listname/config.pck.last lists/listname/config.pck

for that list. Otherwise, I hope you have a recent backup.

-- 
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] Newsgroup interface picking up spam

2007-03-02 Thread Paul Tomblin
Quoting Mark Sapiro ([EMAIL PROTECTED]):
 If you want to gate a list-member's newsgroup post back to the list,
 but treat non-member posts to the newsgroup the same as non-member
 posts to the list, You need to modify your
 Mailman/Handlers/Moderate.py module and change

A long time ago I gatewayed a mailing list (not Mailman) to a newsgroup,
and then made the newsgroup moderated with the moderator email address set
to the submission address for the mailing list.  That meant nobody could
post to the newsgroup without going through the mailing list software, and
the mailing list software could reject non-members.

If you don't want non-members posting to the newsgroup or the mailing list
that might be worth a try.

-- 
Paul Tomblin [EMAIL PROTECTED] http://blog.xcski.com/
FAQs are like flatulence. Any asshole can produce them.
  -- Toni L
--
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] Mime conversions - missing carriage returns and oddcharacters

2007-03-02 Thread Mark Sapiro
Ryan Steele wrote:

Recently, messages from AOL ( shudder, X-Mailer: AOL WebMail 23823 in 
one example I'm viewing ) and Outlook ( shudder, Build 11.0.5510 in one 
example I'm viewing ) have been sending multipart messages which appear 
to confuse the Mailman MimeDel ( X-Content-Filtered-By: Mailman/MimeDel 
2.1.8 is header, FWIW ).

Here's an example snippet:

Appreciative Inquiry? Or, the power of Ambivalent Thinking. Revisit, for 
a moment, thoughts about Norman Vincent Peale’s “The Power of 
Positive Thinking”, about Dale Carnegie’s “How to Win Friends and 
Influence People”, and, then the brillance of the “Appreciative 
Inquiry” movement arising from the depths of OB study at Case Western 
Reserve…… BUT, also, think about how ow a CWRU faculty Psychologist (of 
the original OB group, and first to exit) could “dim the lights” 
within dedicated students by simply saying: “How come you appear to be 
smiling, all the time?” Also, reflect on how some of the bravest and 
toughest individuals- who have lived through rough situations and 
survived without obsolescence of spirit- are the warmest of friends 
(full of life and strength).


Most of the funny things in the above are utf-8 encoded right single
quote (used as apostrophe) and left and right double quotes. The
exception is the two characters following Case Western Reserve which
are windows-1252 horizontal elipsis (...)

It is possible that something in Mailman's MimeDel (content filtering)
is misrepresenting the character set and causing utf-8 encoded text to
be declared as some other character set, but it could also be
something else. Do you have convert_html_to_plaintext set to Yes?

To diagnose this further, we need to see an original message as sent to
the list (e.g. a Bcc: of a list post) and the message as received from
the list. These need to be raw messages with all MIME headers intact.

-- 
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] getting pending subscription request daily

2007-03-02 Thread Mark Sapiro
Midhun Ramadas wrote:

I am getting pending subscription request daily for my mailing list and when
i go to Tend to pending requests, I am not finding anything.

This happens daily.


The most common cause of this is multiple Mailman installations. I.e.
an 'old' or 'test' installation that still has cron running its daily
checkdbs job and reporting a pending request.

-- 
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] Trapping messages with null subjects sent to list

2007-03-02 Thread Mark Sapiro
[EMAIL PROTECTED] wrote:

Is there a recipe to put in the spam filters that will trap a totally
empty subject line in a message?   This get posted to a list with 
(no subject) in the subject line, but this is evidently added after
the spam filter check.  


Try the following regexp in header_filter_rules with a Hold action

^subject:\s*(\(no subject\))?\s*$

-- 
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] Mime conversions - missing carriage returns andoddcharacters

2007-03-02 Thread Mark Sapiro
Ryan Steele wrote:

Mark Sapiro wrote:

 It is possible that something in Mailman's MimeDel (content filtering)
 is misrepresenting the character set and causing utf-8 encoded text to
 be declared as some other character set, but it could also be
 something else. 

Sounds like a fair enough assumption.  I guess that could also account 
for the carriage returns not being evaluated properly?


I don't think so, but I can't be sure.


 Do you have convert_html_to_plaintext set to Yes?
   

Affirmative, I do.


Based on what I see, I don't think that is the problem.


 To diagnose this further, we need to see an original message as sent to
 the list (e.g. a Bcc: of a list post) and the message as received from
 the list. These need to be raw messages with all MIME headers intact.

   

Following is an original message as sent to the list, before being 
munged by MimeDel:



Received: headers snipped
  From: [EMAIL PROTECTED]
  Message-ID: [EMAIL PROTECTED]
  Date: Sun, 5 Mar 2006 13:43:45 EST
  Subject: Re: [somelist] Building the Field of O.D. into a Profession
  To: [EMAIL PROTECTED]
  CC: [EMAIL PROTECTED]
  MIME-Version: 1.0
  Content-Type: multipart/alternative; 
boundary=-1141584225
  X-Mailer: 9.0 SE for Windows sub 5022
X-Spam-* headers snipped
 
 
  Dear David,


This is incomplete. You have copied the message headers, and then
apparently the body as displayed by your mail client. I.e., the
message is multipart/alternative, but I don't see any part headers for
the alternative parts and I only see one body part.

snip



Here is that same message as received by the list, after being munged by 
MimeDel:



Received: headers snipped
From: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Date: Sun, 5 Mar 2006 13:43:45 EST
To: [EMAIL PROTECTED]
MIME-Version: 1.0
X-Mailer: 9.0 SE for Windows sub 5022
X-Content-Filtered-By: Mailman/MimeDel 2.1.8
Cc: [EMAIL PROTECTED]
Subject: Re: [somelist] Building the Field of O.D. into a Profession
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Our email discussion for the godparents of our field
 somelist.lists.company.org
List-Unsubscribe:  http://lists.company.org/mailman/listinfo/somelist,
  mailto:[EMAIL PROTECTED] 
List-Archive:  http://lists.company.org/mailman/private/somelist
List-Post:  mailto:[EMAIL PROTECTED]
List-Help:  mailto:[EMAIL PROTECTED]
List-Subscribe:  http://lists.company.org/mailman/listinfo/somelist,
  mailto:[EMAIL PROTECTED] 
Content-Type: text/plain; charset=utf-8
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-Spam-* headers snipped

  Dear  David, Thank you for your reply. Starting back in 1981  when I 
snip
re-writing what became âEURoeThe International O.D. Code  of 
EthicsâEUR?. It is based on comments from key O.D. people  from all over 
snip




Here I may be seeing the whole message. It contains some possibly
garbled utf-8 characters, but the Content-Type: header identifies it
as utf-8 characher set, so I suspect your mail client is not properly
rendering utf-8.

It looks like (I can't be certain because these aren't the raw
messages) Mailman has done the normal thing which is select the
text/plain alternative and replace the multipart/alternative message
body with a body consisting only of the text/plain part. I really need
to see the full raw source of the original message to the list (the
first message above). I.e., what you see when you select View-Message
Source in Thunderbird.

-- 
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] duplicate subscription problem

2007-03-02 Thread Gary Casterline
Somehow, I find an address subscribed to a list twice
with a slight case difference.

 # ../../bin/dumpdb config.pck | grep -i sudden
  '[EMAIL PROTECTED]': 'en',
  '[EMAIL PROTECTED]': 0,
  '[EMAIL PROTECTED]': 0,
  '[EMAIL PROTECTED]': 'x',
  '[EMAIL PROTECTED]': 264,

I think if I could clean up that line with [EMAIL PROTECTED]
from the config.pck file, I'd be ok.  Is there a procedure
for editing a config.pck file?

More info:

The web interface shows two subscribers, both with lowercase
S in suddenlink.net.  bin/findmembers only shows one of the
addresses.  If I use bin/remove_members, I'm left with a broken
list, in that I cannot list any members anymore.

Here is what I get from the disabled cronjob:

/opt/bin/python -S /opt/mailman/cron/disabled

produced the following output:

Traceback (most recent call last):
  File /opt/mailman/cron/disabled, line 220, in ?
main()
  File /opt/mailman/cron/disabled, line 176, in main
members = mlist.getDeliveryStatusMembers(who)
  File /opt/mailman/Mailman/OldStyleMemberships.py, line 158, in 
getDeliveryStatusMembers
return [member for member in self.getMembers()
  File /opt/mailman/Mailman/OldStyleMemberships.py, line 139, in 
getDeliveryStatus
self.__assertIsMember(member)
  File /opt/mailman/Mailman/OldStyleMemberships.py, line 113, in 
__assertIsMember
raise Errors.NotAMemberError, member
Mailman.Errors.NotAMemberError: [EMAIL PROTECTED]

This is mailman-2.1.9

Any help or pointers appreciated.

Thanks,

 _Gary
--
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] Mime conversions - missing carriage returns andoddcharacters

2007-03-02 Thread Ryan Steele
Mark Sapiro wrote:
 Ryan Steele wrote:
   
 Mark Sapiro wrote:
 
 It is possible that something in Mailman's MimeDel (content filtering)
 is misrepresenting the character set and causing utf-8 encoded text to
 be declared as some other character set, but it could also be
 something else. 
   
 Sounds like a fair enough assumption.  I guess that could also account 
 for the carriage returns not being evaluated properly?
 


 I don't think so, but I can't be sure.


   
 Do you have convert_html_to_plaintext set to Yes?
   
   
 Affirmative, I do.
 


 Based on what I see, I don't think that is the problem.


   
 To diagnose this further, we need to see an original message as sent to
 the list (e.g. a Bcc: of a list post) and the message as received from
 the list. These need to be raw messages with all MIME headers intact.

   
   
 Following is an original message as sent to the list, before being 
 munged by MimeDel:

 

 
 Received: headers snipped
   
  From: [EMAIL PROTECTED]
  Message-ID: [EMAIL PROTECTED]
  Date: Sun, 5 Mar 2006 13:43:45 EST
  Subject: Re: [somelist] Building the Field of O.D. into a Profession
  To: [EMAIL PROTECTED]
  CC: [EMAIL PROTECTED]
  MIME-Version: 1.0
  Content-Type: multipart/alternative; 
 boundary=-1141584225
  X-Mailer: 9.0 SE for Windows sub 5022
 
 X-Spam-* headers snipped
   
  Dear David,
 


 This is incomplete. You have copied the message headers, and then
 apparently the body as displayed by your mail client. I.e., the
 message is multipart/alternative, but I don't see any part headers for
 the alternative parts and I only see one body part.

 snip

   
 

 Here is that same message as received by the list, after being munged by 
 MimeDel:

 

 
 Received: headers snipped
   
 From: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Date: Sun, 5 Mar 2006 13:43:45 EST
 To: [EMAIL PROTECTED]
 MIME-Version: 1.0
 X-Mailer: 9.0 SE for Windows sub 5022
 X-Content-Filtered-By: Mailman/MimeDel 2.1.8
 Cc: [EMAIL PROTECTED]
 Subject: Re: [somelist] Building the Field of O.D. into a Profession
 X-BeenThere: [EMAIL PROTECTED]
 X-Mailman-Version: 2.1.8
 Precedence: list
 List-Id: Our email discussion for the godparents of our field
 somelist.lists.company.org
 List-Unsubscribe:  http://lists.company.org/mailman/listinfo/somelist,
  mailto:[EMAIL PROTECTED] 
 List-Archive:  http://lists.company.org/mailman/private/somelist
 List-Post:  mailto:[EMAIL PROTECTED]
 List-Help:  mailto:[EMAIL PROTECTED]
 List-Subscribe:  http://lists.company.org/mailman/listinfo/somelist,
  mailto:[EMAIL PROTECTED] 
 Content-Type: text/plain; charset=utf-8
 Sender: [EMAIL PROTECTED]
 Errors-To: [EMAIL PROTECTED]
 
 X-Spam-* headers snipped
   
  Dear  David, Thank you for your reply. Starting back in 1981  when I 
 
 snip
   
 re-writing what became âEURoeThe International O.D. Code  of 
 EthicsâEUR?. It is based on comments from key O.D. people  from all over 
 
 snip
   
 
 


 Here I may be seeing the whole message. It contains some possibly
 garbled utf-8 characters, but the Content-Type: header identifies it
 as utf-8 characher set, so I suspect your mail client is not properly
 rendering utf-8.

 It looks like (I can't be certain because these aren't the raw
 messages) Mailman has done the normal thing which is select the
 text/plain alternative and replace the multipart/alternative message
 body with a body consisting only of the text/plain part. I really need
 to see the full raw source of the original message to the list (the
 first message above). I.e., what you see when you select View-Message
 Source in Thunderbird.

   

I appreciate your continued help on this Mark.  I apologize about the 
pre-garbled message - I simply copied it from the information I 
requested from the client without checking to see that it contained part 
boundaries within the body as well.  I'm not even sure it's possible in 
Outlook to get this information (I researched/looked for a little while 
to no avail), so I'm going to set up an Outlook installation, mimicking 
the UTF-8 stuff, and send it to a test list I've got and my own personal 
account, which is set up using Thunderbird.  Then I can just ctrl+u to 
get the message source pre-garbling.  I'll post to the list once I've 
got this all set up.  Thanks!

Ryan

-- 
Ryan Steele 
Systems Administrator   [EMAIL PROTECTED]
AgoraNet, Inc.  (302) 224-2475
314 E. Main Street, Suite 1 (302) 224-2552 (fax)
Newark, DE 19711

Re: [Mailman-Users] duplicate subscription problem

2007-03-02 Thread Mark Sapiro
Gary Casterline wrote:

 # ../../bin/dumpdb config.pck | grep -i sudden
  '[EMAIL PROTECTED]': 'en',
languages

  '[EMAIL PROTECTED]': 0,
bogus entry in members list.

  '[EMAIL PROTECTED]': 0,
members

  '[EMAIL PROTECTED]': 'x',
passwords

  '[EMAIL PROTECTED]': 264,
user_options


I think if I could clean up that line with [EMAIL PROTECTED]
from the config.pck file, I'd be ok.  Is there a procedure
for editing a config.pck file?


I don't know how the bogus entry got in the members dictionary, but it
is definitely bogus. These entries MUST have an all lower case address
as the key, and if the value is zero as here, that is also the
case-preserved address. Otherwise the value is the case-preserved
address.

You get rid of the bogus entry with bin/withlist.

bin/withlist -l listname
Loading list listname (locked)
The variable `m' is the listname MailList instance
 del m.members['[EMAIL PROTECTED]']
 m.Save()

Unlocking (but not saving) list: list1
Finalizing


 is the Python prompt. You type the indicated things on those lines. The 
 last entry is a control-D (end of file). Be sure to type the address with 
 the capital 'S' or you'll make things worse, and don't forget the m.Save().

I agree that this will fix your problem.

-- 
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] Mime conversions - missing carriage returns andoddcharacters

2007-03-02 Thread Mark Sapiro
Ryan Steele wrote:

I'm not even sure it's possible in 
Outlook to get this information (I researched/looked for a little while 
to no avail)

In Outlook Express, you get the message properties from the File menu
or by right-clicking the message in the list of messages pane and
selecting properties. In the properties dialog, there is a details tab
and on that, a 'message source' button.

I'm sure it's not exactly like that in Outlook, but it's something
similar.

-- 
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] Mime conversions - missing carriage returns andoddcharacters

2007-03-02 Thread Ryan Steele
Mark Sapiro wrote:
 Ryan Steele wrote:
   
 I'm not even sure it's possible in 
 Outlook to get this information (I researched/looked for a little while 
 to no avail)
 

 In Outlook Express, you get the message properties from the File menu
 or by right-clicking the message in the list of messages pane and
 selecting properties. In the properties dialog, there is a details tab
 and on that, a 'message source' button.

 I'm sure it's not exactly like that in Outlook, but it's something
 similar.

   
Mark,

It appears the client who got a copy of the pre-garbled message uses 
Eudora (I didn't know people still used Eudora ^_^), so I've sent him 
some instructions on how to go about getting the message source from it, 
and will post back accordingly.  Again, thank you for your help!

Best Regards,
Ryan

-- 
Ryan Steele 
Systems Administrator   [EMAIL PROTECTED]
AgoraNet, Inc.  (302) 224-2475
314 E. Main Street, Suite 1 (302) 224-2552 (fax)
Newark, DE 19711http://www.agora-net.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


[Mailman-Users] setting nomail from command line?

2007-03-02 Thread Chad Day
I can't seem to find this, when I search for nomail via the searchable
archives it's returning me an error page.  So here I am.

 

I want to be able to add members and set their nomail flag on from the
command line .. adding the member, yeah, no problem.  But there's no
nomail option that I see in the help text for the script, and I can't
seem to find another way of changing this from the command line, only a
web interface.

 

I'm sure this has to have been asked before and if I could kindly be
pointed in the right direction, it would be much appreciated.

 

Thanks!

Chad Day, Developer
Mindshare Interactive Campaigns, LLC 
108 5th Street SE, Suite 307
Charlottesville, VA 22902
tel 202.654.0835 fax 202.318.0755
www.mindshare.net BLOCKED::http://www.mindshare.net/ 

 

--
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] Mime conversions - missing carriage returns andoddcharacters

2007-03-02 Thread Brad Knowles
At 4:37 PM -0500 3/2/07, Ryan Steele wrote:

  It appears the client who got a copy of the pre-garbled message uses
  Eudora (I didn't know people still used Eudora ^_^),

I've been using Eudora since the version 1.x days.

   so I've sent him
  some instructions on how to go about getting the message source from it,

With the message open in a separate window, click on the 
Blahblahblah icon (it really does say that), and that will show you 
all the headers and the full message structure.  From there, you 
should be able to cut-n-paste the message precisely as it was 
received, with everything intact.

  and will post back accordingly.  Again, thank you for your help!

-- 
Brad Knowles [EMAIL PROTECTED], Consultant  Author
LinkedIn Profile: http://tinyurl.com/y8kpxu
Slides from Invited Talks: http://tinyurl.com/tj6q4
--
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] Mailing List Configuration Files

2007-03-02 Thread Aaron Todd
Hello,

I manage about ten different lists that all need to have almost the 
exact set of settings.  The main difference between each one is the 
name.  Is there a configuration file for each list that I can compare 
rather than comparing the settings of each web page in the admin interface.
-- 
Aaron Todd
*
*

--
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] setting nomail from command line?

2007-03-02 Thread Mark Sapiro
Chad Day wrote:

I can't seem to find this, when I search for nomail via the searchable
archives it's returning me an error page.  So here I am.


The search at http://www.mail-archive.com/mailman-users%40python.org/
appears to be broken. This was mentioned a while back on this list. I
don't know if it is 'still broken' or 'broken again' because I don't
use it. I use google with 'site:mail.python.org' and
'inurl:mailman-users' to search the archives of this list (see
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.018.htp
which recommends a slightly different search tag that also works).


I want to be able to add members and set their nomail flag on from the
command line .. adding the member, yeah, no problem.  But there's no
nomail option that I see in the help text for the script, and I can't
seem to find another way of changing this from the command line, only a
web interface.


See the set_nomail.py withlist script at
http://veenet.value.net/~msapiro/scripts/ (mirror
http://fog.ccsf.edu/~msapiro/scripts/).

-- 
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] Mailing List Configuration Files

2007-03-02 Thread Mark Sapiro
Aaron Todd wrote:

I manage about ten different lists that all need to have almost the 
exact set of settings.  The main difference between each one is the 
name.  Is there a configuration file for each list that I can compare 
rather than comparing the settings of each web page in the admin interface.


You can compare the outputs from 'bin/config_list -o' and you can use
this output with the list specific stuff removed as input to
'bin/config_list -i' to configure another list.

See 'bin/config_list --help'

-- 
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] Urgent newbie help - Hit a bug page

2007-03-02 Thread John Fleming

- Original Message - 
From: Mark Sapiro [EMAIL PROTECTED]
To: John Fleming [EMAIL PROTECTED]; mailman-users@python.org
Sent: Friday, March 02, 2007 11:15 AM
Subject: Re: [Mailman-Users] Urgent newbie help - Hit a bug page


 John Fleming wrote:

Never seen this before - When visiting mailman listinfo web page, I get:

Bug in Mailman version 2.1.5
We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of
traceback and other system information has been explicitly inhibited, but
the webmaster can find this information in the Mailman error logs.

- and my lists aren't working.  Restarting qrunner or rebooting (!) don't
help.  Anything stand out to you in the error log below?  pid file 
missing??
How would that happen?  Any help for this newbie would be greatly
appreciated!  Thanks - John


 It appears that the config.pck file for at least one list is corrupt.

 Try running

 bin/dumpdb lists/listname/config.pck

 for all your lists. If you find one that looks like things are missing,
 try

 bin/dumpdb -p lists/listname/config.pck.last

 for that list. If the config.pck.last looks OK (it probably won't), you
 can do

 cp lists/listname/config.pck.last lists/listname/config.pck

 for that list. Otherwise, I hope you have a recent backup.

The .pck files are OK.  My lists are working again after -another- qrunner 
restart and nothing else changed.  However, there's still a problem.  I can 
view any individual list's information via the usual web pages 
(www.domain.name/mailman/listinfo/listname), but I get the We hit a bug 
page when I try to view the lists -overview- page for any of my domains. 
Here's the error log entry for when I try. Does anyone see what's wrong? 
This used to work, and  I haven't changed anything in my configuration. 
(Mailman 2.1.5 Debian Stable) Thanks - John

Mar 02 21:35:33 2007 admin(18864): 

admin(18864): [- Mailman Version: 2.1.5 -]
admin(18864): [- Traceback --]
admin(18864): Traceback (most recent call last):
admin(18864):   File /var/lib/mailman/scripts/driver, line 110, in 
run_main
admin(18864): main()
admin(18864):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 42, in 
main
admin(18864): listinfo_overview()
admin(18864):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 88, in 
listinfo_overview
admin(18864): if mlist.advertised:
admin(18864):   File /var/lib/mailman/Mailman/MailList.py, line 144, in 
__getattr__
admin(18864): raise AttributeError, name
admin(18864): AttributeError: advertised
admin(18864): [- Python Information -]
admin(18864): sys.version =   2.3.5 (#2, Oct 16 2006, 19:19:48)
[GCC 3.3.5 (Debian 1:3.3.5-13)]
admin(18864): sys.executable  =   /usr/bin/python
admin(18864): sys.prefix  =   /usr
admin(18864): sys.exec_prefix =   /usr
admin(18864): sys.path=   /usr
admin(18864): sys.platform=   linux2
admin(18864): [- Environment Variables -]
admin(18864):  SERVER_SOFTWARE: Apache/1.3.33 (Debian GNU/Linux) 
PHP/4.3.10-18 mod_ssl/2.8.22 OpenSSL/0.9.7e
admin(18864):  SCRIPT_NAME: /mailman/listinfo
admin(18864):  SERVER_SIGNATURE: ADDRESSApache/1.3.33 Server at wa9als.com 
Port 443/ADDRESS
admin(18864):
admin(18864):  REQUEST_METHOD: GET
admin(18864):  SERVER_PROTOCOL: HTTP/1.1
admin(18864):  QUERY_STRING:
admin(18864):  HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows 
NT 5.1; SV1)
admin(18864):  HTTP_CONNECTION: Keep-Alive
admin(18864):  SERVER_NAME: wa9als.com
admin(18864):  REMOTE_ADDR: 64.105.150.50
admin(18864):  SERVER_PORT: 443
admin(18864):  SERVER_ADDR: 64.105.150.51
admin(18864):  DOCUMENT_ROOT: /home/wa9als/www/
admin(18864):  PYTHONPATH: /var/lib/mailman
admin(18864):  SCRIPT_FILENAME: /var/lib/mailman/cgi-bin//listinfo
admin(18864):  SERVER_ADMIN: [EMAIL PROTECTED]
admin(18864):  HTTP_HOST: wa9als.com
admin(18864):  HTTPS: on
admin(18864):  REQUEST_URI: /mailman/listinfo
admin(18864):  HTTP_ACCEPT: */*
admin(18864):  nokeepalive: 1
admin(18864):  GATEWAY_INTERFACE: CGI/1.1
admin(18864):  REMOTE_PORT: 33765
admin(18864):  HTTP_ACCEPT_LANGUAGE: en-us
admin(18864):  ssl_unclean_shutdown: 1
admin(18864):  HTTP_ACCEPT_ENCODING: gzip, deflate

and just before the above (when I wasn't even home), I see:

Mar 02 21:06:00 2007 admin(18250): 

admin(18250): [- Mailman Version: 2.1.5 -]
admin(18250): [- Traceback --]
admin(18250): Traceback (most recent call last):
admin(18250): File /var/lib/mailman/scripts/driver, line 110, in run_main
admin(18250): main()
admin(18250): File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 42, in 
main
admin(18250): listinfo_overview()
admin(18250): File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 88, in 
listinfo_overview
admin(18250): if mlist.advertised:
admin(18250): File /var/lib/mailman/Mailman/MailList.py, line 144, in 
__getattr__
admin(18250): raise AttributeError, name

Re: [Mailman-Users] Urgent newbie help - Hit a bug page

2007-03-02 Thread dhottinger
Quoting John Fleming [EMAIL PROTECTED]:


 - Original Message -
 From: Mark Sapiro [EMAIL PROTECTED]
 To: John Fleming [EMAIL PROTECTED]; mailman-users@python.org
 Sent: Friday, March 02, 2007 11:15 AM
 Subject: Re: [Mailman-Users] Urgent newbie help - Hit a bug page


 John Fleming wrote:

 Never seen this before - When visiting mailman listinfo web page, I get:

 Bug in Mailman version 2.1.5
 We're sorry, we hit a bug!
 Please inform the webmaster for this site of this problem. Printing of
 traceback and other system information has been explicitly inhibited, but
 the webmaster can find this information in the Mailman error logs.

 - and my lists aren't working.  Restarting qrunner or rebooting (!) don't
 help.  Anything stand out to you in the error log below?  pid file
 missing??
 How would that happen?  Any help for this newbie would be greatly
 appreciated!  Thanks - John


 It appears that the config.pck file for at least one list is corrupt.

 Try running

 bin/dumpdb lists/listname/config.pck

 for all your lists. If you find one that looks like things are missing,
 try

 bin/dumpdb -p lists/listname/config.pck.last

 for that list. If the config.pck.last looks OK (it probably won't), you
 can do

 cp lists/listname/config.pck.last lists/listname/config.pck

 for that list. Otherwise, I hope you have a recent backup.

 The .pck files are OK.  My lists are working again after -another- qrunner
 restart and nothing else changed.  However, there's still a problem.  I can
 view any individual list's information via the usual web pages
 (www.domain.name/mailman/listinfo/listname), but I get the We hit a bug
 page when I try to view the lists -overview- page for any of my domains.
 Here's the error log entry for when I try. Does anyone see what's wrong?
 This used to work, and  I haven't changed anything in my configuration.
 (Mailman 2.1.5 Debian Stable) Thanks - John

 Mar 02 21:35:33 2007 admin(18864):
 
 admin(18864): [- Mailman Version: 2.1.5 -]
 admin(18864): [- Traceback --]
 admin(18864): Traceback (most recent call last):
 admin(18864):   File /var/lib/mailman/scripts/driver, line 110, in
 run_main
 admin(18864): main()
 admin(18864):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 42, in
 main
 admin(18864): listinfo_overview()
 admin(18864):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 88, in
 listinfo_overview
 admin(18864): if mlist.advertised:
 admin(18864):   File /var/lib/mailman/Mailman/MailList.py, line 144, in
 __getattr__
 admin(18864): raise AttributeError, name
 admin(18864): AttributeError: advertised
 admin(18864): [- Python Information -]
 admin(18864): sys.version =   2.3.5 (#2, Oct 16 2006, 19:19:48)
 [GCC 3.3.5 (Debian 1:3.3.5-13)]
 admin(18864): sys.executable  =   /usr/bin/python
 admin(18864): sys.prefix  =   /usr
 admin(18864): sys.exec_prefix =   /usr
 admin(18864): sys.path=   /usr
 admin(18864): sys.platform=   linux2
 admin(18864): [- Environment Variables -]
 admin(18864):  SERVER_SOFTWARE: Apache/1.3.33 (Debian GNU/Linux)
 PHP/4.3.10-18 mod_ssl/2.8.22 OpenSSL/0.9.7e
 admin(18864):  SCRIPT_NAME: /mailman/listinfo
 admin(18864):  SERVER_SIGNATURE: ADDRESSApache/1.3.33 Server at wa9als.com
 Port 443/ADDRESS
 admin(18864):
 admin(18864):  REQUEST_METHOD: GET
 admin(18864):  SERVER_PROTOCOL: HTTP/1.1
 admin(18864):  QUERY_STRING:
 admin(18864):  HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows
 NT 5.1; SV1)
 admin(18864):  HTTP_CONNECTION: Keep-Alive
 admin(18864):  SERVER_NAME: wa9als.com
 admin(18864):  REMOTE_ADDR: 64.105.150.50
 admin(18864):  SERVER_PORT: 443
 admin(18864):  SERVER_ADDR: 64.105.150.51
 admin(18864):  DOCUMENT_ROOT: /home/wa9als/www/
 admin(18864):  PYTHONPATH: /var/lib/mailman
 admin(18864):  SCRIPT_FILENAME: /var/lib/mailman/cgi-bin//listinfo
 admin(18864):  SERVER_ADMIN: [EMAIL PROTECTED]
 admin(18864):  HTTP_HOST: wa9als.com
 admin(18864):  HTTPS: on
 admin(18864):  REQUEST_URI: /mailman/listinfo
 admin(18864):  HTTP_ACCEPT: */*
 admin(18864):  nokeepalive: 1
 admin(18864):  GATEWAY_INTERFACE: CGI/1.1
 admin(18864):  REMOTE_PORT: 33765
 admin(18864):  HTTP_ACCEPT_LANGUAGE: en-us
 admin(18864):  ssl_unclean_shutdown: 1
 admin(18864):  HTTP_ACCEPT_ENCODING: gzip, deflate

 and just before the above (when I wasn't even home), I see:

 Mar 02 21:06:00 2007 admin(18250):
 
 admin(18250): [- Mailman Version: 2.1.5 -]
 admin(18250): [- Traceback --]
 admin(18250): Traceback (most recent call last):
 admin(18250): File /var/lib/mailman/scripts/driver, line 110, in run_main
 admin(18250): main()
 admin(18250): File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 42, in
 main
 admin(18250): listinfo_overview()
 admin(18250): File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 88, in
 listinfo_overview
 admin(18250): if mlist.advertised:
 admin(18250): 

Re: [Mailman-Users] Urgent newbie help - Hit a bug page

2007-03-02 Thread John Fleming

- Original Message - 
From: [EMAIL PROTECTED]
To: mailman-users@python.org
Sent: Friday, March 02, 2007 10:04 PM
Subject: Re: [Mailman-Users] Urgent newbie help - Hit a bug page


 Quoting John Fleming [EMAIL PROTECTED]:


 - Original Message -
 From: Mark Sapiro [EMAIL PROTECTED]
 To: John Fleming [EMAIL PROTECTED]; mailman-users@python.org
 Sent: Friday, March 02, 2007 11:15 AM
 Subject: Re: [Mailman-Users] Urgent newbie help - Hit a bug page


 John Fleming wrote:

 Never seen this before - When visiting mailman listinfo web page, I 
 get:

 Bug in Mailman version 2.1.5
 We're sorry, we hit a bug!
 Please inform the webmaster for this site of this problem. Printing of
 traceback and other system information has been explicitly inhibited, 
 but
 the webmaster can find this information in the Mailman error logs.

 - and my lists aren't working.  Restarting qrunner or rebooting (!) 
 don't
 help.  Anything stand out to you in the error log below?  pid file
 missing??
 How would that happen?  Any help for this newbie would be greatly
 appreciated!  Thanks - John


 It appears that the config.pck file for at least one list is corrupt.

 Try running

 bin/dumpdb lists/listname/config.pck

 for all your lists. If you find one that looks like things are missing,
 try

 bin/dumpdb -p lists/listname/config.pck.last

 for that list. If the config.pck.last looks OK (it probably won't), you
 can do

 cp lists/listname/config.pck.last lists/listname/config.pck

 for that list. Otherwise, I hope you have a recent backup.

 The .pck files are OK.  My lists are working again after -another- 
 qrunner
 restart and nothing else changed.  However, there's still a problem.  I 
 can
 view any individual list's information via the usual web pages
 (www.domain.name/mailman/listinfo/listname), but I get the We hit a 
 bug
 page when I try to view the lists -overview- page for any of my domains.
 Here's the error log entry for when I try. Does anyone see what's wrong?
 This used to work, and  I haven't changed anything in my configuration.
 (Mailman 2.1.5 Debian Stable) Thanks - John

 Mar 02 21:35:33 2007 admin(18864):
 
 admin(18864): [- Mailman Version: 2.1.5 -]
 admin(18864): [- Traceback --]
 admin(18864): Traceback (most recent call last):
 admin(18864):   File /var/lib/mailman/scripts/driver, line 110, in
 run_main
 admin(18864): main()
 admin(18864):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 42, 
 in
 main
 admin(18864): listinfo_overview()
 admin(18864):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 88, 
 in
 listinfo_overview
 admin(18864): if mlist.advertised:
 admin(18864):   File /var/lib/mailman/Mailman/MailList.py, line 144, in
 __getattr__
 admin(18864): raise AttributeError, name
 admin(18864): AttributeError: advertised
 admin(18864): [- Python Information -]
 admin(18864): sys.version =   2.3.5 (#2, Oct 16 2006, 19:19:48)
 [GCC 3.3.5 (Debian 1:3.3.5-13)]
 admin(18864): sys.executable  =   /usr/bin/python
 admin(18864): sys.prefix  =   /usr
 admin(18864): sys.exec_prefix =   /usr
 admin(18864): sys.path=   /usr
 admin(18864): sys.platform=   linux2
 admin(18864): [- Environment Variables -]
 admin(18864):  SERVER_SOFTWARE: Apache/1.3.33 (Debian GNU/Linux)
 PHP/4.3.10-18 mod_ssl/2.8.22 OpenSSL/0.9.7e
 admin(18864):  SCRIPT_NAME: /mailman/listinfo
 admin(18864):  SERVER_SIGNATURE: ADDRESSApache/1.3.33 Server at 
 wa9als.com
 Port 443/ADDRESS
 admin(18864):
 admin(18864):  REQUEST_METHOD: GET
 admin(18864):  SERVER_PROTOCOL: HTTP/1.1
 admin(18864):  QUERY_STRING:
 admin(18864):  HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; 
 Windows
 NT 5.1; SV1)
 admin(18864):  HTTP_CONNECTION: Keep-Alive
 admin(18864):  SERVER_NAME: wa9als.com
 admin(18864):  REMOTE_ADDR: 64.105.150.50
 admin(18864):  SERVER_PORT: 443
 admin(18864):  SERVER_ADDR: 64.105.150.51
 admin(18864):  DOCUMENT_ROOT: /home/wa9als/www/
 admin(18864):  PYTHONPATH: /var/lib/mailman
 admin(18864):  SCRIPT_FILENAME: /var/lib/mailman/cgi-bin//listinfo
 admin(18864):  SERVER_ADMIN: [EMAIL PROTECTED]
 admin(18864):  HTTP_HOST: wa9als.com
 admin(18864):  HTTPS: on
 admin(18864):  REQUEST_URI: /mailman/listinfo
 admin(18864):  HTTP_ACCEPT: */*
 admin(18864):  nokeepalive: 1
 admin(18864):  GATEWAY_INTERFACE: CGI/1.1
 admin(18864):  REMOTE_PORT: 33765
 admin(18864):  HTTP_ACCEPT_LANGUAGE: en-us
 admin(18864):  ssl_unclean_shutdown: 1
 admin(18864):  HTTP_ACCEPT_ENCODING: gzip, deflate

 and just before the above (when I wasn't even home), I see:

 Mar 02 21:06:00 2007 admin(18250):
 
 admin(18250): [- Mailman Version: 2.1.5 -]
 admin(18250): [- Traceback --]
 admin(18250): Traceback (most recent call last):
 admin(18250): File /var/lib/mailman/scripts/driver, line 110, in 
 run_main
 admin(18250): main()
 admin(18250): File 

Re: [Mailman-Users] Urgent newbie help - Hit a bug page

2007-03-02 Thread Mark Sapiro
John Fleming wrote:

The .pck files are OK.  My lists are working again after -another- qrunner 
restart and nothing else changed.  However, there's still a problem.  I can 
view any individual list's information via the usual web pages 
(www.domain.name/mailman/listinfo/listname), but I get the We hit a bug 
page when I try to view the lists -overview- page for any of my domains. 
Here's the error log entry for when I try. Does anyone see what's wrong? 
This used to work, and  I haven't changed anything in my configuration. 
(Mailman 2.1.5 Debian Stable) Thanks - John

Mar 02 21:35:33 2007 admin(18864): 

admin(18864): [- Mailman Version: 2.1.5 -]
admin(18864): [- Traceback --]
admin(18864): Traceback (most recent call last):
admin(18864):   File /var/lib/mailman/scripts/driver, line 110, in 
run_main
admin(18864): main()
admin(18864):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 42, in 
main
admin(18864): listinfo_overview()
admin(18864):   File /usr/lib/mailman/Mailman/Cgi/listinfo.py, line 88, in 
listinfo_overview
admin(18864): if mlist.advertised:
admin(18864):   File /var/lib/mailman/Mailman/MailList.py, line 144, in 
__getattr__
admin(18864): raise AttributeError, name
admin(18864): AttributeError: advertised


You have one list whose saved state in config.pck does not have an
'advertised' attribute.

Try the following shell script

#! /bin/sh
for list in `/path/to/bin/list_lists --bare`
do echo --
echo list: $list
/path/to/bin/dumpdb /path/to/lists/$list/config.pck | grep advertised
echo ---
done


-- 
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] Urgent newbie help - Hit a bug page

2007-03-02 Thread Mark Sapiro
Mark Sapiro wrote:

Try the following shell script

#! /bin/sh
for list in `/path/to/bin/list_lists --bare`
do echo --
echo list: $list
/path/to/bin/dumpdb /path/to/lists/$list/config.pck | grep advertised
echo ---
done


BTW, this will only identify the problem list. If the only thing wrong
with it is the missing advertised attribute, you can fix it with
withlist.

bin/withlist -l listname
...
...
 m.advertised = 1
 m.Save()

...

The last input is control-D (eof). If the list should not be
advertised, then set m.advertised = 0.

-- 
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] Urgent newbie help - Hit a bug page

2007-03-02 Thread John Fleming

- Original Message - 
From: Mark Sapiro [EMAIL PROTECTED]
To: John Fleming [EMAIL PROTECTED]; mailman-users@python.org
Sent: Friday, March 02, 2007 10:17 PM
Subject: Re: [Mailman-Users] Urgent newbie help - Hit a bug page


 Mark Sapiro wrote:

Try the following shell script

#! /bin/sh
for list in `/path/to/bin/list_lists --bare`
do echo --
echo list: $list
/path/to/bin/dumpdb /path/to/lists/$list/config.pck | grep advertised
echo ---
done


 BTW, this will only identify the problem list. If the only thing wrong
 with it is the missing advertised attribute, you can fix it with
 withlist.

 bin/withlist -l listname
 ...
 ...
 m.advertised = 1
 m.Save()

 ...

 The last input is control-D (eof). If the list should not be
 advertised, then set m.advertised = 0.

1.  I must be doing something wrong - Running that script only gives me:

Luke:/var/lib/mailman# ./johntest - the script
sh-2.05b#

2.  There are other atribute errors in the log - I see name and language, to 
name 2.  (I haven't changed anything, so why are the atributes missing 
anyway?)

3.
Luke:/var/lib/mailman/bin# ./withlist -l sked
Loading list sked (locked)
The variable `m' is the sked MailList instance

Unlocking (but not saving) list: sked
Finalizing
Luke:/var/lib/mailman/bin#

--
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] Urgent newbie help - Hit a bug page

2007-03-02 Thread Mark Sapiro
John Fleming wrote:

1.  I must be doing something wrong - Running that script only gives me:

Luke:/var/lib/mailman# ./johntest - the script
sh-2.05b#


Yes. something is wrong because apparently, bin/sh is trying to read
its input from the terminal instead of the script. What is the exact
contents of johntest? What if you run

  bin/sh ./johntest

instead?


2.  There are other atribute errors in the log - I see name and language, to 
name 2.  (I haven't changed anything, so why are the atributes missing 
anyway?)


With any luck, it will only be one bad list. Once we identify which
one, we can wory about fixing it.

I have no idea how it got broken. Did you have a system crash? power
failure? some similar event?


3.
Luke:/var/lib/mailman/bin# ./withlist -l sked
Loading list sked (locked)
The variable `m' is the sked MailList instance

Unlocking (but not saving) list: sked
Finalizing
Luke:/var/lib/mailman/bin#


Before we start trying to do things with withlist, we need to identify
the list that has the problem. Once we figure that out, you can for
example do bin/dumpdb of that list's config.pck and compare it to
bin/dumpdb of some other list's config.pck and get an idea of how
badly it's messed up.


-- 
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