Re: [Mailman-Users] mailman python-2.4 using 96% cpu

2009-02-05 Thread Mark Sapiro
Goodman, William wrote:
>
>Theses are the high cpu grabbers:
>
>mailman   4764  4751 74 Feb04 ?17:00:03 /usr/bin/python2.4
>/opt/software/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
>
>UIDPID  PPID  C STIME TTY  TIME CMD
>mailman   4766  4751 22 Feb04 ?05:08:33 /usr/bin/python2.4
>/opt/software/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
>
>UIDPID  PPID  C STIME TTY  TIME CMD
>mailman   4760  4751  4 Feb04 ?01:01:34 /usr/bin/python2.4
>/opt/software/mailman/bin/qrunner --runner=BounceRunner:0:1 -s 


OK, thanks.


>Also there's a dead like to the patch location you sent me.


Are you trying to go the URL I sent or are you trying to go to the
first of the two lines your MUA split it into?

>tml>,

In any case, here is the patch:

=== modified file 'Mailman/Handlers/Scrubber.py'
--- Mailman/Handlers/Scrubber.py2008-12-01 04:30:43 +
+++ Mailman/Handlers/Scrubber.py2009-01-12 17:45:14 +
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2009 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -167,6 +167,9 @@
 # message by a text (scrubbing).
 del msg['content-type']
 del msg['content-transfer-encoding']
+if isinstance(charset, unicode):
+# email 3.0.1 (python 2.4) doesn't like unicode
+charset = charset.encode('us-ascii')
 msg.set_payload(text, charset)

This patch can also be found at


Two other patches you may want to apply are at

and
,
but as I said I will be releasing 2.1.12rc2 in a day or two with these
changes.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Display Real Name in Subscriber List

2009-02-05 Thread Martin Schütte

Wyn schrieb:

Has any one any ideas how to display a real name next to the email address
in Subscriber List


I found the required change to be small enough and use the following code:

--- Mailman/HTMLFormatter.py.oldMon Mar 12 23:25:34 2007
+++ Mailman/HTMLFormatter.pyMon Mar 12 23:28:38 2007
@@ -94,6 +94,9 @@
 showing = Utils.ObscureEmail(person, for_text=1)
 else:
 showing = person
+realname = Utils.uncanonstr(self.getMemberName(person), lang)
+if realname:
+showing += " (%s)" % Utils.websafe(realname)
 got = Link(url, showing)
 if self.getDeliveryStatus(person) <> MemberAdaptor.ENABLED:
 got = Italic('(', got, ')')

--
Martin Schütte
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Permissions problems

2009-02-05 Thread Mark Sapiro
Melinda Gilmore wrote:

>Mark,  thanks for the info that did work for that particular error.  But I
>keep getting this one, and the number at the end changes.   So I have to
>keep adding a file.


The problem appears to be with the creation of (in this case)
'/usr/local/mailman/lists/sis_directors/config.pck.tmp.lists.19678'


Is there some type of numbering system for
>config.pck.tmp, is this related to a cron job
>
>IOError: [Errno 13] Permission denied:
>'/usr/local/mailman/lists/sis_directors/config.pck.tmp.lists.19678'


The number is the PIP of the process that's trying to update the
config.pck.

config.pck files are not updated directly since if they were, a failure
during the update could leave the file corrupt. They are updated as
follows:

A file is created named config.pck.tmp.host.pid where host is the name
of the host on which the process is running and pid is the process id
of the process. This file is written with the updated data. Then,
config.pck.last is removed, config.pck is renamed to config.pck.last
and finally config.pck.tmp.host.pid is renamed to config.pck.

Thus, except during the update process itself, there are only
config.pck and config.pck.last files. If there are problems creating
config.pck.tmp.host.pid, either the ownership/permissions of the
superordinate directories is not correct or the process doing the
updating is not running in Mailman's group.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] mailman python-2.4 using 96% cpu

2009-02-05 Thread Mark Sapiro
Mark Sapiro wrote:
>
>The not archiving is the issue referred to above. Once you apply the
>patch from
>,
>you can check that you have no 'old' files in qfiles/shunt and run
>bin/unshunt to archive the the messages that were shunted during
>archiving.


