[Mailman-Users] PLEASE HELP

2011-06-07 Thread Christy Johnson
One of my listservs stopped working a while back and some of the other ones
have been finicky since. Then just today, the
system automatically unsubscribed everyone who was on the listserv. I am
completely at a loss for what to do here.

Please help!!!

Christy

-- 
Christina E. Johnson
Georgetown University
Edmund A. Walsh School of Foreign Service
(c) 916.792.8935
c.johnson2...@gmail.com
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] PLEASE HELP

2011-06-07 Thread Mailman Admin
Hi Christy Johnson

On 06/06/2011 06:33 PM, Christy Johnson wrote:
 One of my listservs stopped working a while back and some of the other ones
 have been finicky since. Then just today, the
 system automatically unsubscribed everyone who was on the listserv. I am
 completely at a loss for what to do here.

I suspect you got a lot of bounces. Then mailman automatically
unsubscribed your members because of this.

You have to check your mailman logs and SMTP server logs, why you got
bounces from all addresses in your lists.


Kind regards,
Christian Mack
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Generic rules for list members.

2011-06-07 Thread Joseph Chamberlain, D.D.S.
Hello, everyone.

A question for the group:

Does anyone have a list with rules of behavior and/or Internet etiquette for
members of your mailing list(s) that you could share ? I did a search on
Mailman's website but couldn't find a default or standard one. I found
Mailman's List Member Manual but it doesn't seem to contain any
information related to expected member behavior (and I wouldn't expect it to
contain it).

Any that you can share or any links to where I may find examples of rules of
participation for mailing lists ?

Thank you in advance,

Joe


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


[Mailman-Users] Listserv Problems

2011-06-07 Thread Christy Johnson
Starting about a month ago, out company began having major problems with our
listservs. Initially, we just couldn't send e-mails to one of them with no
bounce notifications. Then one day, all the bounce notifications came all at
one. Then other listservs also stopped functioning, or refuse to function
when certain e-mails e-mail them. The problem seems to get getting worse,
and I have no idea what to do.

Any help would be greatly appreciated!

Christy

-- 
Christina E. Johnson
Director of Information Technology
Students of Georgetown, Inc.
Georgetown University
(c) 916.792.8935
i c.johnson2...@gmail.comt...@thecorp.org
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Moderation Bit ?

2011-06-07 Thread Rob
On Jun 6, 2011, at 11:04 AM, Wayne Cook wrote:

 Hopefully, someone can answer this for me again.  I don't set many lists up 
 and thought I had saves what I'd been told once before :(
 
 When people subscribe to my list, the moderation bit isn't set, but I'd like 
 the members moderation bit to be set by default.  I can't find where to set 
 that default setting...can anyone help me?
 
 Mailman version 2.1.5
 
 Thanks
 Wayne

Privacy options… Sender Filters, first line of that settings page.

I always forget where that is too…
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] External smtp

2011-06-07 Thread Julio Brum
Hello,
Can anyone give me a tutorial step-by-step (for dummies...) instructions for 
installing the mailman with an external smtp (gmail or some other)?

Thanks in advance,
Julio
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] External smtp

2011-06-07 Thread Mark Sapiro
On 6/7/2011 6:33 AM, Julio Brum wrote:
 Hello, Can anyone give me a tutorial step-by-step (for dummies...)
 instructions for installing the mailman with an external smtp (gmail
 or some other)?


For outgoing mail you need to set SMTPHOST and possibly SMTPPORT in
mm_cfg.py, and if your outgoing server requires authentication, you need
a patch along the lines of the one at
https://bugs.launchpad.net/mailman/+bug/558281.

For incoming mail, you need to arrange for the mail server to accept
mail for all list addresses and arrange some way to get this mail from
the mail server to Mailman. How you would do this depends on the mail
server as well as other considerations. No step by step is possible
without knowing what the external server is and what tools are available
on your mailman server.

-- 
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Listserv Problems

