Re: [Mailman-Users] Error when subscribing to list

2007-09-12 Thread Ben Ostrowsky
Oddly, this seems to happen when I try to get to this list's admin
interface, too:

Sep 12 13:03:21 2007 admin(16872):
 
admin(16872): [- Mailman Version: 2.1.9 -] 
admin(16872): [- Traceback --] 
admin(16872): Traceback (most recent call last):
admin(16872):   File /usr/lib/mailman/scripts/driver, line 101, in
run_main
admin(16872): main()
admin(16872):   File /usr/lib/mailman/Mailman/Cgi/admin.py, line 199,
in main
admin(16872): mlist.Save()
admin(16872):   File /usr/lib/mailman/Mailman/MailList.py, line 565,
in Save
admin(16872): self.CheckHTMLArchiveDir()
admin(16872):   File /usr/lib/mailman/Mailman/Archiver/Archiver.py,
line 236, in CheckHTMLArchiveDir
admin(16872): breaklink(pubdir)
admin(16872):   File /usr/lib/mailman/Mailman/Archiver/Archiver.py,
line 56, in breaklink
admin(16872): os.unlink(link)
admin(16872): OSError: [Errno 21] Is a directory:
'/var/lib/mailman/archives/public/askref'
admin(16872): [- Python Information -] 
admin(16872): sys.version =   2.3.4 (#1, Jan  9 2007, 16:40:18) 
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] 
admin(16872): sys.executable  =   /usr/bin/python 
admin(16872): sys.prefix  =   /usr 
admin(16872): sys.exec_prefix =   /usr 
admin(16872): sys.path=   /usr 
admin(16872): sys.platform=   linux2 
admin(16872): [- Environment Variables -] 
admin(16872):   HTTP_COOKIE:
__utmz=28244473.1183482814.137.10.utmccn=(referral)|utmcsr=wordpress.com
|utmcct=/signup/|utmcmd=referral;
__utma=28244473.1334177691.1149792248.1188997686.1189613645.149;
__utmc=28244473 
admin(16872):   SERVER_SOFTWARE: Apache/2.0.52 (Red Hat) 
admin(16872):   SCRIPT_NAME: /mailman/admin 
admin(16872):   SERVER_SIGNATURE: addressApache/2.0.52 (Red Hat)
Server at lists.tblc.org Port 80/address
admin(16872): 
admin(16872):   REQUEST_METHOD: POST 
admin(16872):   HTTP_KEEP_ALIVE: 300 
admin(16872):   SERVER_PROTOCOL: HTTP/1.1 
admin(16872):   QUERY_STRING:  
admin(16872):   CONTENT_LENGTH: 36 
admin(16872):   HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 
admin(16872):   HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 
admin(16872):   HTTP_CONNECTION: keep-alive 
admin(16872):   HTTP_REFERER: http://lists.tblc.org/mailman/admin/askref

admin(16872):   SERVER_NAME: lists.tblc.org 
admin(16872):   REMOTE_ADDR: 64.128.136.196 
admin(16872):   PATH_TRANSLATED: /usr/lib/mailman/cgi-bin/askref 
admin(16872):   SERVER_PORT: 80 
admin(16872):   SERVER_ADDR: 64.128.136.9 
admin(16872):   DOCUMENT_ROOT: /usr/lib/mailman/cgi-bin/ 
admin(16872):   PYTHONPATH: /usr/lib/mailman 
admin(16872):   SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/admin 
admin(16872):   SERVER_ADMIN: [EMAIL PROTECTED] 
admin(16872):   HTTP_HOST: lists.tblc.org 
admin(16872):   HTTP_CACHE_CONTROL: max-age=0 
admin(16872):   REQUEST_URI: /mailman/admin/askref 
admin(16872):   HTTP_ACCEPT:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5 
admin(16872):   GATEWAY_INTERFACE: CGI/1.1 
admin(16872):   REMOTE_PORT: 4017 
admin(16872):   HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 
admin(16872):   CONTENT_TYPE: application/x-www-form-urlencoded 
admin(16872):   HTTP_ACCEPT_ENCODING: gzip,deflate 
admin(16872):   PATH_INFO: /askref

And yet I have no problems getting into the admin interface on several
other lists I've tried.

Ben
--
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] A script for changing subscriber/owner email domains

2007-06-28 Thread Ben Ostrowsky
I didn't know any other way to do this, so I wrote a script.  Hope it's
not politically incorrect around here to have used Perl. ;)

Share and enjoy!

Ben


#!/usr/bin/perl -w

# Change all Mailman email addresses from one domain to another.
# Example: change_subscriber_domain tblc.lib.fl.us tblc.org

my $from  = $ARGV[0];
my $to= $ARGV[1];

print Old domain name: $from\n;
print New domain name: $to\n\n;

open FH, /usr/lib/mailman/bin/find_member --owners $from\$ |;

