[Mailman-Users] ubuntu security update broken

2008-03-15 Thread Chuck Peters
# /var/lib/mailman/bin/update
Traceback (most recent call last):
  File /var/lib/mailman/bin/update, line 51, in module
from Mailman import MailList
  File /usr/lib/mailman/Mailman/MailList.py, line 64, in module
from Mailman import Gui
  File /usr/lib/mailman/Mailman/Gui/__init__.py, line 21, in module
from General import General
  File /var/lib/mailman/Mailman/Gui/General.py, line 438
elif property == 'info':
   ^

What should I do now?


Thanks,
Chuck
--
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] ubuntu security update broken

2008-03-15 Thread Mark Sapiro
Chuck Peters wrote:

# /var/lib/mailman/bin/update
Traceback (most recent call last):
  File /var/lib/mailman/bin/update, line 51, in module
from Mailman import MailList
  File /usr/lib/mailman/Mailman/MailList.py, line 64, in module
from Mailman import Gui
  File /usr/lib/mailman/Mailman/Gui/__init__.py, line 21, in module
from General import General
  File /var/lib/mailman/Mailman/Gui/General.py, line 438
elif property == 'info':
   ^

What should I do now?


Talk to your packager (Ubuntu/Debian?).

If you want advice from this list on how to fix this yourself, it would
help if you posted the complete error message, although from what I
see, the exception is probably SyntaxError, but to know what actually
caused it and how to fix it, we need to see  a range of lines, say
428-448 from /var/lib/mailman/Mailman/Gui/General.py.

-- 
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] Bug in Mailman version 2.1.9

2008-03-15 Thread Fabricio Oliveira

Hi Mark, I stoped the services and restored backup. I checked permssions and 
started the services. After that the mailman doesn't restart, see logs: 
Traceback (most recent call last):  File '/usr/local/mailman/bin/mailmanctl', 
line 548, in ?main()  File '/usr/local/mailman/bin/mailmanctl', line 517, 
in mainnewpid = start_runner(qrname, slice, count)  File 
'/usr/local/mailman/bin/mailmanctl', line 257, in start_runner
os.execl(mm_cfg.PYTHON, mm_cfg.PYTHON, exe, rswitch, '-s')  File 
'/usr/lib/python2.4/os.py', line 309, in execlexecv(file, args)OSError: 
[Errno 2] No such file or directoryMar 15 12:11:01 2008 (11307) Master qrunner 
detected subprocess exit(pid: 11331, sig: None, sts: 1, class: BounceRunner, 
slice: 1/1) [restarting]Mar 15 12:11:01 2008 (11307) Qrunner BounceRunner 
reached maximum restart limit of 10, not restarting. I don't know what is 
happen, but I need solve this issue... Thank you for your help. Regards,Fabricio
_
Veja mapas e encontre as melhores rotas para fugir do trĂ¢nsito com o Live 
Search Maps!
http://www.livemaps.com.br/index.aspx?tr=trueHi Mark,

I stoped the services and restored backup. I checked permssions and started the 
services. After that the mailman doesn't restart, see logs:

Traceback (most recent call last):
  File /usr/local/mailman/bin/mailmanctl, line 548, in ?
main()
  File /usr/local/mailman/bin/mailmanctl, line 517, in main
newpid = start_runner(qrname, slice, count)
  File /usr/local/mailman/bin/mailmanctl, line 257, in start_runner
os.execl(mm_cfg.PYTHON, mm_cfg.PYTHON, exe, rswitch, '-s')
  File /usr/lib/python2.4/os.py, line 309, in execl
execv(file, args)
OSError: [Errno 2] No such file or directory
Mar 15 12:11:01 2008 (11307) Master qrunner detected subprocess exit
(pid: 11331, sig: None, sts: 1, class: BounceRunner, slice: 1/1) [restarting]
Mar 15 12:11:01 2008 (11307) Qrunner BounceRunner reached maximum restart limit 
of 10, not restarting.

I don't know what is happen, but I need solve this issue...

Thank you for your help.

Regards,
Fabricio--
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] Bug in Mailman version 2.1.9

2008-03-15 Thread Mark Sapiro
Fabricio Oliveira wrote:
  
 I stoped the services and restored backup. I checked permssions and 
 started the services. After that the mailman doesn't restart, see logs:
  
 Traceback (most recent call last):
   File '/usr/local/mailman/bin/mailmanctl', line 548, in ?
 main()
   File '/usr/local/mailman/bin/mailmanctl', line 517, in main
 newpid = start_runner(qrname, slice, count)
   File '/usr/local/mailman/bin/mailmanctl', line 257, in start_runner
 os.execl(mm_cfg.PYTHON, mm_cfg.PYTHON, exe, rswitch, '-s')
   File '/usr/lib/python2.4/os.py', line 309, in execl
 execv(file, args)
 OSError: [Errno 2] No such file or directory
 Mar 15 12:11:01 2008 (11307) Master qrunner detected subprocess exit
 (pid: 11331, sig: None, sts: 1, class: BounceRunner, slice: 1/1) 
 [restarting]
 Mar 15 12:11:01 2008 (11307) Qrunner BounceRunner reached maximum 
 restart limit of 10, not restarting.
  
 I don't know what is happen, but I need solve this issue...


