[Mailman-Users] Cookie patch?

2003-01-30 Thread barry

For folks having trouble with interoperability of Mailman 2.0 and 2.1
cookies, could you please try the following patch?

-Barry

 snip snip 
Index: SecurityManager.py
===
RCS file: /cvsroot/mailman/mailman/Mailman/SecurityManager.py,v
retrieving revision 2.20
diff -u -r2.20 SecurityManager.py
--- SecurityManager.py  2 Dec 2002 14:03:45 -   2.20
+++ SecurityManager.py  31 Jan 2003 06:38:47 -
@@ -1,4 +1,4 @@
-# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2003 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
@@ -47,11 +47,12 @@
 # also relies on the security of SHA1.
 
 import os
-import time
+import re
 import sha
+import time
+import Cookie
 import marshal
 import binascii
-import Cookie
 from types import StringType, TupleType
 from urlparse import urlparse
 
@@ -269,14 +270,12 @@
 cookiedata = os.environ.get('HTTP_COOKIE')
 if not cookiedata:
 return 0
-# Treat the cookie data as simple strings, and do application level
-# decoding as necessary.  By using SimpleCookie, we prevent any kind
-# of security breach due to untrusted cookie data being unpickled
-# (which is quite unsafe).
-try:
-c = Cookie.SimpleCookie(cookiedata)
-except Cookie.CookieError:
-return 0
+# We can't use the Cookie module here because it isn't liberal in what
+# it accepts.  Feed it a MM2.0 cookie along with a MM2.1 cookie and
+# you get a CookieError. :(.  All we care about is accessing the
+# cookie data via getitem, so we'll use our own parser, which returns
+# a dictionary.
+c = parsecookie(cookiedata)
 # If the user was not supplied, but the authcontext is AuthUser, we
 # can try to glean the user address from the cookie key.  There may be
 # more than one matching key (if the user has multiple accounts
@@ -316,7 +315,7 @@
 # simply request reauthorization, resulting in a new cookie being
 # returned to the client.
 try:
-data = marshal.loads(binascii.unhexlify(c[key].value))
+data = marshal.loads(binascii.unhexlify(c[key]))
 issued, received_mac = data
 except (EOFError, ValueError, TypeError, KeyError):
 return 0
@@ -331,3 +330,14 @@
 return 0
 # Authenticated!
 return 1
+
+
+
+splitter = re.compile(';\s*')
+
+def parsecookie(s):
+c = {}
+for p in splitter.split(s):
+k, v = p.split('=')
+c[k] = v
+return c

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

2003-01-30 Thread Jon Carnes
I am amazed and astounded - and even more impressed with Cygwin!
How well does the Exim install work?  Does it handle email quickly?

I've got to try this one out.

On Thu, 2003-01-30 at 22:21, Matthew Davis wrote:

> Check http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq05.002.htp
> It's steps to get Mailman running on Windows 2000, but it should be about
> the same for most windows versions.
> 
> 
> --
> Matthew Davis
> http://dogpound.vnet.net/
> 
> I suppose when it gets to that point, we shan't know how it does it.  - Turing
> 



--
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] [Bug] Cookie from older version

2003-01-30 Thread Barry A. Warsaw

> "WY" == Will Yardley <[EMAIL PROTECTED]> writes:

WY> If you have an old cookie from Mailman 2.0.x, you'll have to
WY> re-login for every page until you manually clear the cookie
WY> from your browser (after upgrading to 2.1).

WY> Is there any way to fix this in the future? With some
WY> browsers, it's not simple to remove an individual cookie.

This isn't a browser bug, it's a misfeature of Python's Cookie.py
module, which Mailman uses.  There /will/ be a fix in Mailman 2.1.1
but I haven't worked the patch out yet.

-Bary

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

2003-01-30 Thread Matthew Davis
* Shaju  Nambiar ([EMAIL PROTECTED]) wrote:
> Dear sir
> 
> i have certain doubts abt Mailman
> can we installed this in windows based machine. If yes what are 
> the requirements we need and what will be status.
> can we installed in servers (both unix bases and windows based)
> if yes, please let me know the requirements

Check http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq05.002.htp
It's steps to get Mailman running on Windows 2000, but it should be about
the same for most windows versions.


--
Matthew Davis
http://dogpound.vnet.net/

I suppose when it gets to that point, we shan't know how it does it.  - Turing

--
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] Re: 'Pre-sales' questions...

2003-01-30 Thread Will Yardley
On Thu, Jan 30, 2003 at 05:06:22PM +, Simon White wrote:
> 29-Jan-03 at 09:32, Abbo Peterson ([EMAIL PROTECTED]) wrote :

> > Before I consider Mailman as a newsletter mail list solution, I have a
> > few questions. I hope you have time to answer them...

I hope the 'Pre-sales' part is a joke...

> > - KEY: Is the header/footer feature supported when using email formats
> > other than plain text? 
 
> I *think* so, but I'd have to run a test for you. Perhaps someone else
> can confirm?

Yes... this will work with 2.1 (but not earlier versions).

-- 
"Since when is skepticism un-American?
Dissent's not treason but they talk like it's the same..."
(Sleater-Kinney - "Combat Rock")



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

2003-01-30 Thread Jon Carnes
Forgive my lack of exact language.  To be more precise, you can turn on
personalization for a list using the Web-Admin. Once you do that certain
other features become available and you can then edit the Footer (using the
Web-Admin) and put in variables that will be recognized and replaced by
Mailman with things like the persons email address, the list name, the admin
address, etc.  There is no need to know anything except the names of the
variables to use in the footer.

If you look in the Archives from about two weeks ago, someone laid out the
procedure very nicely.  I would look it up for you, but my archives are
currently off-line while I'm doing some other work...

Take care - Jon Carnes
- Original Message -
From: "Fernando Schapachnik" <[EMAIL PROTECTED]>
To: "Jon Carnes" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 30, 2003 6:28 PM
Subject: Re: [Mailman-Users] footer


En un mensaje anterior, Jon Carnes escribió:
> It's Open Source - so there is always a way :-)

Without hacking the source, I mean :-)

>
> In this case Barry made it easy for you. If you turn on personalization
> then you can include certain elements in the footer (as is denoted by
> the messages from thi list which indicate your individual email address)

But I mean, is there a standard way? Something like `command` maybe?
(I'm not a python guy, so maybe I have to do some research in that
direction.)

TIA!



Fernando P. Schapachnik
[EMAIL PROTECTED]


--
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/jonc%40nc.rr.com


--
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] Re: [Bug] Cookie from older version

2003-01-30 Thread Will Yardley
On Thu, Jan 30, 2003 at 09:14:05AM +, Simon White wrote:
> 29-Jan-03 at 13:37, Will Yardley ([EMAIL PROTECTED]) wrote :

> > If you have an old cookie from Mailman 2.0.x, you'll have to re-login
> > for every page until you manually clear the cookie from your browser
> > (after upgrading to 2.1).
> > 
> > Is there any way to fix this in the future? With some browsers, it's not
> > simple to remove an individual cookie.
> 
> On WinBlows, you can delete individual cookies in the "Temporary
> Internet Files" directory.
> 
> In Netscape and clones there's usually a cookies / cookies.txt file
> 
> Opera has cookies.dat
> 
> They can be edited.

I said "with *some* browsers.

Chimera on Mac OS X is one (you can edit the cookies.txt file by hand,
but not from the menu AFAIK). In any event, the issue is also that many
people won't know that they need to remove the cookie in the first
place, and many people wouldn't know how to do it if they could.

There are people other than geeks who run, admin, or moderate lists
using Mailman, y'know...

-- 
"Since when is skepticism un-American?
Dissent's not treason but they talk like it's the same..."
(Sleater-Kinney - "Combat Rock")



--
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] Re: Which functions???

2003-01-30 Thread Samuel Tardieu
> "Mark" == Mark Rauterkus <[EMAIL PROTECTED]> writes:

Mark> How do you NUKE an address from ALL the lists on your server?

~mailman/bin/remove_members --fromall user@host

  Sam
-- 
Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/sam


--
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] Re: Error: Incorrect padding???

2003-01-30 Thread Tokio Kikuchi

David Gibbs wrote:

NOTE: I have applied patch [ 668819 ] improve plain-ness and i18n-ness of
plain-text digest