2011-06-07 Thread Mark Sapiro
Christy Johnson wrote:

Starting about a month ago, out company began having major problems with our
listservs.


Please see the FAQ at
http://wiki.list.org/display/DOC/Mailman+is+not+Listserv.


Initially, we just couldn't send e-mails to one of them with no
bounce notifications. Then one day, all the bounce notifications came all at
one. Then other listservs also stopped functioning, or refuse to function
when certain e-mails e-mail them. The problem seems to get getting worse,
and I have no idea what to do.


Please see the FAQ at http://wiki.list.org/x/A4E9 for some things to
check.

If you still need help after checking the things in the FAQ, please
tell us what you found in going through items 2b, 6b, 7, 8, 9 and 13
in the FAQ.

-- 
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Generic rules for list members.

2011-06-07 Thread Mark Sapiro
Joseph Chamberlain, D.D.S. wrote:

Does anyone have a list with rules of behavior and/or Internet etiquette for
members of your mailing list(s) that you could share ?


Try googling

email mailing list etiquette


Any that you can share or any links to where I may find examples of rules of
participation for mailing lists ?


Beyond what you'd find via internet search, rules tend to be specific
to lists. I.e., what's appropriate for one list may not be for others.

-- 
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] PLEASE HELP

2011-06-07 Thread Mark Sapiro
Mailman Admin wrote:

On 06/06/2011 06:33 PM, Christy Johnson wrote:
 One of my listservs


Please see http://wiki.list.org/display/DOC/Mailman+is+not+Listserv.


 stopped working a while back and some of the other ones
 have been finicky since. Then just today, the
 system automatically unsubscribed everyone who was on the listserv. I am
 completely at a loss for what to do here.

I suspect you got a lot of bounces. Then mailman automatically
unsubscribed your members because of this.

You have to check your mailman logs and SMTP server logs, why you got
bounces from all addresses in your lists.


Good advice. Also see
http://mail.python.org/pipermail/mailman-users/2011-June/071744.html.

-- 
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] mailman NameError: global name '_' is not defined

2011-06-07 Thread Steven Jones
I just tried to set a list creators password...

so doing a,

[root@vuwunicmailmnt1 conf.d]# /usr/lib/mailman/bin/mmsitepass --help
Traceback (most recent call last):
  File /usr/lib/mailman/bin/mmsitepass, line 105, in module
main()
  File /usr/lib/mailman/bin/mmsitepass, line 77, in main
usage(0)
  File /usr/lib/mailman/bin/mmsitepass, line 57, in usage
print  fd, _(__doc__)
NameError: global name '_' is not defined

Some quick googling shows nothing.

[root@vuwunicmailmnt1 conf.d]# rpm -q mailman
mailman-2.1.12-14.el6_0.2.x86_64
[root@vuwunicmailmnt1 conf.d]# rpm -q python
python-2.6.6-20.el6.x86_64

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


Re: [Mailman-Users] mailman NameError: global name '_' is not defined

2011-06-07 Thread Mark Sapiro
Steven Jones wrote:

[root@vuwunicmailmnt1 conf.d]# /usr/lib/mailman/bin/mmsitepass --help
Traceback (most recent call last):
  File /usr/lib/mailman/bin/mmsitepass, line 105, in module
main()
  File /usr/lib/mailman/bin/mmsitepass, line 77, in main
usage(0)
  File /usr/lib/mailman/bin/mmsitepass, line 57, in usage
print  fd, _(__doc__)
NameError: global name '_' is not defined


The standard distributed GNU Mailman mmsitepass contains the following
lines immediately after the copyright notice and the documentation:

import sys
import getpass
import getopt

import paths
from Mailman import Utils
from Mailman.i18n import _

Yours is apparently missing the last of these and who knows what else.

-- 
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman NameError: global name '_' is not defined

2011-06-07 Thread Steven Jones
Hi

Why would it be missing stuff?