while (FH) {

  if (/^([EMAIL PROTECTED]).(.*) found in:/) {

my $old = [EMAIL PROTECTED];
my $new = [EMAIL PROTECTED];

print $old\n\t= $new\n;

$old =~ s/(['])/\\$1/g;
$new =~ s/(['])/\\$1/g;

system /usr/lib/mailman/bin/clone_member --remove --admin --quiet
$old $new\n;
print \n;

  }

}
--
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] Where's my mail?

2005-12-20 Thread Ben Ostrowsky
I sent mail to [EMAIL PROTECTED] a few minutes ago, but it hasn't
appeared on the list, it's not in the archives, and I haven't gotten any
error messages, either.  And I've tried mailq | grep suntalk, but it returns
null.  How should I troubleshoot this problem?

Ben


--
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] Where's my mail?

2005-12-20 Thread Ben Ostrowsky
 See
 http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.014.htp.

Thanks -- it seems that the problem here is not actually with Mailman, as I
can post to lists as long as I'm not in the building.  I think I have to
configure my main mail server, since in-house PCs deliver all their mail to
mail.tblc.org (but machines outside the network have their own MTAs which
sensibly deliver directly to lists.tblc.org as per the MX record).

I've got mail.tblc.org set up to forward list mail, I think; /etc/aliases on
the main mail server looks like this (for each list):

youth: [EMAIL PROTECTED]
youth-admin: [EMAIL PROTECTED]
youth-bounces: [EMAIL PROTECTED]
youth-confirm: [EMAIL PROTECTED]
youth-join: [EMAIL PROTECTED]
youth-leave: [EMAIL PROTECTED]
youth-owner: [EMAIL PROTECTED]
youth-request: [EMAIL PROTECTED]
youth-subscribe: [EMAIL PROTECTED]
youth-unsubscribe: [EMAIL PROTECTED]

And I've run 'newaliases' already.

So now I'm off to troubleshoot Postfix on the main mail server...

Thanks again!
Ben


--
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] There are no pending requests

2005-12-19 Thread Ben Ostrowsky
 If the number of messages being held is -1, then there was a 
 bug/problem with upgrade that caused that.  You go to handle 
 the messages, you see -1, you try to release -1 messages, 
 after that things are fine.

No, the message I get is ipac Administrative Database (newline)
There are no pending requests. Click here to reload this page.

 Are the messages in fact disappearing, and never being mailed 
 to list members?

I'm not sure whether the messages are still being held somewhere.

 Are any messages getting through?

Yes, some messages are getting through.

 Is it possible that your mail aliases are pointing to the old 
 Mailman, which is storing them in the old queue, and the new 
 Mailman isn't seeing them at all?

Probably not, since the old Mailman is on a different server.

I've also tried bin/check_perms -f and was told there were no problems.

What else might be going on?

Ben


--
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] There are no pending requests

2005-12-19 Thread Ben Ostrowsky
Looks like my system wasn't as configured as I thought it was.  Never mind,
I'm sure I'll have other questions later.

Ben


--
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] Configuring Apache for Mailman - /pipermail/ is redirecting in a way I don't like

2005-12-19 Thread Ben Ostrowsky
I can't see the archives because Apache is redirecting requests for
pipermail:

[EMAIL PROTECTED] httpd]# telnet lists.tblc.org 80
Trying 64.128.136.9...
Connected to lists.tblc.org (64.128.136.9).
Escape character is '^]'.
HEAD /pipermail/ipac/ HTTP/1.1
Host: lists.tblc.org

HTTP/1.1 302 Found
Date: Mon, 19 Dec 2005 18:20:34 GMT
Server: Apache/2.0.52 (Red Hat)
Location: http://lists.tblc.org/mailman/listinfo
Connection: close
Content-Type: text/html; charset=iso-8859-1

Connection closed by foreign host.



These Apache directives are in play:

In conf/httpd.conf:

VirtualHost *:80
ServerName lists.tblc.org
DocumentRoot /usr/lib/mailman/cgi-bin/
RedirectMatch /index.html http://lists.tblc.org/mailman/listinfo
TransferLog /var/log/httpd/lists.tblc.org/access_log
ErrorLog /var/log/httpd/lists.tblc.org/error_log
/VirtualHost

In conf.d/mailman.conf:

ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
Directory /usr/lib/mailman/cgi-bin/
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
/Directory

Alias /pipermail/ /var/lib/mailman/archives/public/
Directory /var/lib/mailman/archives/public
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
/Directory

RedirectMatch ^/mailman[/]*$ http://lists.tblc.org/mailman/listinfo



Can anyone spot where I'm going wrong?

Ben


--
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] Bounces are going to my old mail server

2005-12-19 Thread Ben Ostrowsky
I've created a mailing list called bentest.  My bounce messages are going to
[EMAIL PROTECTED], but I don't remember telling this new
mailman server about a host named snoopy.  I did copy the list data over
from snoopy (which is our general email server, but not our mailing list
server).

Several mailing lists' config.* files contain the string 'snoopy', but
bentest's config.* files do not, so I think I can rule that out.

What's going on here, and how can I fix it?

Ben


--
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] Bounces are going to my old mail server

2005-12-19 Thread Ben Ostrowsky
 One of two things. Assuming DEFAULT_EMAIL_HOST is not 
 'snoopy.tblc.org'