Please try upgrade to the most recent CVS.
You may want to further add this patch.
http://sourceforge.net/tracker/index.php?func=detail&aid=674401&group_id=103&atid=300103

--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/


--
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] Digest message header filtering

2003-01-30 Thread Tokio Kikuchi

Jim Littlefield wrote:

A number of the subscribers to my lists have complained about the
"unimportant" headers (Message-ID, In-Reply-To, etc.) included with each
post when receiving a plain digest. I am talking about headers within
the digest. Has anyone figured out a good way to strip these out?



Please update to the most recent CVS.
http://sourceforge.net/cvs/?group_id=103
You may want to add further patch if your list is i18n.
http://sourceforge.net/tracker/?func=detail&aid=674401&group_id=103&atid=300103

--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/


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

2003-01-30 Thread Fernando Schapachnik
En un mensaje anterior, Jon Carnes escribió:
> It's Open Source - so there is always a way :-)

Without hacking the source, I mean :-)

> 
> In this case Barry made it easy for you. If you turn on personalization
> then you can include certain elements in the footer (as is denoted by
> the messages from thi list which indicate your individual email address)

But I mean, is there a standard way? Something like `command` maybe?
(I'm not a python guy, so maybe I have to do some research in that
direction.)

TIA!



Fernando P. Schapachnik
[EMAIL PROTECTED]


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

2003-01-30 Thread Jon Carnes
It's Open Source - so there is always a way :-)

In this case Barry made it easy for you. If you turn on personalization
then you can include certain elements in the footer (as is denoted by
the messages from thi list which indicate your individual email address)

On Thu, 2003-01-30 at 17:57, Fernando Schapachnik wrote:
> En un mensaje anterior, Jon Carnes escribió:
> > You can edit the footer information directly via the Web-admin.
> 
> Is there a way to include external commands output in the footer?
> 
> Thanks!
> 
> Fernando Schapachnik
> [EMAIL PROTECTED]
> 



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

2003-01-30 Thread Fernando Schapachnik
En un mensaje anterior, Jon Carnes escribió:
> You can edit the footer information directly via the Web-admin.

Is there a way to include external commands output in the footer?

Thanks!

Fernando Schapachnik
[EMAIL PROTECTED]


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

2003-01-30 Thread Kathryn Bassett
Wow, I'm a total novice (less than a week) but know this one since I just *added* 
something to the footer.

Go to your admin area for the list in question, then click on "Regular-member 
(non-digest) Options"
Down towards the bottom is "Footer added to mail sent to regular list members"
Default info is:
___
%(real_name)s mailing list
%(real_name)s@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

I added our main website address to the bottom, you are probably talking about removed 
the last line.

--
Kathryn Bassett (Pasadena CA)
http://www.databaseadvisors.com (webmaster)
http://databaseadvisors.com/mailman/listinfo
[EMAIL PROTECTED] * http://bassett.net  

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf
> Of jsingh
> Sent: 30 Jan 2003 11:58:AM
> To: [EMAIL PROTECTED]
> Subject: [Mailman-Users] footer
> 
> 
> Which file do I need to tweak in order for me take out the url for list
> info in the footer of the email ?
> Thanks
> jack


--
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] ValueError: bad marshal data

2003-01-30 Thread Jon Carnes
It could be trying to process some waiting mail for one of your lists. 
You should run a ~mailman/bin/check_db on each of your lists.  If the
config file is corrupted too badly, you can replace the corrupt
config.pck with an older one: config.pck.last

And by replace, I mean stop mailmanctl and then copy the old config over
the new one.  The old file represents your configuration before you made
your last change.

Of course, if you are a good sysadmin, you might just have backups of
the current ones on your back up server and you can recover from there.

If that doesn't clear up your problems then you might need to clean out
the qfiles.

Jon Carnes

On Thu, 2003-01-30 at 15:39, Jiri Demel wrote:
> Hi.
> After a crash of my server I am not able to start Mailman.
> When I start it, it 11-times reports the following:
> 
> 
>   File "/net/mailman/bin/qrunner", line 270, in ?
> main()
>   File "/net/mailman/bin/qrunner", line 230, in main
> qrunner.run()
>   File "/net/mailman/Mailman/Queue/Runner.py", line 59, in run
> filecnt = self._oneloop()
>   File "/net/mailman/Mailman/Queue/Runner.py", line 88, in _oneloop
> msg, msgdata = self._switchboard.dequeue(filebase)
>   File "/net/mailman/Mailman/Queue/Switchboard.py", line 144, in dequeue
> data = self._ext_read(dbfile)
>   File "/net/mailman/Mailman/Queue/Switchboard.py", line 245, in _ext_read
> dict = marshal.load(fp)
> ValueError: bad marshal data
> 
> 
> I am running MM2.1.
> 
> Any suggestions how to fix it?
> Delete some corrupted file?  --  But what file is corrupted?
> 
> 
> Jiri Demel
> 
> 
> --
> 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/jonc%40nc.rr.com



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

2003-01-30 Thread Jon Carnes
You can edit the footer information directly via the Web-admin.

On Thu, 2003-01-30 at 14:58, jsingh wrote:
> Which file do I need to tweak in order for me take out the url for list
> info in the footer of the email ?
> Thanks
> jack
>  
>  
> --
> 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/jonc%40nc.rr.com



--
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] ValueError: bad marshal data

2003-01-30 Thread Jiri Demel
Hi.
After a crash of my server I am not able to start Mailman.
When I start it, it 11-times reports the following:


  File "/net/mailman/bin/qrunner", line 270, in ?
main()
  File "/net/mailman/bin/qrunner", line 230, in main
qrunner.run()
  File "/net/mailman/Mailman/Queue/Runner.py", line 59, in run
filecnt = self._oneloop()
  File "/net/mailman/Mailman/Queue/Runner.py", line 88, in _oneloop
msg, msgdata = self._switchboard.dequeue(filebase)
  File "/net/mailman/Mailman/Queue/Switchboard.py", line 144, in dequeue
data = self._ext_read(dbfile)
  File "/net/mailman/Mailman/Queue/Switchboard.py", line 245, in _ext_read
dict = marshal.load(fp)
ValueError: bad marshal data


I am running MM2.1.

Any suggestions how to fix it?
Delete some corrupted file?  --  But what file is corrupted?


Jiri Demel


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

2003-01-30 Thread jsingh
Which file do I need to tweak in order for me take out the url for list
info in the footer of the email ?
Thanks
jack
 
 
--
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] cgi-user / create.py

2003-01-30 Thread Vivek Khera
> "f" == friedrich  <[EMAIL PROTECTED]> writes:

f> No, running postalias as user www generates a "Permission denied" error on the 
aliases 
f> file. Hence my question: should I change the file ownership, it's permissions or is 
there a 
f> way to run postalias under the user mailman?

I just stepped in, but I had this issue with postfix integration as
well.  make sure the aliases and virtual files are chmod g+w so that
they can be updated by mailman.

--
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] Re: Error: Incorrect padding???

2003-01-30 Thread David Gibbs
NOTE: I have applied patch [ 668819 ] improve plain-ness and i18n-ness of
plain-text digest

"David Gibbs" <[EMAIL PROTECTED]> wrote in message
b1bs11$96s$[EMAIL PROTECTED]">news:b1bs11$96s$[EMAIL PROTECTED]...
> I'm getting a huge amount of these messages ... any ideas?
>
>
> Jan 30 12:47:18 2003 (9406) Uncaught runner exception: Incorrect padding
> Jan 30 12:47:18 2003 (9406) Traceback (most recent call last):
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
> self._onefile(msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 129, in
> _dispose
> status = self._dopipeline(mlist, msg, msgdata, pipeline)
>   File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 152, in
> _dopipeline
> sys.modules[modname].process(mlist, msg, msgdata)
>   File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 89, in
> process
> send_digests(mlist, mboxfp)
>   File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 130, in
> send_digests
> send_i18n_digests(mlist, mboxfp)
>   File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 317, in
> send_i18n_digests
> t = str(p.get_payload(decode=1))
>   File "/usr/local/mailman/pythonlib/email/Message.py", line 189, in
> get_payload
> return Utils._bdecode(payload)
>   File "/usr/local/mailman/pythonlib/email/Utils.py", line 75, in _bdecode
> value = base64.decodestring(s)
>   File "/usr/src/build/143041-i386/install/usr/lib/python2.2/base64.py",
> line 44, in decodestring
> return binascii.a2b_base64(s)
> Error: Incorrect padding
>
> Jan 30 12:47:18 2003 (9406) SHUNTING:
> 1043952417.326993+00515217dc9bf5375a676ba39e87f425e7eb45bb
>
>
>
> --
> 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/python-mailman-users%40
m.gmane.org
>



--
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] Changing list headers