How do I determine this and then go kick redhat?

regards



From: Mark Sapiro [m...@msapiro.net]
Sent: Wednesday, 8 June 2011 9:50 a.m.
To: Steven Jones; mailman-users@python.org
Subject: Re: [Mailman-Users] mailman NameError: global name '_' is not defined

Steven Jones wrote:

[root@vuwunicmailmnt1 conf.d]# /usr/lib/mailman/bin/mmsitepass --help
Traceback (most recent call last):
  File /usr/lib/mailman/bin/mmsitepass, line 105, in module
main()
  File /usr/lib/mailman/bin/mmsitepass, line 77, in main
usage(0)
  File /usr/lib/mailman/bin/mmsitepass, line 57, in usage
print  fd, _(__doc__)
NameError: global name '_' is not defined


The standard distributed GNU Mailman mmsitepass contains the following
lines immediately after the copyright notice and the documentation:

import sys
import getpass
import getopt

import paths
from Mailman import Utils
from Mailman.i18n import _

Yours is apparently missing the last of these and who knows what else.

--
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman NameError: global name '_' is not defined

2011-06-07 Thread Mark Sapiro
On 6/7/2011 2:57 PM, Steven Jones wrote:
 
 Why would it be missing stuff?


Because somebody screwed up?


 How do I determine this and then go kick redhat?


Download mmsitepass from
http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/bin/mmsitepass
and compare (diff) it to yours. The only difference should be the first
line. Any other differences are either a RedHat patch, a packaging error
or something that happened on your site.

-- 
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman NameError: global name '_' is not defined

2011-06-07 Thread Steven Jones
Thanks

regards

From: Mark Sapiro [m...@msapiro.net]
Sent: Wednesday, 8 June 2011 10:13 a.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] mailman NameError: global name '_' is not defined

On 6/7/2011 2:57 PM, Steven Jones wrote:

 Why would it be missing stuff?


Because somebody screwed up?


 How do I determine this and then go kick redhat?


Download mmsitepass from
http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/bin/mmsitepass
and compare (diff) it to yours. The only difference should be the first
line. Any other differences are either a RedHat patch, a packaging error
or something that happened on your site.

--
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman NameError: global name '_' is not defined

2011-06-07 Thread Steven Jones
Well here is the red hat one.

===
#! @PYTHON@
#
# Copyright (C) 1998,1999,2000,2001,2002 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
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Set the site password, prompting from the terminal.

The site password can be used in most if not all places that the list
administrator's password can be used, which in turn can be used in most places
that a list users password can be used.

Usage: %(PROGRAM)s [options] [password]

Options:

-c/--listcreator
Set the list creator password instead of the site password.  The list
creator is authorized to create and remove lists, but does not have
the total power of the site administrator.

-h/--help
Print this help message and exit.

If password is not given on the command line, it will be prompted for.


import sys
import getpass
import getopt

import paths
from Mailman import Utils
from Mailman.i18n import _

PROGRAM = sys.argv[0]


^L
def usage(code, msg=''):
if code:
fd = sys.stderr
else:
fd = sys.stdout
print  fd, _(__doc__)
if msg:
print  fd, msg
sys.exit(code)


^L
def main():
try:
opts, args = getopt.getopt(sys.argv[1:], 'ch',
   ['listcreator', 'help'])
except getopt.error, msg:
usage(1, msg)

# Defaults
siteadmin = 1
pwdesc = _('site')

for opt, arg in opts:
if opt in ('-h', '--help'):
usage(0)
elif opt in ('-c', '--listcreator'):
siteadmin = 0
pwdesc = _('list creator')