It appears that you installed a broken backup.

It was not a good idea to install an entire backup. The only thing that 
needed to be restored from backup was the apparently corrupt 
/usr/local/mailman/lists/cartaoberro/config.pck file.

If possible, you should go back to what you had prior to the restore and 
then replace only that one file with the one from the backup.

If that is not possible, the above error is caused by an incorrect value 
for PYTHON or for PREFIX in Defaults.py. These are set by configure, so 
the problem appears to be that the backup you restored was 
mis-configured and not a working Mailman or the restore was incomplete, 
or the location of 'python' has changed since the backup.

You really need to go back to your almost working except for the 
cartaoberro list Mailman and just restore that one list's config.pck. 
If you can't do that, you may have to just start over.

-- 
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] How to download a list of all the email addresses

2008-03-15 Thread Allan Abrahamse
In my mailman list, when I ask to see the subscribers email addresses I 
get a page that makes me select a letter and then I see only those 
addresses beginning with the selected letter. A couple of years ago I 
discovered, somehow, a way to get a the entire list of email addresses, 
all on one page (I only have 50 or so subscribers so it was not a very 
big page). I'm trying to find that URL but I can't. Can anybody remind me?

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

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


[Mailman-Users] subscribe

2008-03-15 Thread Allan Abrahamse

--
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] How to download a list of all the email addresses

2008-03-15 Thread Mark Sapiro
Allan Abrahamse wrote:

In my mailman list, when I ask to see the subscribers email addresses I 
get a page that makes me select a letter and then I see only those 
addresses beginning with the selected letter. A couple of years ago I 
discovered, somehow, a way to get a the entire list of email addresses, 
all on one page (I only have 50 or so subscribers so it was not a very 
big page). I'm trying to find that URL but I can't. Can anybody remind me?

You are probably thinking of something like
http://www.example.com/mailman/roster/listname which is also
accessible from the Visit Subscriber List button on the listinfo
page.

Also see
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.062.htp

Finally, Mailman 2.1.10 (now in beta) will allow setting Maximum
number of members to show on one page of the Membership List. on the
list's General Options page. In your case, you could set this greater
than 50 or so and the Membership List page wouldn't subdivide
alphabetically.

-- 
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] minimizing spam addresses on web site

2008-03-15 Thread Mark Sapiro
Chuck Peters wrote:

I would like to replace all mailto: links to a
http://mailhide.recaptcha.netURL.  I changed the listinfo page on a
test list, but changing it throughout
a list's pages isn't as trivial.  It appears that part of the footer code is
def GetMailmanFooter in Mailman/HTMLFormatter.py.

I have very little experience hacking python and could really use some help
getting this to work.  Besides I think this could be useful for lots of
others who are sick of the deluge of spam.  Any suggestions?

An edited 'grep' output showing the modules that put mailto links on
Mailman's web pages is

Archiver/HyperArch.py:# Point the mailto url back to
the list
Archiver/HyperArch.py:URL = 'mailto:' + text
Cgi/admin.py:Link('mailto:%s' % mailman_owner, mailman_owner),
Cgi/listinfo.py: Link('mailto:' + siteowner, siteowner),
HTMLFormatter.py:owner_link = Link('mailto:' +
self.GetOwnerEmail(), ownertext).Format()
HTMLFormatter.py:mailto = Link('mailto:' +
self.GetOwnerEmail(),
HTMLFormatter.py:%(link)s option below.  Contact %(mailto)s
if you have any


There are also mailto links in the HTML templates article.html and
listinfo.html.

-- 
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] Different Port For Web Pages

2008-03-15 Thread Jim Hale
Greetings!

I'm running my mail server from a different machine than I am my
Website(s)/BBS(s) and need to use port 8080. I have the machine listening on
the correct port but need to know how to universally change the links
throughout Mailman to append :8080 to all of them so the outside world can
get to them.

Any points in the right direction would be greatly appreciated. :)

Jim Hale
The MIDI Trombone BBS - http://bbs.themiditrombone.net
Fantastic Adventures Online BBS - http://bbs.fantasticadventuresonline.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] Different Port For Web Pages

2008-03-15 Thread Mark Sapiro
Jim Hale wrote:

I'm running my mail server from a different machine than I am my
Website(s)/BBS(s) and need to use port 8080. I have the machine listening on
the correct port but need to know how to universally change the links
throughout Mailman to append :8080 to all of them so the outside world can
get to them.

Any points in the right direction would be greatly appreciated. :)


Put

DEFAULT_URL_PATTERN = 'http://%s:8080/mailman/'

in mm_cfg.py - don't omit the trailing slash.

Then run fix_url on all existing lists. E.g. without virtual domains,
you could run

bin/withlist -a -l -r fix_url

This will fix everything except the link to the listinfo page in the
static HTML pages in the archives. Newly archived messages and neyly
built index and TOC pages will have the correct link, but old ones
will not. If you want to fix these, you can edit the URLs directly
with some kind of script or rebuild the archives for each list with
'bin/arch --wipe listname'.

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