2003-01-30 Thread Tom Maddox
>
> Sorry you didn't include all the previous message in your reply, so I'm
> guessing that you are talking about the digest messages...?

Sorry about that.  No, I was referring to a message from a few days ago, in
which I had asked how to alter the From: header from the default, which
displays "-bounces@ on behalf of " to something
else.  Also, I would like to change the Reply-To: so that it no longer
refers to the short list description.

Thanks,

Tom



--
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] Error: Incorrect padding???

2003-01-30 Thread David Gibbs
I'm getting a huge amount of these messages ... any ideas?


Jan 30 12:47:18 2003 (9406) Uncaught runner exception: Incorrect padding
Jan 30 12:47:18 2003 (9406) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 129, in
_dispose
status = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 152, in
_dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 89, in
process
send_digests(mlist, mboxfp)
  File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 130, in
send_digests
send_i18n_digests(mlist, mboxfp)
  File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 317, in
send_i18n_digests
t = str(p.get_payload(decode=1))
  File "/usr/local/mailman/pythonlib/email/Message.py", line 189, in
get_payload
return Utils._bdecode(payload)
  File "/usr/local/mailman/pythonlib/email/Utils.py", line 75, in _bdecode
value = base64.decodestring(s)
  File "/usr/src/build/143041-i386/install/usr/lib/python2.2/base64.py",
line 44, in decodestring
return binascii.a2b_base64(s)
Error: Incorrect padding

Jan 30 12:47:18 2003 (9406) SHUNTING:
1043952417.326993+00515217dc9bf5375a676ba39e87f425e7eb45bb



--
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] cgi-user / create.py

2003-01-30 Thread Simon White
On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote:

> > > But I don't understand at which end this is wrong. Was the cgi-gid set wrong? Or
> > > do I need to change the ownership of the aliases files? check-perms renders no
> > > errors. Do I need to tell mailman/create.py to run postaliases as user mailman, 
>and
> > > if so, how do I do that?
> >
> > Does postalias run as www ? Anything created via the web is going to run
> > as the cgi-gid, i.e. www
>
> No, running postalias as user www generates a "Permission denied" error on the 
>aliases
> file. Hence my question: should I change the file ownership, it's permissions or is 
>there a
> way to run postalias under the user mailman?

The permissions on the aliases file in question need to be readable
by your MTA and read/write by www, so something like this would work
(assuming your MTA is in group mail, for example)

-rw-r-r-- www  mail   aliases

Regards,

--
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863


--
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] cgi-user / create.py

2003-01-30 Thread friedrich28
> > But I don't understand at which end this is wrong. Was the cgi-gid set wrong? Or 
> > do I need to change the ownership of the aliases files? check-perms renders no 
> > errors. Do I need to tell mailman/create.py to run postaliases as user mailman, 
>and 
> > if so, how do I do that?
> 
> Does postalias run as www ? Anything created via the web is going to run
> as the cgi-gid, i.e. www

No, running postalias as user www generates a "Permission denied" error on the aliases 
file. Hence my question: should I change the file ownership, it's permissions or is 
there a 
way to run postalias under the user mailman?

Regards,
Friedrich


--
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] subscribing mailman via mail?

2003-01-30 Thread Jon Carnes
On Wed, 2003-01-29 at 06:15, eSeL wrote:
> hi, 
> 
> i am runing a few lists on mailman, 
> and i want users to subscribe via email. 
> 
> 1.
> a) what is to be written in the subject-line of a mail if a user wants
> to subscribe via mail (without web-interface?)

To: [EMAIL PROTECTED]
Subject: subscribe

> b) ...to subscribe the "daily digest-option" 

To: [EMAIL PROTECTED]
subject: subscribe digest

> 
> 2. who to send it to? [EMAIL PROTECTED]?

yes.

> 
> i could not find any information on this in the documentation. 
> or is there an online-manual on this somewhere?

Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/



--
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] Help text

2003-01-30 Thread Jon Carnes
Look at the bottom of every email to this list for the locations of
several nice On-line aids.

On Wed, 2003-01-29 at 05:02, Vanessa Dobbins wrote:
> Are there on-line 'help' documents available for Mailman, other than 
> consulting members of a newsgroup?  Thanks.
> 
> 
> Vanessa Dobbins
> Supervisor, CNR Services
> College of Natural Resources
> University of Idaho, Moscow, ID 83844-1130
> Phone: 208-885-6581; Fax: 208-885-6226
> http://www.its.uidaho.edu/forserv/
> 
> 
> 
> --
> 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/



--
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] Full headers in archive

2003-01-30 Thread Jon Carnes
There is no configuration switch to do this, but you can edit the Source
Code to add additional headers.  I was just looking at that code this
morning and adding additional header info would be very easy.

Jon Carnes

On Tue, 2003-01-28 at 19:01, Gareth Hopkins wrote:
> Howdie,
> 
>   Is there anyway to get the full headers of messages added when
> messages are archived? At the moment only the senders address is shown.
> This is using mailman 2.1
> 
>   Thanks
> 
> ---
> Gareth Hopkins
> Server Operations
> UUNET South Africa
> (o) +27.21.658.8700
> (f) +27.21.658.8552
> (m) +27.82.929.6668
> http://www.uunet.co.za
> 08600 UUNET (08600 88638)
> 
> "The contents of this e-mail and any accompanying documentation is
> confidential and any use thereof, in whatever form, by anyone other
> than the addressee for whom it is intended, is strictly prohibited."
> 
> 
> --
> 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/jonc%40nc.rr.com



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

2003-01-30 Thread Simon White
29-Jan-03 at 08:24, Shaju  Nambiar ([EMAIL PROTECTED]) wrote :
> i have certain doubts abt Mailman
> can we installed this in windows based machine. If yes what are 
> the requirements we need and what will be status.
> can we installed in servers (both unix bases and windows based)
> if yes, please let me know the requirements

It's a package for Unix/Linux systems really, I don't think there is a
Windows "port" although you can get Python for Windows (in cygwin?)

There is cygwin for windows which, along with Python, might allow you to
get it to work, but you might be on your own for problem solving.

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

--
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] 'Pre-sales' questions...

2003-01-30 Thread Simon White
29-Jan-03 at 09:32, Abbo Peterson ([EMAIL PROTECTED]) wrote :
> Before I consider Mailman as a newsletter mail list solution, I have a
> few questions. I hope you have time to answer them...
> 
> - Does Mailman allow you to create custom headers/footers?  That is,
> can I write specific text and have it be inserted before and after the
> body of each email? You know, "You received this message because...
> (header)" and "If you wish to be removed from this list... (footer)"

Yes.

> - Does Mailman support attachments, styled text and HTML email formats?
> I'm not a technical guy, is this question about multipart or MIME
> support? I have multiple people who can send email to the list.
> Several use HTML email clients. Does Mailman support that? Does
> Mailman support styled text (bold, color, size changes)? Does Mailman
> support sending attachments?

Yes. However, the bigger the list, the less likely all recipients will
appreciate getting HTML mail. However I have a 12,000 subscriber list
hosted here which is mainly HTML and works OK in Outlook Express, Yahoo!
mail, Hotmail, and several other mail clients. For one-way broadcast
mailing (not spam, it's an opt-in new parents group) we send in plain +
HTML (mixed) so that it looks OK in plaintext too.

> - KEY: Is the header/footer feature supported when using email formats
> other than plain text?  I currently use SmartList for our mailing list
> needs. As soon as the email Content-Type is -not- plain text, the
> header/footer is omitted from the email. Grrr. This happens anytime
> someone attaches a file, styles text or uses the HTML email format. I
> need a mail list solution that supports custom headers/footers -with-
> email Content-Types besides plain text.

I *think* so, but I'd have to run a test for you. Perhaps someone else
can confirm?

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

--
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] spam filtering