Note that you will need to restart Mailman after applying the patch and
before running bin/unshunt.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] mailman python-2.4 using 96% cpu

2009-02-05 Thread Mark Sapiro
Goodman, William wrote:

>What release did you upgrade from?
>>From 2.1.7 to 2.1.12rc1


OK


>What's in Mailman's logs?
[...]
>snipet from error:
>Feb 04 19:13:23 2009 (4759) Traceback (most recent call last):
>  File "/opt/software/mailman/Mailman/Queue/Runner.py", line 120, in
>_oneloop
>self._onefile(msg, msgdata)
>  File "/opt/software/mailman/Mailman/Queue/Runner.py", line 191, in
>_onefile
>keepqueued = self._dispose(mlist, msg, msgdata)
>  File "/opt/software/mailman/Mailman/Queue/ArchRunner.py", line 73, in
>_dispose
>mlist.ArchiveMail(msg)
>  File "/opt/software/mailman/Mailman/Archiver/Archiver.py", line 216,
>in ArchiveMail
>h.processUnixMailbox(f)
>  File "/opt/software/mailman/Mailman/Archiver/pipermail.py", line 564,
>in processUnixMailbox
>m = mbox.next()
>  File "/usr/lib64/python2.4/mailbox.py", line 35, in next
>return self.factory(_Subfile(self.fp, start, stop))
>  File "/opt/software/mailman/Mailman/Mailbox.py", line 89, in scrubber
>return mailbox.scrub(msg)
>  File "/opt/software/mailman/Mailman/Mailbox.py", line 109, in scrub
>return self._scrubber(self._mlist, msg)
>  File "/opt/software/mailman/Mailman/Handlers/Scrubber.py", line 408,
>in process
>replace_payload_by_text(msg, sep.join(text), charset)
>  File "/opt/software/mailman/Mailman/Handlers/Scrubber.py", line 170,
>in replace_payload_by_text
>msg.set_payload(text, charset)
>  File "/usr/lib64/python2.4/email/Message.py", line 218, in set_payload
>self.set_charset(charset)
>  File "/usr/lib64/python2.4/email/Message.py", line 242, in set_charset
>raise TypeError(charset)
>TypeError: us-ascii


This is a problem in the 2.1.12rc1 release. See the post at

for the fix. There are a couple of other problems too. I will be
releasing 2.1.12rc2 in a day or so.


