[Mailman-Users] Configuration problem - virtual domains URL

2007-11-25 Thread Marc Perkel
I'm trying to figure out how to do a slightly unusual configuration. 
Normally mailman wants to use URLs like http://www.domain.com/mailman . 
But what I want to do is have url's that look like 
http://mailman.domain.com.

So - in my config file I have:

DEFAULT_EMAIL_HOST = 'ctyme.com'
DEFAULT_URL_HOST = 'ctyme.com'
DEFAULT_URL_PATTERN = 'http://mailman.%s/'

Seems to work for managing the list but when I try to use /create or 
/listinfo instead of http://mailman.ctyme.com I get 
http://mailman.mailman.ctyme.com

What I don't understand is why the double mailman and how do I fix it?

Thanks in advance.

--
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] Configuration problem - virtual domains URL

2007-11-25 Thread Marc Perkel


Mark Sapiro wrote:
 Marc Perkel wrote:

   
 I'm trying to figure out how to do a slightly unusual configuration. 
 Normally mailman wants to use URLs like http://www.domain.com/mailman . 
 But what I want to do is have url's that look like 
 http://mailman.domain.com.

 So - in my config file I have:

 DEFAULT_EMAIL_HOST = 'ctyme.com'
 DEFAULT_URL_HOST = 'ctyme.com'
 DEFAULT_URL_PATTERN = 'http://mailman.%s/'

 Seems to work for managing the list but when I try to use /create or 
 /listinfo instead of http://mailman.ctyme.com I get 
 http://mailman.mailman.ctyme.com

 What I don't understand is why the double mailman and how do I fix it?
 


 It is somewhat complicated, but the bottom line is it will work the way
 you expect if you set

 VIRTUAL_HOST_OVERVIEW = Off

 in mm_cfg.py.

 In a Mailman virtual host environment (the default), the host name that
 is plugged into DEFAULT_URL_PATTERN is in some cases obtained from the
 host portion of the URL that invoked the CGI. This clearly doesn't
 work if DEFAULT_URL_PATTERN has more than just %s in the host portion.

 If VIRTUAL_HOST_OVERVIEW = Off, the host name used is DEFAULT_URL_HOST.

   
Thanks - that gets me a lot closer. listinfo works now. Create is 
broken, but it's not as broken as it was. It used to go to an invalid 
url. Now it just doesn't work. But I'll look into that. Thanks for your 
help.

--
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 won't install under Redhat Fedora

2003-11-23 Thread Marc Perkel
What am I doing wrong?

make install

Compiling /usr/mailman/Mailman/Version.py ...
Compiling /usr/mailman/Mailman/__init__.py ...
Compiling /usr/mailman/Mailman/htmlformat.py ...
Compiling /usr/mailman/Mailman/i18n.py ...
Compiling /usr/mailman/Mailman/versions.py ...
Traceback (most recent call last):
 File bin/update, line 47, in ?
   from Mailman import Utils
 File /usr/mailman/Mailman/Utils.py, line 35, in ?
   import cgi
 File /usr/lib/python2.2/cgi.py, line 39, in ?
   import urllib
 File /usr/lib/python2.2/urllib.py, line 26, in ?
   import socket
 File /usr/lib/python2.2/socket.py, line 41, in ?
   from _socket import *
ImportError: /lib/libssl.so.4: undefined symbol: krb5_cc_get_principal
make: *** [update] Error 1


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Fedora Install Problem

2003-11-23 Thread Marc Perkel
Just upgraded from Redhat 7.3 to Fedora and I'm getting this error 
triying to reinstall.

Anyone else run into this? What do I do?

make install .

Compiling /usr/mailman/Mailman/i18n.py ...
Compiling /usr/mailman/Mailman/versions.py ...
Traceback (most recent call last):
 File bin/update, line 47, in ?
   from Mailman import Utils
 File /usr/mailman/Mailman/Utils.py, line 35, in ?
   import cgi
 File /usr/lib/python2.2/cgi.py, line 39, in ?
   import urllib
 File /usr/lib/python2.2/urllib.py, line 26, in ?
   import socket
 File /usr/lib/python2.2/socket.py, line 41, in ?
   from _socket import *
ImportError: /lib/libssl.so.4: undefined symbol: krb5_cc_get_principal
make: *** [update] Error 1


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Mailman Looping

2003-08-02 Thread Marc Perkel
Mailman started looping - using up a lot of processor and resources. I 
ran an strace and this is what it's doing. What do I have messed up? 
It's very busy doing nothing.