2003-01-30 Thread Mike Noyes
On Thu, 2003-01-30 at 08:36, Mike Noyes wrote:
> On Wed, 2003-01-29 at 15:47, Robin Rowe wrote:
> > Thanks, but as I said, I'm configuring mailman on a SourceForge-hosted
> > mailing list. Installing SpamAssassin there is not within my power.
> > 
> > Can anyone answer my question as asked? Is it possible to use the mailman
> > spam filtering capabilities on message bodies as well as headers?
> 
> FAQ 3.10. How do I enforce a text/plain posts only policy?
> http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.010.htp

Robin,
Also look at this SourceForge Site Doc.

Mail Services: Spam Policies
https://sourceforge.net/docman/display_doc.php?docid=9484&group_id=1

-- 
Mike Noyes 
http://sourceforge.net/users/mhnoyes/
http://leaf-project.org/  http://sitedocs.sf.net/  http://ffl.sf.net/



--
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] header configuration in Mailman 2.1

2003-01-30 Thread Alfred
Hi,

i try long time to configure the mailman 2.1 but i get no result :-(

i like to configure Mailman that every mail look like this:

FROM: [EMAIL PROTECTED] 
TO: [EMAIL PROTECTED] 
CC: nothing

what i get when i send a mail to the list:

FROM: [EMAIL PROTECTED]; im Auftrag von; root [[EMAIL PROTECTED]]
TO: this is ok
CC: [EMAIL PROTECTED]

my question: how can i setup the right FROM: and disable the CC:

thank you in advance

Alfred

 


--
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] Multiple Copies of templates

2003-01-30 Thread nero one
Hey, 

   Is it easily possible to create completely different versions of template files (ie 
verify.txt)
per listserv?  That is to say that listserv 1 would load verify-listserv1.txt, 
listserv 2 would
load verify-listserv2.txt and so on.

Or, anything that would create the same result.

Currently, the only way i can figure out is to hardcode it in the various .py files in 
the
/Mailman/ directory.

Any easier way to do this?


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
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] Digest message header filtering

2003-01-30 Thread Jim Littlefield
On Thu, Jan 30, 2003 at 04:04:14PM +, Simon White wrote:
> 30-Jan-03 at 10:56, Jim Littlefield ([EMAIL PROTECTED]) wrote :
> > A number of the subscribers to my lists have complained about the
> > "unimportant" headers (Message-ID, In-Reply-To, etc.) included with
> > each post when receiving a plain digest. I am talking about headers
> > within the digest. Has anyone figured out a good way to strip these
> > out?
> 
> If you have Postfix as an MTA, then you can do body_checks on the email
> *body* only to silently ignore any lines with extraneous headers by
> using a regexp to ignore them. However, this is best done on a server
> which is not also an all-purpose MTA in case people forward full headers
> to others for analysis.
> 
> Other solutions from your MTA of choice are possible, in Mailman itself
> you'd have to hack Digester.py. At first glance, it looks like it pretty
> much forwards plaintext mbox style, to Handlers/ToDigest.py. This
> handles MIME conversion where necessary.

I guess my question wasn't very clear...I was referring to headers
*within* the body of the digest; not the digest's headers. So this isn't
an MTA issue, just a message content one.

> Interesting part of ToDigest.py
> 
> # rfc1153 says we should keep only these headers, and present them in
> # this
> # exact order.
> KEEP = ['Date', 'From', 'To', 'Cc', 'Subject', 'Message-ID', 'Keywords',
> # I believe we should also keep these headers though.
> 'In-Reply-To', 'References', 'Content-Type', 'MIME-Version',
> 'Content-Transfer-Encoding', 'Precedence', 'Reply-To',
> # Mailman 2.0 adds these headers, but they don't need to be kept
> # from
> # the original message: Message
> ]

Hmmm, I'll have to take a look at that file. Thanks for pointing it out.

> Hacking that might allow you to get rid of those headers quite simply,
> breaking RFC1153 in the process, perhaps.
> 
> (I think I should stop promoting Postfix on the Mailman list now...)

Why? Postfix is a great MTA :)

-- 
Jim Littlefield "All those who believe in psychokinesis
 raise my hand." - Steven Wright

--
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] Nothing gets archived...

2003-01-30 Thread Skip Montanaro

Skip> I've been using Mailman for a couple years to run several small
Skip> private, non-archived mailing lists.  Today, I tried creating a
Skip> public, archived mailing list for the first time.  The list mail
Skip> comes and goes just fine, but nothing turns up in the archives as
Skip> far as I can tell.  I googled a bit but couldn't find anything
Skip> helpful.  I'm hoping one of the experts here can steer me quickly
Skip> in the right direction before a lot of mail messages flow through
Skip> unarchived.

After posting my message and getting a "held for the moderator" response but
not hearing anything for awhile (thinking maybe the message had been
"discard"ed), I decided to bite the bullet and upgrade to Mailman 2.1.

I now have archives.  Dunno what was wrong w/ my MM 2.0.9 installation, but
the problem is fixed now.

Thx,

Skip

--
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] Digest message header filtering

2003-01-30 Thread Simon White
30-Jan-03 at 10:56, Jim Littlefield ([EMAIL PROTECTED]) wrote :
> A number of the subscribers to my lists have complained about the
> "unimportant" headers (Message-ID, In-Reply-To, etc.) included with each
> post when receiving a plain digest. I am talking about headers within
> the digest. Has anyone figured out a good way to strip these out?

If you have Postfix as an MTA, then you can do body_checks on the email
*body* only to silently ignore any lines with extraneous headers by
using a regexp to ignore them. However, this is best done on a server
which is not also an all-purpose MTA in case people forward full headers
to others for analysis.

Other solutions from your MTA of choice are possible, in Mailman itself
you'd have to hack Digester.py. At first glance, it looks like it pretty
much forwards plaintext mbox style, to Handlers/ToDigest.py. This
handles MIME conversion where necessary.

Interesting part of ToDigest.py

# rfc1153 says we should keep only these headers, and present them in
# this
# exact order.
KEEP = ['Date', 'From', 'To', 'Cc', 'Subject', 'Message-ID', 'Keywords',
# I believe we should also keep these headers though.
'In-Reply-To', 'References', 'Content-Type', 'MIME-Version',
'Content-Transfer-Encoding', 'Precedence', 'Reply-To',
# Mailman 2.0 adds these headers, but they don't need to be kept
# from
# the original message: Message
]


Hacking that might allow you to get rid of those headers quite simply,
breaking RFC1153 in the process, perhaps.

(I think I should stop promoting Postfix on the Mailman list now...)

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

--
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] spam filtering

2003-01-30 Thread Mike Noyes
On Wed, 2003-01-29 at 15:47, Robin Rowe wrote:
> > Front-end your mailing lists with a procmail filter that uses
> > SpamAssassin.
> 
> Thanks, but as I said, I'm configuring mailman on a SourceForge-hosted
> mailing list. Installing SpamAssassin there is not within my power.
> 
> Can anyone answer my question as asked? Is it possible to use the mailman
> spam filtering capabilities on message bodies as well as headers?

Robin,
FAQ 3.10. How do I enforce a text/plain posts only policy?
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.010.htp

-- 
Mike Noyes 
http://sourceforge.net/users/mhnoyes/
http://leaf-project.org/  http://sitedocs.sf.net/  http://ffl.sf.net/



--
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] Help text

2003-01-30 Thread Vanessa Dobbins
Are there on-line 'help' documents available for Mailman, other than 
consulting members of a newsgroup?  Thanks.


Vanessa Dobbins
Supervisor, CNR Services
College of Natural Resources
University of Idaho, Moscow, ID 83844-1130
Phone: 208-885-6581; Fax: 208-885-6226
http://www.its.uidaho.edu/forserv/



--
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] 'Pre-sales' questions...

2003-01-30 Thread Abbo Peterson
Before I consider Mailman as a newsletter mail list solution, I have a few questions. 
I hope you have time to answer them...

- Does Mailman allow you to create custom headers/footers?
That is, can I write specific text and have it be inserted before and after the body 
of each email? You know, "You received this message because... (header)" and "If you 
wish to be removed from this list... (footer)"

- Does Mailman support attachments, styled text and HTML email formats?
I'm not a technical guy, is this question about multipart or MIME support? I have 
multiple people who can send email to the list. Several use HTML email clients. Does 
Mailman support that? Does Mailman support styled text (bold, color, size changes)? 
Does Mailman support sending attachments?