[...]
>snipet from smtp-failure:
>.org>
>Feb 04 17:27:18 2009 (4766) delivery to mailman-ow...@lists.tigr.org
>failed with code -1: (111, 'Connection refused')
>Feb 04 17:27:18 2009 (4766) Low level smtp error: (111, 'Connection
>refused'), msgid: <20090204222702.7f98420...@lists.jcvi.org>
>Feb 04 17:27:18 2009 (4766) delivery to mailman-ow...@lists.tigr.org
>failed with code -1: (111, 'Connection refused')
>Feb 04 17:27:18 2009 (4766) Low level smtp error: (111, 'Connection
>refused'), msgid: <20090204222701.70f4f20...@lists.jcvi.org>
>Feb 04 17:27:18 2009 (4766) delivery to mailman-ow...@lists.tigr.org
>failed with code -1: (111, 'Connection refused')
>Feb 04 17:27:18 2009 (4766) Low level smtp error: (111, 'Connection
>refused'), msgid: <20090204222702.9d7d820...@lists.jcvi.org>
>Feb 04 17:27:18 2009 (4766) delivery to mailman-ow...@lists.tigr.org
>failed with code -1: (111, 'Connection refused')


Your MTA is not accepting connects from Mailman, at least part of the
time. See the FAQ at  for debugging hints
if this is an ongoing problem.

>
>What's in Mailman's qfiles/in/ directory?
>empty
>
>What are the other two high cpu runners (pids 4951 and 4946)?
>Yes that's it.


Yes, but which runners are they?

ps -fwp 4946 4951



>Does Mailman work normally except for this high cpu usage?
>
>First after moving my lists server all basic functions work, however the
>list server is not archiving, even when I select daily.


The not archiving is the issue referred to above. Once you apply the
patch from
,
you can check that you have no 'old' files in qfiles/shunt and run
bin/unshunt to archive the the messages that were shunted during
archiving.


>This is most likely because users cannot reply because they get bounced
>with:
> 
>Your message did not reach some or all of the intended recipients.
>Subject: RE: [Mylist] Test message
>Sent: 2/4/2009 6:12 PM
>The following recipient(s) could not be reached:
>
>myl...@jcvi.org on 2/4/2009 6:12 PM
>
>The e-mail account does not exist at the organization this message was
>sent to. Check the e-mail address, or contact the recipient directly to
>find out the correct address.
>
>


This is an MTA issue. Were these list's working before the upgrade?

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Turn off Display of Additional Languages

2009-02-05 Thread Mark Sapiro
Paul E Virgo - ISG wrote:
>
>Was wondering if there is a way to turn off the display of additional 
>language choices within Mailman?
>Is this something that can be done via mm_cfg.py? Thanks.


You can remove a specific language with language code xx by putting the
following in mm_cfg.py.

del LC_DESCRIPTIONS['xx']

You can repeat that to remove multiple languages.

You can remove all languages except English by putting the following in
mm_cfg.py.


LC_DESCRIPTIONS.clear()
add_language('en', 'English (USA)', 'us-ascii', 'ltr')

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Help

2009-02-05 Thread Jeff Bernier
Mark,
 
You are my new HERO! Hit the bricks Cpt. Marvel. If I were there... I'd kiss 
you!... Well, maybe not!
 
It all is now working perfectly even my moved list.
 
I removed the suspect config.pck file, re-copied over the original good one, 
then paid much closer attention to file ownership and permissions before 
re-running the withlist and arch commands again.
 
Thank You... Thank You Mark and others for your help!
 
Jeff
 

>>> On 2/5/2009 at 1:35 PM, Mark Sapiro  wrote:
Jeff Bernier wrote:

>No... I cannot get to the moved lists URL. I get the same Bug in Mailman
>message. I seem to be able to do all the administrative and subscriber 
>tasks with all other lists. the individual lists URLs will work... I just
>can no longer get to the main Mailman list page at: http://mailman ( 
>http://mailman/ )-host-name/mailman/listinfo or: http://mailman ( 
>http://mailman/ )-host-name/mailman/admin.



This is because the moved list's liusts/LISTNAME/config.pck file is
corrupt.

The first step is to remove the config.pck. If there is a
config.pck.last, it may be OK. If there is no config.pck.last, or it's
not OK remove all lists/LISTNAME/config.pck* files for this list. Then
the admin and listinfo overviews will work.


>Additionally, I don't thing the withlist command was successful for the 
>list I attempted to move.


This may be the cause of the current problem, or it may be because
there was some problem with the original config.pck that you moved.


>And other Mailman commands seem to fail as well,
>such as list_lists, and list_admins, producing similar results as what I
>had forwarded below.


This is all because of the one corrupt config.pck.


>I will take a look at the link you noted to try to determine where the
>fault is.


You don't need to do that. That is only to identify which list's
config.pck is corrupt, but we know that because you can't get to the
moved list's admin or listinfo pages so it is the config.pck for the
moved list which has the problem.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Question on Digest E-mails

2009-02-05 Thread Gary Moore
Mark, thanks for picking up on that.  Made that change on each of them, that 
should work.  Thanks so much!
 
Gary
 
Gary Moore, CISSP
Assistant Dean for Information Systems
Hofstra University School of Law
gary.p.mo...@hofstra.edu 
(516) 463-6067

>>> On 2/5/2009 at 2:22 PM, in message 
>>> , Mark Sapiro  
>>> wrote:
Gary Moore wrote:

>So, I reviewed every setting that I can think of which I have listed below 
>that would be involved with the problem that I have on the attachments being 
>scrubbed.
> 
>filter_content = no
>pass_mime_types =blank
>pass_filename_extensions=blank
>collapse_alternatives=yes
>convert_html_to_plaintext=no
>nondigestable=no
>scrub_nondigest=no
>digest_is_default = yes
>mime_is_default_digest=mime


So new subscribers are getting mime digests by default, but the
subscribers who are seeing the messape/rfc822 part scrubbed are still
getting plain digests. Uncheck their 'plain' box on the Membership
Management pages and save those changes.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3 
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ 
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/gary.p.moore%40hofstra.edu 

Security Policy: http://wiki.list.org/x/QIA9
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Question on Digest E-mails

2009-02-05 Thread Mark Sapiro
Gary Moore wrote:

>So, I reviewed every setting that I can think of which I have listed below 
>that would be involved with the problem that I have on the attachments being 
>scrubbed.
> 
>filter_content = no
>pass_mime_types =blank
>pass_filename_extensions=blank
>collapse_alternatives=yes
>convert_html_to_plaintext=no
>nondigestable=no
>scrub_nondigest=no
>digest_is_default = yes
>mime_is_default_digest=mime


So new subscribers are getting mime digests by default, but the
subscribers who are seeing the messape/rfc822 part scrubbed are still
getting plain digests. Uncheck their 'plain' box on the Membership
Management pages and save those changes.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] mailman python-2.4 using 96% cpu

2009-02-05 Thread Mark Sapiro
Goodman, William wrote:
> 
>After downloading and installing the latest version of mailman-2.1.12rc1
>and I'm using Apache-2.2-11 and
>Postfix-2.3.3-2.1.el5_2. On CentOS 5.2 (RedhHat) for some reason I can't
>understand the CPU usage is
>at 96% for mailman. When I do a top I get:
> 
>top - 11:18:13 up 16:38,  1 user,  load average: 2.78, 2.76, 2.62
>Tasks: 122 total,   2 running, 120 sleeping,   0 stopped,   0 zombie
>Cpu(s): 33.4%us,  2.3%sy,  0.0%ni, 64.0%id,  0.2%wa,  0.0%hi,  0.1%si,
>0.0%st
>Mem:   3866536k total,  2471544k used,  1394992k free,   409096k buffers
>Swap:  4194296k total,0k used,  4194296k free,  1435408k cached
> 
>PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
>
>4949 mailman   25   0  175m  37m 2760 R   97  1.0 944:03.94 python2.4
>
>4951 mailman   16   0  168m  30m 2828 S   12  0.8 288:29.09 python2.4
>
>4946 mailman   16   0  171m  33m 2752 S2  0.9  57:05.67 python2.4
>
>11093 postfix   15   0 54512 2848 2228 S1  0.1   0:00.29 smtpd
>
>14 root  10  -5 000 S0  0.0   1:02.48 events/0
>
>3935 root  10  -5 000 S0  0.0   2:42.83 kjournald
>
>6479 root  15   0 88068 3232 2516 S0  0.1   0:00.17 sshd
>
>10942 postfix   15   0 54212 2624 2064 S0  0.1   0:00.20 local
>
>11157 postfix   15   0 54252 2360 1820 S0  0.1   0:00.11 cleanup
>
>11172 postfix   16   0 55140 2356 1820 S0  0.1   0:00.10 cleanup
>
> 
>When I search for that PID I get this:
> 
># ps -ef | grep 4949
>mailman   4949  4938 94 Feb03 ?15:44:50 /usr/bin/python2.4
>/opt/software/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s


What release did you upgrade from?

What's in Mailman's logs?

What's in Mailman's qfiles/in/ directory?

What are the other two high cpu runners (pids 4951 and 4946)?

Does Mailman work normally except for this high cpu usage?

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Display Real Name in Subscriber List

2009-02-05 Thread Mark Sapiro
Wyn wrote:
>
>Has any one any ideas how to display a real name next to the email address
>in Subscriber List


I assume you mean the Subscriber List linked from the list's listinfo
page, i.e. the roster at a URL like
.

There's no way to include real names on this list without modifying
code, but see the FAQ at  for other ways
to get a list which may include real names.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Question on Digest E-mails

2009-02-05 Thread Gary Moore
So, I reviewed every setting that I can think of which I have listed below that 
would be involved with the problem that I have on the attachments being 
scrubbed.
 
filter_content = no
pass_mime_types =blank
pass_filename_extensions=blank
collapse_alternatives=yes
convert_html_to_plaintext=no
nondigestable=no
scrub_nondigest=no
digest_is_default = yes
mime_is_default_digest=mime
 
Still is scrubbing the attachments.  I am stumped.  Any ideas, besides canning 
our Groupwise e-mail system which we will be come Summer.
 
Thanks for all the suggestions though.  Appreciate the help
 
Gary

>>> On 2/3/2009 at 11:02 AM, in message <49882436.4962.006...@hofstra.edu>, 
>>> "Gary Moore"  wrote:
Grant, 

I actually just checked and I have the setting edit_filter_content set to "no" 
and the pass_mime_types was blank.

Gary

Gary Moore, CISSP
Assistant Dean for Information Systems
Hofstra University School of Law
gary.p.mo...@hofstra.edu 
(516) 463-6067

>>> On 2/3/2009 at 10:38 AM, in message <498864df.3010...@riverviewtech.net>, 
>>> Grant Taylor  wrote:
On 02/02/09 13:57, Gary Moore wrote:
> My apologies if this has been on the list before.  I have a mailman 
> listserv that I have setup to digest.  The messages are forwarded 
> from our blog to a general resource account which sends them out to 
> the listserv.  When the digest is sent out (see attached), each of 
> the digested messages has a "message scrubbed".  How can I solve this 
> problem.  Thanks in advance.

I'm just guessing here, but I'm betting that you are sending your digest 
out with the actual messages as MIME attachments rather than textual 
copy in a new message.  (Note:  I think this is a good thing, so keep it 
up.)

However I'm betting that Mailman is seeing the individual messages as 
attachments and is scrubbing them because it does not know about the 
MIME type, or more likely it is not an allowed MIME type.

Go to Content Filtering -> pass_mime_types and make sure that 
multipart/digest, message/rfc822 and possibly text/rfc822-headers are 
included in the list.  message/rfc822 is the standard attachment like 
you would receive if I forwarded a message to you (as an attachment).

(Please refer to section 5.1.5 of RFC 2046 for more information.)

I don't know if this will solve your problem or not, but at least it's a 
direction to look in to.

Please let us know if this solves the problem as if it does, I propose 
that multipart/digest and message/rfc822 get added to the default 
allowed MIME types.



Grant. . . .
--
Mailman-Users mailing list
Mailman-Users@python.org 
http://mail.python.org/mailman/listinfo/mailman-users 
Mailman FAQ: http://wiki.list.org/x/AgA3 
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ 
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/gary.p.moore%40hofstra.edu 

Security Policy: http://wiki.list.org/x/QIA9 
--
Mailman-Users mailing list
Mailman-Users@python.org 
http://mail.python.org/mailman/listinfo/mailman-users 
Mailman FAQ: http://wiki.list.org/x/AgA3 
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ 
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/gary.p.moore%40hofstra.edu 

Security Policy: http://wiki.list.org/x/QIA9
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] change user attributes from shell

2009-02-05 Thread Mark Sapiro
D. Karapiperis wrote:
>
>Is there any way from shell to change users e-mail and mod bit of a member?


To change a users address, see

  bin/clone_member --help

To change the mod bit see the withlist script at
 (mirrored at
).

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Help

2009-02-05 Thread Mark Sapiro
Jeff Bernier wrote:

>No... I cannot get to the moved lists URL. I get the same Bug in Mailman
>message. I seem to be able to do all the administrative and subscriber 
>tasks with all other lists. the individual lists URLs will work... I just
>can no longer get to the main Mailman list page at: 
>http://mailman-host-name/mailman/listinfo or: 
>http://mailman-host-name/mailman/admin.



This is because the moved list's liusts/LISTNAME/config.pck file is
corrupt.

The first step is to remove the config.pck. If there is a
config.pck.last, it may be OK. If there is no config.pck.last, or it's
not OK remove all lists/LISTNAME/config.pck* files for this list. Then
the admin and listinfo overviews will work.


>Additionally, I don't thing the withlist command was successful for the 
>list I attempted to move.


This may be the cause of the current problem, or it may be because
there was some problem with the original config.pck that you moved.


>And other Mailman commands seem to fail as well,
>such as list_lists, and list_admins, producing similar results as what I
>had forwarded below.


This is all because of the one corrupt config.pck.


>I will take a look at the link you noted to try to determine where the
>fault is.


You don't need to do that. That is only to identify which list's
config.pck is corrupt, but we know that because you can't get to the
moved list's admin or listinfo pages so it is the config.pck for the
moved list which has the problem.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Help

2009-02-05 Thread Jeff Bernier
Mark,
 
No... I cannot get to the moved lists URL. I get the same Bug in Mailman 
message. I seem to be able to do all the administrative and subscriber tasks 
with all other lists. the individual lists URLs will work... I just can no 
longer get to the main Mailman list page at: 
http://mailman-host-name/mailman/listinfo or: 
http://mailman-host-name/mailman/admin.
 
Additionally, I don't thing the withlist command was successful for the list I 
attempted to move. And other Mailman commands seem to fail as well, such as 
list_lists, and list_admins, producing similar results as what I had forwarded 
below.
 
I will take a look at the link you noted to try to determine where the fault 
is. Of course, ultimately, it's my fault.
 
I'm very new to Unix based commands, and Mailman in general, so I really 
appreciate your patience and assistance here.
 
Regards,
Jeff
 

>>> On 2/4/2009 at 7:26 PM, Mark Sapiro  wrote:
Jeff Bernier wrote:

>I was moving a list from one server to another, and following creating 
>directories and moving files, I attempted to run the following command:
> 
>withlist -l -r fix_url LISTNAME
> 
>Now I cannot get to my main Mailman page. I see the Bug in Mailman version 
>2.1.9 message.
> 
>I can however get to each individual list manager url and login.


How about the list you just moved?


>When I type list_lists at the command line, I get the following in return:
>sh-3.2# ./list_lists
>Traceback (most recent call last):
>  File "./list_lists", line 122, in 
>main()
>  File "./list_lists", line 94, in main
>mlist = MailList.MailList(n, lock=0)
>  File "/usr/share/mailman/Mailman/MailList.py", line 130, in __init__
>self.Load()
>  File "/usr/share/mailman/Mailman/MailList.py", line 629, in Load
>dict, e = self.__load(file)
>  File "/usr/share/mailman/Mailman/MailList.py", line 602, in __load
>dict = loadfunc(fp)
>AttributeError: 'str' object has no attribute 'append'
> 
>What did I do wrong? Any Ideas what this means?


Both the above traceback from list_lists and the Bug from the listinfo
overview page say that the lists/LISTNAME/config.pck file is corrupt
for some list. The most likely candidate is the list you just moved,
but if the withlist fix_url worked, that one should be OK.

See the post at

for a way to find out which list has the problem config.pck.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] Display Real Name in Subscriber List