munmap(0x401bc000, 4096)= 0
unlink(/etc/mailman/qfiles/out/1059668916.586032+8c61dda9317d5ea99d9c330ae73482eaede0d693.db) 
= 0
open(/etc/mailman/qfiles/out/1059668916.586032+8c61dda9317d5ea99d9c330ae73482eaede0d693.pck, 

O_RDONLY|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFREG|0660, st_size=1608, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x401bc000
read(6, (cMailman.Message\nUserNotificati..., 4096) = 1608
unlink(/etc/mailman/qfiles/out/1059668916.586032+8c61dda9317d5ea99d9c330ae73482eaede0d693.pck) 
= 0
close(6)= 0
munmap(0x401bc000, 4096)= 0
stat64(/usr/mailman/messages/en_US.ISO8859-1/LC_MESSAGES/mailman.mo, 
0xbfffee80) = -1 ENOENT (No such file
or directory)
stat64(/usr/mailman/messages/en_US/LC_MESSAGES/mailman.mo, 0xbfffee80) 
= -1 ENOENT (No such file or
directory)
stat64(/usr/mailman/messages/en.ISO8859-1/LC_MESSAGES/mailman.mo, 
0xbfffee80) = -1 ENOENT (No such file or
directory)
stat64(/usr/mailman/messages/en/LC_MESSAGES/mailman.mo, 0xbfffee80) = 
-1 ENOENT (No such file or directory)
gettimeofday({1059841437, 482524}, NULL) = 0
gettimeofday({1059841437, 482615}, NULL) = 0
umask(07)   = 0
open(/etc/mailman/qfiles/out/1059668916.586032+3fe9305e11f8dcd259ddd30b1fc9f6e7cdb340fb.pck, 

O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 6
umask(0)= 07
fstat64(6, {st_mode=S_IFREG|0660, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x401bc000
write(6, (cMailman.Message\nUserNotificati..., 1608) = 1608
close(6)= 0
munmap(0x401bc000, 4096)= 0
umask(07)   = 0
open(/etc/mailman/qfiles/out/1059668916.586032+3fe9305e11f8dcd259ddd30b1fc9f6e7cdb340fb.db.tmp, 

O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 6
umask(0)= 07
fstat64(6, {st_mode=S_IFREG|0660, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x401bc000
write(6, {s\4\0\0\0langs\2\0\0\0ens\10\0\0\0listnames\n..., 426) = 426
close(6)= 0
munmap(0x401bc000, 4096)= 0



--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] HTML interface to set DEFAULT_URL

2003-01-31 Thread Marc Perkel
In Mailman 2.0 there was a setting for the default URL. I can't seem to 
find it in 2.1.

I need to change the default URL for all my lists. Any easy way to do this?


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] HTML interface to set DEFAULT_URL

2003-01-31 Thread Marc Perkel
ok - what would the command be to change the URL of every list?

Barry A. Warsaw wrote:


MP == Marc Perkel [EMAIL PROTECTED] writes:
   


   MP In Mailman 2.0 there was a setting for the default URL. I
   MP can't seem to find it in 2.1.

It was too dangerous to leave in the web interface.

   MP I need to change the default URL for all my lists. Any easy
   MP way to do this?

bin/fix_url.py and/or bin/withlist

-Barry
 



--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] Can't admin pending messages

2003-01-29 Thread Marc Perkel
I think it was working and quit. I upgraded to Mailman 2.1 and I can't admin 
pending messages. It shows the pending messages with the choices - but if I 
select to approve, reject, or discard - nothing happens after I click submit. 
The same messages are still there and still pending.

What am I doing wrong?


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Pending messages waiting for approval - where?

2003-01-29 Thread Marc Perkel
Where are the pending messages stored?


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] pending.pck - what does this file do?

2003-01-29 Thread Marc Perkel
What does the pending.pck file do?


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] Need a patch written for 2.1 for post-only access.

2003-01-27 Thread Marc Perkel
I'm not a Python programmer but I need a patch written to add a feature that 
someone had written a patch for in version 2.0.

The patch called a post-only patch allowed me to create a list called 
post-only and members of this list were allowed to post to all other lists.

I am the systems administration for the Electronic Frontier Foundation 
(http://www.eff.org). We are currently running 2.0 with this patch. The reason 
we need it is because we are running about 65 internal lists and several of our 
members have multiple email addresses they post from. The burden of adding 
several hundred alieases and maintaining them across this many lists would be 
too much to deal with. I have upgraded to 2.1 on my own personal server and I 
feel that it would greatly benefit EFF to upgrade to 2.1. But - I can not do it 
until I have this patch.

I am therefore asking that someone out there write this patch. If you write it - 
I will publicly thank you in our newsletter that goes out to about 30,000 of our 
members. I offer 15 minutes of fame, and - you'll be helping us get important 
work done. EFF relies heavilly on Mailman.

Below is the code for the current patch for 2.0. It looks to me that doing this 
for 2.1 would be trivial for someone who knew what they were doing. I would 
REALLY appreciate it if someone were to volunteer to do this. Alternatively - I 
would be willing to pay someone out of my own pocket - and donate the code back 
to the public - if I can't find someone to do it for free.

Thanks in Advance

Marc Perkel
/root
EFF

Here's the current 2.0 patch

--- mailman-2.0beta5/Mailman/Handlers/Hold.py.postonly	Tue Aug  1 19:02:28 2000
+++ mailman-2.0beta5/Mailman/Handlers/Hold.py	Sat Aug  5 18:31:50 2000
@@ -43,6 +43,8 @@
 from Mailman import Message
 from Mailman import mm_cfg
 from Mailman import Utils
+from Mailman import MailList
+from Mailman import Errors
 from Mailman.Logging.Syslog import syslog


@@ -104,6 +106,13 @@



+def CheckPostOnly (sender):
+try:
+m = MailList.MailList('post-only', lock=0)
+	return m.IsMember (sender)
+except Errors.MMListError:
+return 0
+
 def process(mlist, msg, msgdata):
 if msgdata.get('approved'):
 return
@@ -141,7 +150,8 @@
 if mlist.member_posting_only:
 posters = Utils.List2Dict(map(string.lower, mlist.posters))
 if not mlist.IsMember(sender) and \
-   not Utils.FindMatchingAddresses(sender, posters):
+   not Utils.FindMatchingAddresses(sender, posters) and \
+	   not CheckPostOnly(sender):
 # the sender is neither a member of the list, nor in the list of
 # explicitly approved posters
 hold_for_approval(mlist, msg, msgdata, NonMemberPost)



--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Feedback on Mailman 2.1

2003-01-25 Thread Marc Perkel
Often the programmers and the development team overlook things in upgrading 
because they don't have the same experience as the end user. I want to point out 
such a case to you so you can fix 2.1.

As a 2.0.11 user I did not need the list mailman and didn't have one. Thus 
when I upgraded it mostly worked. And it took a lot of work to figure out what I 
missed.

Perhaps the install/upgrade should create this list or at least there should be 
some sort of error or better documentation. Just wanted to give you a heads up 
on this to improve this fine product.

Also - there used to be a post-only patch that allowed members of the 
post-only list to post to all other lists. I very much need this feature in 
2.1 so that I can upgrade the lists at the Electronic Frontier Foundation.

Thanks in Advance
Marc Perkel
/root
EFF


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] post-only patch

2003-01-24 Thread Marc Perkel
I'm in the process of upgrading to mailman 2.1. In 2.0.11 there was a patch that 
allowed the creation of a post-only list that members of that list could post 
to all lists.

Does this patch work with 2.1? Or does 2.1 have this feature built in?


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] email looping - autoresponders - how to stop it?

2001-12-29 Thread Marc Perkel



Norbert Bollow wrote:

  I have a problem. I created a list and dumped a bunch of emails into it.
  It sent an initial message to everyone - but one person is on vacation
  and the autoresponder responded. Now Mailman  and the Autoresponder are
  sending messages back and forth.
 
  How do I make mailman ignore autoresponders?

 Only broken autoresponders are a problem, as the others will
 ignore Mailman.


Yes - but - I'm about to dump 20,000 names into a list and there are probably
a LOT of broken autoresponders out there.

 Please share the specifics of the loop.

I think the issue is that I dumped the names into the join box and it sent an
initial message from list-admin and the autoresponder is replying to
list-admin.


 Does the list do Reply-To: munging?


No


 Does the broken autoresponder put some header into its messages
 which makes it possible to unambiguously recognize them as coming
 from a robot?


I think it's a dumb responder.


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



[Mailman-Users] email looping - autoresponders - how to stop it?

2001-12-28 Thread Marc Perkel

I have a problem. I created a list and dumped a bunch of emails into it.
It sent an initial message to everyone - but one person is on vacation
and the autoresponder responded. Now Mailman  and the Autoresponder are
sending messages back and forth.

How do I make mailman ignore autoresponders?



--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



[Mailman-Users] Umbrella Lists

2001-12-24 Thread Marc Perkel

I don't quite understand how to do an umbrella list.

I I have 3 lists ListA ListB and ListC

I have another list ListABC that sends to the other three lists.

I want to be able to send to ListABC - but when I do - the message gets
moderated. And I can't seem to get past that even though I'm running the
system open.

Anyone know how to fix that?


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



[Mailman-Users] Umbrella Lists

2001-12-21 Thread Marc Perkel

I can't seem to find documentation on this.

I have 3 lists ListA ListB and ListC

Now I want to make an umbrella list - ListABC

I want it so that only members of ListA - ListB and ListC can send to
ListABC

How do I do that?



--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



[Mailman-Users] Shell Error 2 ???

2001-12-20 Thread Marc Perkel

I'm having problems installing mailman. I installed it but I get this
error (running with exim)

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  pipe to |/var/mailman/mail/wrapper post testmailman
generated by [EMAIL PROTECTED]
Child process of address_pipe transport returned 2 from command:
/var/mailman/mail/wrapper

Does anyone know what causes this?



--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



[Mailman-Users] Install Problem - Exim - Child Process Error

2001-12-19 Thread Marc Perkel

This is the error I'm getting. Running Redhat 7.2.

What am I doing wrong?

pipe to |/var/mailman/mail/wrapper post testmailman
generated by [EMAIL PROTECTED]
Child process of address_pipe transport returned 2 from command:
/var/mailman/mail/wrapper




--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users