- KEY: Is the header/footer feature supported when using email formats other than 
plain text?
I currently use SmartList for our mailing list needs. As soon as the email 
Content-Type is -not- plain text, the header/footer is omitted from the email. Grrr. 
This happens anytime someone attaches a file, styles text or uses the HTML email 
format. I need a mail list solution that supports custom headers/footers -with- email 
Content-Types besides plain text.

Thanks in advance,
Abbo

--
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] subscribing mailman via mail?

2003-01-30 Thread eSeL
hi, 

i am runing a few lists on mailman, 
and i want users to subscribe via email. 

1.
a) what is to be written in the subject-line of a mail if a user wants
to subscribe via mail (without web-interface?)
b) ...to subscribe the "daily digest-option" 

2. who to send it to? [EMAIL PROTECTED]?

i could not find any information on this in the documentation. 
or is there an online-manual on this somewhere?

***

i am not subscribed on your list, so please reply to my direct
mailaccount (mailto:[EMAIL PROTECTED])

thank you very much
Lorenz Seidler






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

2003-01-30 Thread Shaju Nambiar
Dear sir

i have certain doubts abt Mailman
can we installed this in windows based machine. If yes what are 
the requirements we need and what will be status.
can we installed in servers (both unix bases and windows based)
if yes, please let me know the requirements

waiting for ur earliest reply
with warm regards
Shaju Nambiar


--
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] Nothing gets archived...

2003-01-30 Thread Skip Montanaro

(Please cc me on any replies, as I'm not subscribed to this list.)

I've been using Mailman for a couple years to run several small private,
non-archived mailing lists.  Today, I tried creating a public, archived
mailing list for the first time.  The list mail comes and goes just fine,
but nothing turns up in the archives as far as I can tell.  I googled a bit
but couldn't find anything helpful.  I'm hoping one of the experts here can
steer me quickly in the right direction before a lot of mail messages flow
through unarchived.

Here's my configuration: mailman 2.0.9 built from source running on Mandrake
Linux with (I believe) Python 2.1.1.  (I hesitate a bit there because I have
several versions of Python installed.  The mailman user sees /usr/bin/python
before /usr/local/bin/python though.)  ~mailman is /home/mailman.  The
relevant bits of the archives tree looks like so:

% ls -lR archives
archives:
total 2
drwxr-s--x   24 skip mailman  1024 Jan 28 21:44 private/
drwxrwsr-x2 skip mailman  1024 Jan 28 21:46 public/

archives/private:
total 22
drwxrwsr-x2 skip mailman  1024 Jan 28 21:44 csv.mbox/

archives/private/csv.mbox:
total 0

archives/public:
total 0
lrwxrwxrwx1 skip mailman19 Jan 28 21:44 csv -> ../private/csv.mbox/

I manually renamed archives/public/csv.mbox to archives/public/csv because
the link to the list archives web page is to

http://manatee.mojam.com/pipermail/csv/

Speaking of which, the Mailman portion of my Apache config file looks like
so:

ScriptAlias /mailman/ "/home/mailman/cgi-bin/" 
Alias /pipermail/ "/home/mailman/archives/public/" 

 
  Options FollowSymLinks Indexes
 

 
SetHandler cgi-script 
Options ExecCGI 
 

The only new bits I added today were the Alias directive and the 
stuff.  The ScriptAlias directive and  stuff were there before and
work fine.  I can get to http://manatee.mojam.com/pipermail/csv/ just fine,
but there's nothing there.  Do archive messages not get appended immediately
as mail transits the system?

Here's mailman's crontab:

# At 5PM every day, mail reminders to admins as to pending requests
0 17 * * * /usr/local/bin/python -S /home/mailman/cron/checkdbs
#
# Noon, mail digests for lists that do periodic as well as threshhold delivery.
0 12 * * * /usr/local/bin/python -S /home/mailman/cron/senddigests
#
# 5 AM on the first of each month, mail out password reminders.
0 5 1 * * /usr/local/bin/python -S /home/mailman/cron/mailpasswds
#
# Every 5 mins, try to gate news to mail.  You can comment this one out
# if you don't want to allow gating, or don't have any going on right now,
# or want to exclusively use a callback strategy instead of polling.
#0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/bin/python -S 
/home/mailman/cron/gate_news
#
# At 3:27am every night, regenerate the gzip'd archive file.  Only
# turn this on if the internal archiver is used and
# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
27 3 * * * /usr/local/bin/python -S /home/mailman/cron/nightly_gzip
#
# Retry failed deliveries once per minute.
* * * * * /usr/local/bin/python -S /home/mailman/cron/qrunner

and the relevant entries in /etc/mail/aliases:

## csv mailing list
## created: 28-Jan-2003 skip
csv: "|/home/mailman/mail/wrapper post csv"
csv-admin:   "|/home/mailman/mail/wrapper mailowner csv"
csv-request: "|/home/mailman/mail/wrapper mailcmd csv"
csv-owner:   csv-admin

I didn't dink around with the archive settings.  The archive options are all
defaults: archive messages, archive file source is public, archive date is
when the mail claims and new volumes should be started monthly.

What am I missing?

Thx,

-- 
Skip Montanaro
[EMAIL PROTECTED]
http://www.musi-cal.com/

--
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] Is Mailman right for my app?

2003-01-30 Thread Bobby and Denise
I'm building a web application in PHP to upload multiple mailing lists via
text files and merge the addresses (eliminate duplicates) to create a single
list.  This final list will reside in my web db, and can have up to 50,000
email addresses.  Up to this point is no problem, but...

I need to then be able to create a mailing list from the list in my db
(preferably by writing to a text file), and launch a mailer to the list via
the mail server.   After sending a single message I no longer need the
list-- i.e. I can completely overwrite it next time, and someone else
manages opt-outs.  I would like to capture bounce info back into by
application db though.  My hosting company recommends Mailman.

Is Mailman the right mail server software for me?  Better than Majordomo and
Mojomail (also available via my host on my vps)?  I see the list mgmt guide,
but I don't need to maintain the list at all, nor do I need to send another
message to this list ever.  If so, where can I find the documentation on how
to create mailing lists remotely (with a web page)?

Thanks to anyone who can help.

--Bobby


--
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] Full headers in archive

2003-01-30 Thread Gareth Hopkins
Howdie,

Is there anyway to get the full headers of messages added when
messages are archived? At the moment only the senders address is shown.
This is using mailman 2.1

Thanks

---
Gareth Hopkins
Server Operations
UUNET South Africa
(o) +27.21.658.8700
(f) +27.21.658.8552
(m) +27.82.929.6668
http://www.uunet.co.za
08600 UUNET (08600 88638)

"The contents of this e-mail and any accompanying documentation is
confidential and any use thereof, in whatever form, by anyone other
than the addressee for whom it is intended, is strictly prohibited."


--
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] archive and .htaccess

2003-01-30 Thread Justin Georgeson
Now it all works. Thanks!

Richard Barrett wrote:

At 00:30 30/01/2003, Justin Georgeson wrote:



Richard Barrett wrote:


At 18:21 29/01/2003, Simon White wrote:


29-Jan-03 at 12:11, Justin Georgeson ([EMAIL PROTECTED]) 
wrote :
> Aha! I just noticed that the archive link from
>
> https:///mailman/listinfo//
>
> is
>
> http:///pipermail//
>
> This may seem odd, and I'd rather not go into detail, but
> http:// and https:// are different VirtualHost
> configurations in my Apache installation. If I type in the same 
archive
> URL with a https it works. I saw a post in the archives of this list
> (mailman-users) earlier this month which seemed to be a similar
> situation: the URL's are not consistent. Any idea how I correct this?
> The DEFAULT_URL_PATTERN variable in 
/var/mailman/Mailman/Defaults.py is
> set correctly (https://%s/mailman/).


The link to a list on the page generated by 
prefix/Mailman/Cgi/listinfo.py is determined by each list's 
web_page_url attribute. The value of this attribute is normally set 
when the list is created and is based to DEFAULT_URL or 
DEFAULT_URL_PATTERN combined with DEFAULT_URL_HOST or 
DEFAULT_URL_PATTERN values at that time. Another list attribute set 
at the same time is it's host_name attribute which  is set to 
DEFAULT_HOST_NAME (or DEFAULT_EMAIL_HOST if DEFAULT_HOST_NAME  is not 
defined). This is used in setting the link to the archives on the 
page returned by the /listinfo/ URI.


Every other link works so far. Only the archive link is wrong.

I just set DEFAULT_URL and DEFAULT_HOST_NAME in 
$prefix/Mailman/Defaults.py. DEFAULT_HOST_NAME has the same value as 
DEFAULT_URL_HOST. DEFAULT_URL has the value of DEFAULT_HOST_NAME with 
https:// in front of it (can I use %s there instead, like 
DEFAULT_URL_PATTERN?). That didn't help.