2009-02-05 Thread Wyn
Hello,

Has any one any ideas how to display a real name next to the email address
in Subscriber List

Thanks

Wyn

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] mailman python-2.4 using 96% cpu

2009-02-05 Thread Goodman, William
Hello,
 
After downloading and installing the latest version of mailman-2.1.12rc1
and I'm using Apache-2.2-11 and
Postfix-2.3.3-2.1.el5_2. On CentOS 5.2 (RedhHat) for some reason I can't
understand the CPU usage is
at 96% for mailman. When I do a top I get:
 
top - 11:18:13 up 16:38,  1 user,  load average: 2.78, 2.76, 2.62
Tasks: 122 total,   2 running, 120 sleeping,   0 stopped,   0 zombie
Cpu(s): 33.4%us,  2.3%sy,  0.0%ni, 64.0%id,  0.2%wa,  0.0%hi,  0.1%si,
0.0%st
Mem:   3866536k total,  2471544k used,  1394992k free,   409096k buffers
Swap:  4194296k total,0k used,  4194296k free,  1435408k cached
 
PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND

4949 mailman   25   0  175m  37m 2760 R   97  1.0 944:03.94 python2.4

4951 mailman   16   0  168m  30m 2828 S   12  0.8 288:29.09 python2.4

4946 mailman   16   0  171m  33m 2752 S2  0.9  57:05.67 python2.4