if len(args) == 1:
pw1 = args[0]
else:
try:
pw1 = getpass.getpass(_('New %(pwdesc)s password: '))
pw2 = getpass.getpass(_('Again to confirm password: '))
if pw1  pw2:
print _('Passwords do not match; no changes made.')
sys.exit(1)
except KeyboardInterrupt:
print _('Interrupted...')
sys.exit(0)
# Set the site password by writing it to a local file.  Make sure the
# permissions don't allow other+read.
Utils.set_global_password(pw1, siteadmin)
if Utils.check_global_password(pw1, siteadmin):
print _('Password changed.')
else:
print _('Password change failed.')


^L
if __name__ == '__main__':
main()

===

It has differences but I have no idea if these matter.

regards




From: mailman-users-bounces+steven.jones=vuw.ac...@python.org 
[mailman-users-bounces+steven.jones=vuw.ac...@python.org] on behalf of Steven 
Jones [steven.jo...@vuw.ac.nz]
Sent: Wednesday, 8 June 2011 10:59 a.m.
To: Mark Sapiro
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] mailman NameError: global name '_' is not defined

Thanks

regards

From: Mark Sapiro [m...@msapiro.net]
Sent: Wednesday, 8 June 2011 10:13 a.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] mailman NameError: global name '_' is not defined

On 6/7/2011 2:57 PM, Steven Jones wrote:

 Why would it be missing stuff?


Because somebody screwed up?


 How do I determine this and then go kick redhat?


Download mmsitepass from
http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/bin/mmsitepass
and compare (diff) it to yours. The only difference should be the first
line. Any other differences are either a RedHat patch, a packaging error
or something that happened on your site.

--
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/steven.jones%40vuw.ac.nz
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: 

Re: [Mailman-Users] mailman NameError: global name '_' is not defined

2011-06-07 Thread Mark Sapiro
On 6/7/2011 4:22 PM, Steven Jones wrote:
 Well here is the red hat one.


Are you sure? It appears identical to the one at
http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/bin/mmsitepass.


-- 
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman NameError: global name '_' is not defined

2011-06-07 Thread Steven Jones
hi,

Oops sorry think i copied the wrong one!

==
#! /usr/bin/python
#
# Copyright (C) 1998,1999,2000,2001,2002 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
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Set the site password, prompting from the terminal.

The site password can be used in most if not all places that the list
administrator's password can be used, which in turn can be used in most places
that a list users password can be used.

Usage: %(PROGRAM)s [options] [password]

Options:

-c/--listcreator
Set the list creator password instead of the site password.  The list
creator is authorized to create and remove lists, but does not have
the total power of the site administrator.

-h/--help
Print this help message and exit.

If password is not given on the command line, it will be prompted for.


import sys
import getpass
import getopt

import paths
from Mailman import Utils
from Mailman.i18n import C_

PROGRAM = sys.argv[0]
^L
def usage(code, msg=''):
if code:
fd = sys.stderr
else:
fd = sys.stdout
print  fd, _(__doc__)
if msg:
print  fd, msg
sys.exit(code)


^L
def main():
try:
opts, args = getopt.getopt(sys.argv[1:], 'ch',
   ['listcreator', 'help'])
except getopt.error, msg:
usage(1, msg)

# Defaults
siteadmin = 1
pwdesc = C_('site')

for opt, arg in opts:
if opt in ('-h', '--help'):
usage(0)
elif opt in ('-c', '--listcreator'):
siteadmin = 0
pwdesc = C_('list creator')

if len(args) == 1:
pw1 = args[0]
else:
try:
pw1 = getpass.getpass(C_('New %(pwdesc)s password: '))
pw2 = getpass.getpass(C_('Again to confirm password: '))
if pw1  pw2:
print C_('Passwords do not match; no changes made.')
sys.exit(1)
except KeyboardInterrupt:
print C_('Interrupted...')
sys.exit(0)
   # Set the site password by writing it to a local file.  Make sure the
# permissions don't allow other+read.
Utils.set_global_password(pw1, siteadmin)
if Utils.check_global_password(pw1, siteadmin):
print C_('Password changed.')
else:
print C_('Password change failed.')


^L
if __name__ == '__main__':
main()
===

regards