If you want to change these list attributes for a given list then 
prefix/bin/withlist is your friend. The standard MM 2.1 distribution


I want to have the defaults set such that I don't have to run 
withlist/fix_url every time I create a list. I have one host that the 
lists are serverd off of, and I want all the links to be https instead 
of http. (Everything in the MailMan web interface should be viewed 
from https://myserver.unboundtech.com/...)

has the $prefix/bin/fix_url.py script wto be used in conjunction with 
prefix/bin/withlist to reset a list's web_page_url and host_name. The 
values to which web_page_url and host_name are set by fix_url.py 
depend on the then current default MM parameters set in 
$prefix/Mailman/Defaults.py and $prefix/Mailman/mm_cfg.py and the 
options you put on the command line when running fix_url. See the code


Given that setting those two didn't fix my existing test list, I tried 
creating a second test list. I still have the same problem. Every link 
except the Archive link works.

Should I interpret this as a bug, or am I still doing something wrong. 
I don't think I should have to manually patch every list I create just 
because I'm using an https server for the web interface.


Looks like the URL is generated by the GetBaseArchiveURL function in 
$prefix/Mailman/Archive/Archiver.py which bases it on the config 
variable PUBLIC_ARCHIVE_URL. Learn something new every day.


in fix_url.py for deatils; python is quite easy to read.



Indeed it is, once you get past the lack of statement delimiters and 
the fact that indentation level determintes scope. :)

Interesting... I just made a similar change and I'm hoping it's 
going to
work. Maybe it won't *shrug*

My next thought is to use Apache to rewrite the urls. It can be done,
but it should be consistent in Mailman in the first place. Anyone?

--
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863


--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main   713.329.9330
Fax713.460.4051
Mobile 512.789.1962

5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)



--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main   713.329.9330
Fax713.460.4051
Mobile 512.789.1962

5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)


--
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] Digest message header filtering

2003-01-30 Thread Jim Littlefield
A number of the subscribers to my lists have complained about the
"unimportant" headers (Message-ID, In-Reply-To, etc.) included with each
post when receiving a plain digest. I am talking about headers within
the digest. Has anyone figured out a good way to strip these out?

-- 
Jim Littlefield "All those who believe in psychokinesis
 raise my hand." - Steven Wright

--
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] Mailman 2.1 list creation

2003-01-30 Thread Simon White
30-Jan-03 at 10:46, Jon Carnes ([EMAIL PROTECTED]) wrote :
> An alternative way to eliminate the handling of aliases is to move to
> Postfix and use the Mailman/Postfix integration.  Now that is a win-win
> situation.
> 
> You can actually mimic this integration with Sendmail if you use a cron
> script (or modify the new-list app to include the script commands), to
> run genaliases and pump the output to a local file which you then hash
> via newaliases:
>   ~mailman/data/aliases
>   ~malman/data/aliases.db  
> 
> After that you simply edit /etc/sendmail.cf to look at both alias files:
>   /etc/aliases, and
>   ~mailman/data/aliases

If you've never edited /etc/sendmail.cf, and recreated your configs,
etc, then moving to Postfix and finding how much easier it is to
configure will be the best move you ever made.

(also a reformed sendmail "junkie"... but the addiction was forced by
the legacy install I inherited. Just as I got the hang of it, we needed
more functionality, and I didn't want to get buried in m4, mc, cf hell
again).

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

--
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] Mailman 2.1 list creation

2003-01-30 Thread Jon Carnes
An alternative way to eliminate the handling of aliases is to move to
Postfix and use the Mailman/Postfix integration.  Now that is a win-win
situation.

You can actually mimic this integration with Sendmail if you use a cron
script (or modify the new-list app to include the script commands), to
run genaliases and pump the output to a local file which you then hash
via newaliases:
  ~mailman/data/aliases
  ~malman/data/aliases.db  

After that you simply edit /etc/sendmail.cf to look at both alias files:
  /etc/aliases, and
  ~mailman/data/aliases

Hope this helps someone - Jon Carnes (reformed Sendmail junkie)

===
On Thu, 2003-01-30 at 05:03, Richard Barrett wrote:
> At 21:51 29/01/2003, Jon Carnes wrote:
> >If you can get shell access to the server you can use the
> >~mailman/bin/genaliases command to generate the aliases for your created
> >lists.  You could simply redirect the output of that command into a
> >local aliases file and then include that aliases file in your MTA's list
> >of aliases that it checks.
> >
> >Jon Carnes
> >
> 
> If the MTA is sendmail then there is an option of using a sendmail mailer 
> to deliver to Mailman, if the only mail aliases on the server are the small 
> number of standard local aliases, e.g. postmaster, and those for Mailman 
> lists. If the machine is also hosting aliases for individual users then 
> forget I posted this.
> 
> MM 2.1 has the mm-handler contrib which is a sendmail mailer implemented in 
> Perl. There is also a Python implementation available which I have posted 
> as MM patch #644810 on sourceforge. Note that the Perl contrib isn't 
> entirely bullet-proof, unless the author has recently fixed an issue I 
> raised a while back.
> 
> Using these sendmail mailers can completely eliminate maintenance of mail 
> aliases on a list server. Create the list with MM through the web GUI and 
> its ready to go. The downside is some hassle getting sendmail setup right 
> and I wouldn't rate this as a job for a sendmail novice unless he is a 
> persistent one like me. But once that is done, no alias maintenance hassle.
> 
> I started out using the Perl contrib (originally with my own modifications 
> to work with MM 2.0.13 rather than 2.1) but now use the Python version on a 
> dedicated list server machine and its backup, which are currently hosting 
> over 450 fairly lightly loaded lists. The list population is fairly dynamic 
> and the use of the sendmail mailer works well for me.
> 
> >On Wed, 2003-01-29 at 06:24, Will Nordmeyer wrote:
> > > Hi,
> > >
> > > I'm using mailman 2.1 on a Cobalt RAQ3 and trying to use the web
> > > interface to create a list.
> > >
> > > It creates the list, but doesn't add any entries to either the aliases
> > > file or the virtusertable.  It also doesn't provide a list of what
> > > entries need to be added.
> > >
> > > It doesn't seem that I have everything configured right but don't see
> > > anything in the INSTALL doc about the settings.
> > >
> > > Can someone help please?
> 
> 



--
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] pending.pck - what does this file do?

2003-01-30 Thread Jon Carnes
On Wed, 2003-01-29 at 16:31, Marc Perkel wrote:
> What does the pending.pck file do?
> 

The pending file is well documented in:
  /usr/local/mailman/Mailman/Pending.py

Take a look in there for all the functions it performs.

Jon Carnes


--
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] Re: Subscribing problems

2003-01-30 Thread delilah
I think I found the problem, I changed the permissions for the
~mailman/data/pending_subscriptions.db file to 664 and the error went
away.   What should the permissions be for the pending_subscriptions.db
file?

Sean

On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote:

> Hi,
>
> I'm running mailman 2.0.6 and have run into an issue with subscriber
> members using the listinfo page.  When ever it is used it give the 'we hit
> a bug' page.  If one of the field is left blank the script excutes
> correctly stating that one of the fields in empty.
>
> I check the error logs and this what I found:
>
> admin(66543):   File "../Mailman/Cgi/subscribe.py", line 74, in main
> admin(66543):   File "../Mailman/Cgi/subscribe.py", line 185, in
> process_form
> admin(66543):   SCRIPT_FILENAME: /usr/mailman/cgi-bin/subscribe
> admin(66543):   SCRIPT_NAME: /mailman/subscribe
> admin(66543):   REQUEST_URI: /mailman/subscribe/foomanchu
>
> Line 185 in subscribe.py is the mlist.AddMember(email, pw, digest, remote)
>
> All the info being entered in correct, any ideas what would cause the
> mlist.AddMember function to fail?  Where is the mlist.AddMember function
> located?  Any suggestions as to what to check?
>
> I don't know if this matters but I running the exact same setup on another
> machine but with python 2.0, the machine that is getting the error is
> running python 2.2.2.
>
> Sean
>
>