11093 postfix   15   0 54512 2848 2228 S1  0.1   0:00.29 smtpd

14 root  10  -5 000 S0  0.0   1:02.48 events/0

3935 root  10  -5 000 S0  0.0   2:42.83 kjournald

6479 root  15   0 88068 3232 2516 S0  0.1   0:00.17 sshd

10942 postfix   15   0 54212 2624 2064 S0  0.1   0:00.20 local

11157 postfix   15   0 54252 2360 1820 S0  0.1   0:00.11 cleanup

11172 postfix   16   0 55140 2356 1820 S0  0.1   0:00.10 cleanup

 
When I search for that PID I get this:
 
# ps -ef | grep 4949
mailman   4949  4938 94 Feb03 ?15:44:50 /usr/bin/python2.4
/opt/software/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s

I've search the archives but I haven't seen an up to date resolution.
Can anyone help.
 
Bill
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] change user attributes from shell

2009-02-05 Thread D. Karapiperis

Hello

Is there any way from shell to change users e-mail and mod bit of a member?

Thanks in advance

--
ΔΗΜΗΤΡΙΟΣ ΚΑΡΑΠΙΠΕΡΗΣ 
ΤΕΧΝ. ΥΠ. ΣΥΖΕΥΞΙΣ


ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ - Ν. ΘΕΣΣΑΛΟΝΙΚΗΣ
ΔΗΜΟΣ ΘΕΣΣΑΛΟΝΙΚΗΣ -  Δ/ΝΣΗ ΟΡΓΑΝΩΣΕΩΣ & ΜΕΘΟΔΩΝ
2310 - 257844 fax 2310 - 244965


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9