From: Mark Sapiro [m...@msapiro.net]
Sent: Wednesday, 8 June 2011 12:35 p.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] mailman NameError: global name '_' is not defined

On 6/7/2011 4:22 PM, Steven Jones wrote:
 Well here is the red hat one.


Are you sure? It appears identical to the one at
http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/bin/mmsitepass.


--
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman NameError: global name '_' is not defined

2011-06-07 Thread Mark Sapiro
On 6/7/2011 6:35 PM, Steven Jones wrote:
 hi,
 
 Oops sorry think i copied the wrong one!


OK. See comments inline.


[...]
 import sys
 import getpass
 import getopt
 
 import paths
 from Mailman import Utils
 from Mailman.i18n import C_


It appears that Red Hat has implemented a  Mailman.i18n.C_ function that
is not in standard GNU Mailman and are using it here instead of the
standard Mailman.i18n._ function.

I can guess that C_ is intended to be 'command _', i.e. a replacement
for the standard i18n._() to be used in command line programs, but that
is only a guess, and I have no idea why they would do this.


 PROGRAM = sys.argv[0]
 ^L
 def usage(code, msg=''):
 if code:
 fd = sys.stderr
 else:
 fd = sys.stdout
 print  fd, _(__doc__)


However, in changing the references from _() to C_(), the line above was
overlooked. You can fix your issue by changing the single line above from

print  fd, _(__doc__)

to

print  fd, C_(__doc__)

-- 
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman NameError: global name '_' is not defined

2011-06-07 Thread Steven Jones
Hi,

thankyou for your time.

regards

Steven

From: Mark Sapiro [m...@msapiro.net]
Sent: Wednesday, 8 June 2011 2:53 p.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] mailman NameError: global name '_' is not defined

On 6/7/2011 6:35 PM, Steven Jones wrote:
 hi,

 Oops sorry think i copied the wrong one!


OK. See comments inline.


[...]
 import sys
 import getpass
 import getopt

 import paths
 from Mailman import Utils
 from Mailman.i18n import C_


It appears that Red Hat has implemented a  Mailman.i18n.C_ function that
is not in standard GNU Mailman and are using it here instead of the
standard Mailman.i18n._ function.

I can guess that C_ is intended to be 'command _', i.e. a replacement
for the standard i18n._() to be used in command line programs, but that
is only a guess, and I have no idea why they would do this.


 PROGRAM = sys.argv[0]
 ^L
 def usage(code, msg=''):
 if code:
 fd = sys.stderr
 else:
 fd = sys.stdout
 print  fd, _(__doc__)


However, in changing the references from _() to C_(), the line above was
overlooked. You can fix your issue by changing the single line above from

print  fd, _(__doc__)

to

print  fd, C_(__doc__)

--
Mark Sapiro m...@msapiro.netThe 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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] PLEASE HELP

2011-06-07 Thread Christy Johnson
Hey Christian!

Thank you so much for your response. I think you are right about the
bounces. I will look through the logs.
Thank you!

Christy

On Tue, Jun 7, 2011 at 11:11 AM, Mailman Admin 
mailman-ad...@uni-konstanz.de wrote:

 Hi Christy Johnson

 On 06/06/2011 06:33 PM, Christy Johnson wrote:
  One of my listservs stopped working a while back and some of the other
 ones
  have been finicky since. Then just today, the
  system automatically unsubscribed everyone who was on the listserv. I am
  completely at a loss for what to do here.

 I suspect you got a lot of bounces. Then mailman automatically
 unsubscribed your members because of this.

 You have to check your mailman logs and SMTP server logs, why you got
 bounces from all addresses in your lists.


 Kind regards,
 Christian Mack




-- 
Christina E. Johnson
Georgetown University
Edmund A. Walsh School of Foreign Service
(c) 916.792.8935
c.johnson2...@gmail.com
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Unsubscribe

2011-06-07 Thread geert Geurts

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