--
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] Error: Illegal list name: test@mail

2003-01-30 Thread Jon Carnes
On Wed, 2003-01-29 at 16:29, Alfred wrote:
> Hi,
> 
> i upgrade from 2.0 to 2.1 the command /var/mailman/bin/newlist
> can not create a new list, 

So you installed Mailman v2.1 in /var/mailman instead of
/usr/local/mailman?

If the newlist command does not work then something is deeply wrong with
your install.  You will need to fix that before you can do anything
else.

How did you install/upgrade Mailman: via Source or via RPM (or apt
get...)?  What OS are you running on?

Have you completely read the UPGRADE document and followed it's
directions?  Have you read the INSTALL document and followed it's
directions?

Good Luck - Jon Carnes

> over the web i like to create a new list
> called test but after click the create button it shows me the error:
> Error: Illegal list name: test@mail
> but i dont fill a @ in the form and from where comes "@mail" ???
> 
> thanks
> 
> Alfred
> 



--
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] Changing list headers

2003-01-30 Thread Jon Carnes
Sorry you didn't include all the previous message in your reply, so I'm
guessing that you are talking about the digest messages...?

For the Digest's you should look at one of the Handlers:
  ~mailman/Mailman/Handlers/ToDigest.py

It looks like this is going to be a very simple hack for you to make!
Good Luck - Jon Carnes

On Wed, 2003-01-29 at 15:15, Tom Maddox wrote:
> Okay, I give--what source changes do I need to make to alter the default
> headers?
> 
> > If you are a sysadmin on the server, you can modify the source to leave
> > that out...
> >
> > On Fri, 2003-01-24 at 11:39, VLists.Net Support wrote:
> > > -> On 12:22 PM 1/23/2003 -0800, Tom Maddox was quoted as saying...:
> > >
> > > ->In addition to this problem, the Reply-To: header includes
> > the short list
> > > ->description (not the title but the description).  Is there
> > any way to change
> > > ->*that*?
> > >
> > > Here, Here!  The "short list description" isn't so short in
> > some cases and
> > > really botches up the reply line.
> > >
> > >
> > >
> > > --
> > > 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/jonc%40nc.rr.com
> 
> 
> 
> --
> 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/tmaddox%40thereinc.com
> 
> 
> 
> 
> --
> 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/jonc%40nc.rr.com



--
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] Can't admin pending messages

2003-01-30 Thread Jon Carnes
Are you allowing cookies in this browser?  What happens if you enter the
admindb via a different browser?

On Wed, 2003-01-29 at 16:19, Marc Perkel wrote:
> 
> 
> Richard Barrett wrote:
> 
> > At 19:44 29/01/2003, Marc Perkel wrote:
> >
> >> 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?
> >
> >
> > Anything showing in Mailman error (or other) logs?
> >
> > Are your ermissions OK. Did you run $bin/check_perms -f after upgrading?
> 
> Yep - reran check_perms and everything fine. Everything is in the right 
> group - has the right permissions. Even rebooted the server. Nothing 
> showing in the logs. And - I'm pretty sure it was working right after 
> the upgrade and it quit for some reason. I have a second server with a 
> nearly identical install and it works. I even changed the permissions on 
> the hold files to 777 and no difference. If I manually delete the files 
> it does make them go away.
> 
> I'm stumped.
> 
> 
> --
> 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/jonc%40nc.rr.com



--
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] question about reply-to munging

2003-01-30 Thread Jon Carnes
This isn't quite a feature of Mailman.

If you wanted to hack into Mailman and make that change, then it looks
like a good place to start would be:
  ~mailman/Mailman/MailList.py

Another of the usual suspects would be:
  ~mailman/Mailman/Handlers/CookHeaders.py