[Mailman-Users] Turn off Display of Additional Languages

2009-02-05 Thread Paul E Virgo - ISG

Hello,

Was wondering if there is a way to turn off the display of additional 
language choices within Mailman?

Is this something that can be done via mm_cfg.py? Thanks.

PEV

--

Paul E. Virgo
Email/DHCP/DNS Sr. Admin
NASA - Goddard Space Flight Ctr
Greenbelt, MD 20771
(office) 301-286-0788
(fax) 301-286-4424
(cell) 240-393-2952

'Be your best, one day at a time'
~

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Permissions problems

2009-02-05 Thread Melinda Gilmore
Mark,  thanks for the info that did work for that particular error.  But I
keep getting this one, and the number at the end changes.   So I have to
keep adding a file.  Is there some type of numbering system for
config.pck.tmp, is this related to a cron job

IOError: [Errno 13] Permission denied:
'/usr/local/mailman/lists/sis_directors/config.pck.tmp.lists.19678'

-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Wednesday, January 21, 2009 11:43 AM
To: gilmore@osu.edu; mailman-users@python.org
Subject: Re: [Mailman-Users] Permissions problems

Melinda Gilmore wrote:

>I continue to get these messages when some cron jobs are running.  I can
see
>that it is a permissions problems.  But I have tried everything by changing
>permissions and it still is having problems.  This particular file that is
>mentioned is not there.


So the user who's crontab ran this does not have permission to create
the file.

Try doing

su - user

where user is the user who's crontab this is, followed by

touch /usr/local/mailman/archives/private/mailman/2007-October.txt.gz


>Someone please help me figure this out.  There has
>to be some little thing I am missing.  I have compared files with others
>that are not getting the message and the permissions are the same.  
>
>Your "cron" job on lists
>/usr/local/bin/python -S /usr/local/mailman/cron/nightly_gzip
>
>produced the following output:
>
>Traceback (most recent call last):
>  File "/usr/local/mailman/cron/nightly_gzip", line 154, in ?
>main()
>  File "/usr/local/mailman/cron/nightly_gzip", line 140, in main
>compress(f)
>  File "/usr/local/mailman/cron/nightly_gzip", line 81, in compress
>outfp = gzip.open(txtfile+'.gz', 'wb', 6)
>  File "/usr/local/lib/python2.3/gzip.py", line 49, in open
>return GzipFile(filename, mode, compresslevel)
>  File "/usr/local/lib/python2.3/gzip.py", line 94, in __init__
>fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
>IOError: [Errno 13] Permission denied:
>'/usr/local/mailman/archives/private/mailman/2007-October.txt.gz'

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9