DEFAULT_EMAIL_HOST was 'mail.tblc.org' but I've changed it to
'lists.tblc.org' and done 'mailman reload'.  Still seems to do the same
thing.

 either the host name part of the web_page_url attribute of the bentest 
 list when looked up in the VIRTUAL_HOSTS dictionary (add_virtualhost) 
 returns 'snoopy.tblc.org'

How could I test for this possibility?

 or your outgoing MTA is changing the domain for the outside world.

Well, if I just email my Gmail account from the command line, it appears to
come from [EMAIL PROTECTED], but the Your mail is being held headers have
loads of domains: lists.tblc.org, www2.tblc.org, snoopy.tblc.org,
mail.tblc.org... Here are the headers:
 

X-Gmail-Received: 4c3136d801db9219ade6e8b8ce914c41308c83c3
Delivered-To: [EMAIL PROTECTED]
Received: by 10.65.251.18 with SMTP id d18cs78529qbs;
Mon, 19 Dec 2005 11:47:08 -0800 (PST)
Received: by 10.54.122.15 with SMTP id u15mr29842wrc;
Mon, 19 Dec 2005 11:47:08 -0800 (PST)
Return-Path: [EMAIL PROTECTED]
Received: from www2.tblc.org (lists.tblc.org [64.128.136.9])
by mx.gmail.com with ESMTP id 28si11281093wrl.2005.12.19.11.47.08;
Mon, 19 Dec 2005 11:47:08 -0800 (PST)
Received-SPF: fail (gmail.com: domain of [EMAIL PROTECTED]
does not designate 64.128.136.9 as permitted sender)
Received: from lists.tblc.org (localhost.localdomain [127.0.0.1])
by www2.tblc.org (8.13.1/8.13.1) with ESMTP id jBJJl7a6006599
for [EMAIL PROTECTED]; Mon, 19 Dec 2005 14:47:07 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: Your message to Bentest awaits moderator approval
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Date: Mon, 19 Dec 2005 14:47:07 -0500
Precedence: bulk
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.1.5
List-Id: bentest.mail.tblc.org
X-List-Administrivia: yes
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]


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

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


Re: [Mailman-Users] Bounces are going to my old mail server

2005-12-19 Thread Ben Ostrowsky
 The domain in the -bounces and other addresses comes directly 
 from the list's host_name attribute which is visible on the 
 list's General Options page

OK, I found that; is there an easy way to change that to lists.tblc.org for
all existing lists?

Ben


--
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] Bounces are going to my old mail server

2005-12-19 Thread Ben Ostrowsky
 OK, I found that; is there an easy way to change that to 
 lists.tblc.org for all existing lists?

Hey, dummy, (he said to himself), this one's in the FAQ!

http://www.python.org/cgi-bin/faqw-mm.py?req=all#4.38

Ben


--
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] There are no pending requests

2005-12-16 Thread Ben Ostrowsky
As you may remember from our last thrilling episode, I've upgraded from
2.1.4 to 2.1.5.  Our users are trying to send messages that are being held
for review, which is fine.  But when we try to release the messages, Mailman
says that there are no pending messages.

I've tried deleting the request.* files as suggested in a previous
discussion
( http://mail.python.org/pipermail/mailman-users/2005-June/045075.html )
but that didn't solve the problem.

What do you think might be going wrong here?

Ben


--
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] Mailman is on the web server, mail is going to the mail server. How do I connect them?

2005-12-15 Thread Ben Ostrowsky
OK, thanks to the generous help of several of y'all, I've finally got
Mailman set up on the new web server.  Thank you!  I have a follow-up
question.

Mail is delivered to mail.tblc.org.  Mailman is running on lists.tblc.org.
How can I get Mailman to get the mail sent to [EMAIL PROTECTED]

Mail.tblc.org is currently running Postfix, but will eventually become an
Exchange server.  (I know, I know.)

Is fetchmail a viable solution?  If you've got a similar setup (Mailman not
running on the MX), how do you handle it?

Thanks!
Ben Ostrowsky


--
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] All my lists are unadvertised, even after fix_url

2005-12-15 Thread Ben Ostrowsky
 Hmm, looks like I'm almost done... Only thing is, now none of my lists 
 are marked as publicly advertised.  I guess I'll just have to change 
 that, list by list.
 That's taken care of by running the fix_url.py script I mentioned.

Hmm.  I tried running bin/withlist -l -r fix_url suntalk, and it's still not
showing up

Any ideas what I'm doing wrong?  I know I'm close to being finished with
this setup, I can feel it!  

Ben


--
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] All my lists are unadvertised, even after fix_url

2005-12-15 Thread Ben Ostrowsky
Weirder yet, http://www.tblc.org/mailman/listinfo shows all my lists, but
http://lists.tblc.org/mailman/listinfo doesn't -- even though www and lists
have the same IP address.

I think this is related to FAQ 4.17, but I don't see a web_page_url setting
on the General Options page of the list's administrative interface.

Ben


--
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] All my lists are unadvertised, even after fix_url

2005-12-15 Thread Ben Ostrowsky
OK, got it figured out -- somehow I'd neglected to look at DEFAULT_URL_HOST!
No wonder fix_url wasn't working!

Ben


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