You will find most of Mailman's source code in ~mailman/Mailman and it's
subdirectories. So,
  cd /usr/local/mailman/Mailman
  grep -i reply_to *
  grep -i reply_to */*

Good Luck, and be sure to publish what you find out!

Jon 

On Wed, 2003-01-29 at 14:27, Peter Jay Salzman wrote:
> dear all,
> 
> i set up a mailman list a long time ago with reply-to munging enabled.
> i'd rather not change that, because i foresee a billion emails "why
> aren't my emails going to the list anymore"?
> 
> normally, sent email doesn't contain "reply-to:" unless the
> user specifically sets it.
> 
> is there a way for mailman to set reply-to back to the list *except* for
> the case where someone explicitly sets the reply-to himself?  that way,
> users have a choice.
> 
> if not,
> 
> 1. can i request this as a feature?
> 
> 2. if i were to hack mailman to try to implement this feature, where
> would i start to look for the relevent code?
> 
> pete
> 
> 
> -- 
> First they ignore you, then they laugh at you, then they fight you,
> then you win. -- Gandhi, being prophetic about Linux.
> 
> Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
> 
> --
> 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/jonc%40nc.rr.com



--
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] Subscribing problems

2003-01-30 Thread delilah
Hi,

I'm running mailman 2.0.6 and have run into an issue with subscriber
members using the listinfo page.  When ever it is used it give the 'we hit
a bug' page.  If one of the field is left blank the script excutes
correctly stating that one of the fields in empty.

I check the error logs and this what I found:

admin(66543):   File "../Mailman/Cgi/subscribe.py", line 74, in main
admin(66543):   File "../Mailman/Cgi/subscribe.py", line 185, in
process_form
admin(66543):   SCRIPT_FILENAME: /usr/mailman/cgi-bin/subscribe
admin(66543):   SCRIPT_NAME: /mailman/subscribe
admin(66543):   REQUEST_URI: /mailman/subscribe/foomanchu

Line 185 in subscribe.py is the mlist.AddMember(email, pw, digest, remote)

All the info being entered in correct, any ideas what would cause the
mlist.AddMember function to fail?  Where is the mlist.AddMember function
located?  Any suggestions as to what to check?

I don't know if this matters but I running the exact same setup on another
machine but with python 2.0, the machine that is getting the error is
running python 2.2.2.

Sean


--
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] Mailman 2.1 list creation

2003-01-30 Thread Richard Barrett
At 21:51 29/01/2003, Jon Carnes wrote:

If you can get shell access to the server you can use the
~mailman/bin/genaliases command to generate the aliases for your created
lists.  You could simply redirect the output of that command into a
local aliases file and then include that aliases file in your MTA's list
of aliases that it checks.

Jon Carnes



If the MTA is sendmail then there is an option of using a sendmail mailer 
to deliver to Mailman, if the only mail aliases on the server are the small 
number of standard local aliases, e.g. postmaster, and those for Mailman 
lists. If the machine is also hosting aliases for individual users then 
forget I posted this.

MM 2.1 has the mm-handler contrib which is a sendmail mailer implemented in 
Perl. There is also a Python implementation available which I have posted 
as MM patch #644810 on sourceforge. Note that the Perl contrib isn't 
entirely bullet-proof, unless the author has recently fixed an issue I 
raised a while back.

Using these sendmail mailers can completely eliminate maintenance of mail 
aliases on a list server. Create the list with MM through the web GUI and 
its ready to go. The downside is some hassle getting sendmail setup right 
and I wouldn't rate this as a job for a sendmail novice unless he is a 
persistent one like me. But once that is done, no alias maintenance hassle.

I started out using the Perl contrib (originally with my own modifications 
to work with MM 2.0.13 rather than 2.1) but now use the Python version on a 
dedicated list server machine and its backup, which are currently hosting 
over 450 fairly lightly loaded lists. The list population is fairly dynamic 
and the use of the sendmail mailer works well for me.

On Wed, 2003-01-29 at 06:24, Will Nordmeyer wrote:
> Hi,
>
> I'm using mailman 2.1 on a Cobalt RAQ3 and trying to use the web
> interface to create a list.
>
> It creates the list, but doesn't add any entries to either the aliases
> file or the virtusertable.  It also doesn't provide a list of what
> entries need to be added.
>
> It doesn't seem that I have everything configured right but don't see
> anything in the INSTALL doc about the settings.
>
> Can someone help please?




--
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] Archive configuration and graphics not appearing

2003-01-30 Thread Adam
Apologies for lumping two problems in to one mail, but it'll save time if I try
to address both in one go. Running mailman 2.1 on apache 1.3.23 with mandrake
linux 9.

Firstly, my pipermail archives aren't showing up. 

I've configured httpd.conf to have 
Alias   /pipermail/ "/var/lib/mailman/archives/public/"

Options FollowSymLinks
AllowOverride None


(and tweaked around with the sytax of this). 
I've also run check_perms with -f flag with no problems. There are messages in
the archive which is made public. The symlinks exist in public directory. I'm at
a loss at what to do now. 

Also, my images aren't showing up. I'm not sure where they are in the hierarchy
of mailman (I've installed prefix=/var/lib/mailman). Is it even possible to
change these? Ideally I'd like to make them smaller and lump them into one graphic.

Thanks in advance. 
adam

--
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] cgi-user / create.py

2003-01-30 Thread Simon White
30-Jan-03 at 00:44, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote :
> Hi there,
> 
> this may seem to you as a simple question, but I'd appreciate some help. I've run 
> mailman's configure-script with the option --with-cgi-gid=www and --with-mail-gid=-
> 2. Now when I'm trying to create a list via www with the create-script, I get the 
> error: RuntimeError: command failed: /sw/sbin/postalias 
> /Users/mailman/data/aliases (status: 1, Operation not permitted). Which certainly 
> is a permissions problem, because running postalias directly as the user mailman 
> updates aliases.db without problems. And, btw, the new list appears correctly in 
> the aliases file.
> 
> But I don't understand at which end this is wrong. Was the cgi-gid set wrong? Or 
> do I need to change the ownership of the aliases files? check-perms renders no 
> errors. Do I need to tell mailman/create.py to run postaliases as user mailman, and 
> if so, how do I do that?

Does postalias run as www ? Anything created via the web is going to run
as the cgi-gid, i.e. www

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

--
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] Mailman 2.1 list creation

2003-01-30 Thread Simon White
29-Jan-03 at 16:51, Jon Carnes ([EMAIL PROTECTED]) wrote :
> If you can get shell access to the server you can use the
> ~mailman/bin/genaliases command to generate the aliases for your created
> lists.  You could simply redirect the output of that command into a
> local aliases file and then include that aliases file in your MTA's list
> of aliases that it checks.

Indeed, it can be almost automagic with Postfix, though I believe RAQ3
uses sendmail by default. You could have a little script doing something
like this:

cat $prefix/mailman/data/aliases > /etc/aliases

(where $prefix is mailman prefix, and /etc/aliases is your sendmail
alias file)

Maybe sendmail can even source several alias files.

You may need to adjust this for virtual alias compatibility, etc.

Mailman is virtual aware if I read the docs properly.

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

--
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] [Bug] Cookie from older version

2003-01-30 Thread Simon White
29-Jan-03 at 13:37, Will Yardley ([EMAIL PROTECTED]) wrote :
> If you have an old cookie from Mailman 2.0.x, you'll have to re-login
> for every page until you manually clear the cookie from your browser
> (after upgrading to 2.1).
> 
> Is there any way to fix this in the future? With some browsers, it's not
> simple to remove an individual cookie.

On WinBlows, you can delete individual cookies in the "Temporary
Internet Files" directory.

In Netscape and clones there's usually a cookies / cookies.txt file

Opera has cookies.dat

They can be edited.

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

--
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] Can't admin pending messages

2003-01-30 Thread Simon White
29-Jan-03 at 13:19, Marc Perkel ([EMAIL PROTECTED]) wrote : 
> Richard Barrett wrote:
> >At 19:44 29/01/2003, Marc Perkel wrote:
> >
> >>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?
> >
> >Anything showing in Mailman error (or other) logs?
> >
> >Are your ermissions OK. Did you run $bin/check_perms -f after upgrading?
> 
> Yep - reran check_perms and everything fine. Everything is in the right 
> group - has the right permissions. Even rebooted the server. Nothing 
> showing in the logs. And - I'm pretty sure it was working right after 
> the upgrade and it quit for some reason. I have a second server with a 
> nearly identical install and it works. I even changed the permissions on 
> the hold files to 777 and no difference. If I manually delete the files 
> it does make them go away.
> 
> I'm stumped.

Are your qrunner processes running and all the regular things like that?
How about your locks directory? 

Sometimes I do this: stop mailman... go into the locks directory, delete
all listname-* files, start mailman.

This usually helps.

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

--
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] archive and .htaccess

2003-01-30 Thread Richard Barrett
At 00:30 30/01/2003, Justin Georgeson wrote:



Richard Barrett wrote:

At 18:21 29/01/2003, Simon White wrote:


29-Jan-03 at 12:11, Justin Georgeson ([EMAIL PROTECTED]) wrote :
> Aha! I just noticed that the archive link from
>
> https:///mailman/listinfo//
>
> is
>
> http:///pipermail//
>
> This may seem odd, and I'd rather not go into detail, but
> http:// and https:// are different VirtualHost
> configurations in my Apache installation. If I type in the same archive
> URL with a https it works. I saw a post in the archives of this list
> (mailman-users) earlier this month which seemed to be a similar
> situation: the URL's are not consistent. Any idea how I correct this?
> The DEFAULT_URL_PATTERN variable in /var/mailman/Mailman/Defaults.py is
> set correctly (https://%s/mailman/).


The link to a list on the page generated by 
prefix/Mailman/Cgi/listinfo.py is determined by each list's web_page_url 
attribute. The value of this attribute is normally set when the list is 
created and is based to DEFAULT_URL or DEFAULT_URL_PATTERN combined with 
DEFAULT_URL_HOST or DEFAULT_URL_PATTERN values at that time. Another list 
attribute set at the same time is it's host_name attribute which  is set 
to DEFAULT_HOST_NAME (or DEFAULT_EMAIL_HOST if DEFAULT_HOST_NAME  is not 
defined). This is used in setting the link to the archives on the page 
returned by the /listinfo/ URI.

Every other link works so far. Only the archive link is wrong.

I just set DEFAULT_URL and DEFAULT_HOST_NAME in 
$prefix/Mailman/Defaults.py. DEFAULT_HOST_NAME has the same value as 
DEFAULT_URL_HOST. DEFAULT_URL has the value of DEFAULT_HOST_NAME with 
https:// in front of it (can I use %s there instead, like 
DEFAULT_URL_PATTERN?). That didn't help.

If you want to change these list attributes for a given list then 
prefix/bin/withlist is your friend. The standard MM 2.1 distribution

I want to have the defaults set such that I don't have to run 
withlist/fix_url every time I create a list. I have one host that the 
lists are serverd off of, and I want all the links to be https instead of 
http. (Everything in the MailMan web interface should be viewed from 
https://myserver.unboundtech.com/...)

has the $prefix/bin/fix_url.py script wto be used in conjunction with 
prefix/bin/withlist to reset a list's web_page_url and host_name. The 
values to which web_page_url and host_name are set by fix_url.py depend 
on the then current default MM parameters set in 
$prefix/Mailman/Defaults.py and $prefix/Mailman/mm_cfg.py and the options 
you put on the command line when running fix_url. See the code

Given that setting those two didn't fix my existing test list, I tried 
creating a second test list. I still have the same problem. Every link 
except the Archive link works.

Should I interpret this as a bug, or am I still doing something wrong. I 
don't think I should have to manually patch every list I create just 
because I'm using an https server for the web interface.

Looks like the URL is generated by the GetBaseArchiveURL function in 
$prefix/Mailman/Archive/Archiver.py which bases it on the config variable 
PUBLIC_ARCHIVE_URL. Learn something new every day.


in fix_url.py for deatils; python is quite easy to read.


Indeed it is, once you get past the lack of statement delimiters and the 
fact that indentation level determintes scope. :)

Interesting... I just made a similar change and I'm hoping it's going to
work. Maybe it won't *shrug*

My next thought is to use Apache to rewrite the urls. It can be done,
but it should be consistent in Mailman in the first place. Anyone?

--
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863


--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main   713.329.9330
Fax713.460.4051
Mobile 512.789.1962

5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)




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