Re: [Mailman-Users] There currently are no publicly-advertised Mailmanmailing lists

2006-03-16 Thread Mark Sapiro
Travis Derouin wrote:
>
>I get the standard
>
>   Error: You are not authorized to create new mailing lists
>
>error when trying to create a new list through the browser, despite
>setting the both the site password and list creator password to
>something simple like abc123 with mmsitepass.


You're not the first person to complain of this, but I don't have an
answer.


>I did go through that FAQ a few times today, and tried out the
>different suggestions. Even creating a new list from the command line
>has the same problems after changing mm_cfg.py to include the 2
>hostname specifications. It's odd because in my current installation
>I'm just using the usual hostname for the server, with no virtual
>hosts involved.


Did you run fix_url on your existing lists?


>Do you have any debugging suggestions? Should I possibly add some
>logging statements to listinfo.py at around line 104 and recompile ?


First run bin/dumpdb on a lists/listname/config.pck and see what the
value of the web_page_url attribute is.

Then, if the list is advertised and the host portion of the url you are
accessing the listinfo page with matches the host portion of
web_page_url, the list should appear on the listinfo overview.


>There doesn't seem to be any indicitive messages in the logs. Is there
>also any reason why tarring up an existing working mailman
>configuration and swapping hostnames/DNS records might not work
>either?


If DNS, etc. is changed so that the installation on the new host is
accessed with the same names as before, it should work as before.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

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

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


Re: [Mailman-Users] There currently are no publicly-advertised Mailmanmailing lists

2006-03-16 Thread Travis Derouin
Hey Mark,

I get the standard

   Error: You are not authorized to create new mailing lists

error when trying to create a new list through the browser, despite
setting the both the site password and list creator password to
something simple like abc123 with mmsitepass.

I did go through that FAQ a few times today, and tried out the
different suggestions. Even creating a new list from the command line
has the same problems after changing mm_cfg.py to include the 2
hostname specifications. It's odd because in my current installation
I'm just using the usual hostname for the server, with no virtual
hosts involved.

Do you have any debugging suggestions? Should I possibly add some
logging statements to listinfo.py at around line 104 and recompile ?

There doesn't seem to be any indicitive messages in the logs. Is there
also any reason why tarring up an existing working mailman
configuration and swapping hostnames/DNS records might not work
either?

Thanks a bunch,
Travis

On 3/16/06, Mark Sapiro <[EMAIL PROTECTED]> wrote:
> Travis Derouin wrote:
> >
> >I've been running a mailman list for about a year and the time has
> >come to switch servers. I've started off by setting up a new mailman
> >installation but have run into some problems. 1) Any list I create
> >through the command line bin/newlist isn't accessible through a web
> >browser (There's the No Such List error) and 2) Despite resetting the
> >site password and list creator password a few times, I can't create a
> >new list through a web browser.
>
>
> And what's the error message for that?
>
>
> >I've tried editing data/sitelist.cfg and setting advertised =1 and
> >then using config_list to reset the list configuration. I've fiddled
> >with the DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST in mm_cfg.py and
> >poked around FAQs and documentation online for a long time. I've also
> >tried just tarring up the existing working mailman directory and
> >moving it over to the new machine, but alas, that had the same issue.
> >I tried setting up another installation on a different machine (all
> >machines are Red Hat Linux, Apache 2), same problem. bin/list_lists do
> >list the lists that were created from the command line.
> >VIRTUAL_HOST_OVERVIEW is still set to On in Default.py.
> >
> >I thought there might have been an issue with the hostname having a
> >uppercase letter in it, while the HTTP_HOST is all lower case, but I
> >recompiled using --with-mailhost and --with-urlhost to use the
> >lowercase name and still had the same problem, and have changed the
> >settings in mm_cfg.py and used add_virtualhost.
> >
> >Any suggestions would be appreciated.
>
>
> Read this FAQ
> .
> Do not overlook the section on "Existing versus new lists"
>
> --
> Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
>
>
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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


Re: [Mailman-Users] There currently are no publicly-advertised Mailmanmailing lists

2006-03-16 Thread Mark Sapiro
Travis Derouin wrote:
>
>I've been running a mailman list for about a year and the time has
>come to switch servers. I've started off by setting up a new mailman
>installation but have run into some problems. 1) Any list I create
>through the command line bin/newlist isn't accessible through a web
>browser (There's the No Such List error) and 2) Despite resetting the
>site password and list creator password a few times, I can't create a
>new list through a web browser.


And what's the error message for that?


>I've tried editing data/sitelist.cfg and setting advertised =1 and
>then using config_list to reset the list configuration. I've fiddled
>with the DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST in mm_cfg.py and
>poked around FAQs and documentation online for a long time. I've also
>tried just tarring up the existing working mailman directory and
>moving it over to the new machine, but alas, that had the same issue.
>I tried setting up another installation on a different machine (all
>machines are Red Hat Linux, Apache 2), same problem. bin/list_lists do
>list the lists that were created from the command line. 
>VIRTUAL_HOST_OVERVIEW is still set to On in Default.py.
>
>I thought there might have been an issue with the hostname having a
>uppercase letter in it, while the HTTP_HOST is all lower case, but I
>recompiled using --with-mailhost and --with-urlhost to use the
>lowercase name and still had the same problem, and have changed the
>settings in mm_cfg.py and used add_virtualhost.
>
>Any suggestions would be appreciated.


Read this FAQ
.
Do not overlook the section on "Existing versus new lists"

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

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

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


[Mailman-Users] There currently are no publicly-advertised Mailman mailing lists

2006-03-16 Thread Travis Derouin
Hi,

I've been running a mailman list for about a year and the time has
come to switch servers. I've started off by setting up a new mailman
installation but have run into some problems. 1) Any list I create
through the command line bin/newlist isn't accessible through a web
browser (There's the No Such List error) and 2) Despite resetting the
site password and list creator password a few times, I can't create a
new list through a web browser.

I've tried editing data/sitelist.cfg and setting advertised =1 and
then using config_list to reset the list configuration. I've fiddled
with the DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST in mm_cfg.py and
poked around FAQs and documentation online for a long time. I've also
tried just tarring up the existing working mailman directory and
moving it over to the new machine, but alas, that had the same issue.
I tried setting up another installation on a different machine (all
machines are Red Hat Linux, Apache 2), same problem. bin/list_lists do
list the lists that were created from the command line. 
VIRTUAL_HOST_OVERVIEW is still set to On in Default.py.

I thought there might have been an issue with the hostname having a
uppercase letter in it, while the HTTP_HOST is all lower case, but I
recompiled using --with-mailhost and --with-urlhost to use the
lowercase name and still had the same problem, and have changed the
settings in mm_cfg.py and used add_virtualhost.

Any suggestions would be appreciated.

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

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


Re: [Mailman-Users] Forged from headers and non existent lists

2006-03-16 Thread Heather Madrone
At 12:49 PM -0800 3/16/06, stupidmail4me wrote:
>My site is getting a lot of spam sent to my lists.
>They are being sent from unknown people using forged
>from headers. Mailman then sends an email to these
>forged from headers telling them so and so list
>doesn't exist. Most of these forged from headers
>aren't real addresses, so there begins loops of
>mailman trying to send out a message, and their email
>servers telling mine that address doesn't exist.
>
>Is there an option in Mailman to just disregard
>messages sent to lists that don't exist? I don't want
>to send a message informing them that the list doesn't
>exist, I just want Mailman to ignore it. Is this
>possible?

Others might disagree, but I don't think that MTA ought to
deliver messages to list (or list administration) addresses that
don't exist.  The MTA should refuse to accept delivery of
such messages.

I also think that judicious pre-Mailman use of spam filters
cuts way down on the amount of junk that Mailman has to
process.  I've been running one of my lists since 1996 (it
has existed since 1989), and the admin addresses for that
list gets hundreds of spam attempts every single day.  After
some tinkering, I've managed to adjust the filters so they
keep out almost all the spam while letting through almost all
the legitimate requests (I do check manually to make sure that
no valid requests get dumped by mistake).

Bouncing spam is, ironically enough, one of the best ways
to get branded a spammer by certain ISPs.  I think we have
a duty to at least try to weed out the spam and not have our
autoresponders make the problem worse by trying to bounce
the stuff.

-- 
Heather Madrone  ([EMAIL PROTECTED])  http://www.madrone.com

"Everything I never wanted to know I learned from the Internet."
-- Morgayn Madrone, age 17

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

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


Re: [Mailman-Users] Forged from headers and non existent lists

2006-03-16 Thread Mark Sapiro
stupidmail4me wrote:

>My site is getting a lot of spam sent to my lists.
>They are being sent from unknown people using forged
>from headers. Mailman then sends an email to these
>forged from headers telling them so and so list
>doesn't exist.


Actually, Mailman doesn't send this mail. The Mailman 'post' wrapper
which is invoked by your MTA writes an error message 'post script,
list not found: %(listname)s' to stderr and exits with status = 1.

Your MTA is then returning an undeliverable message to the sender.

But, as Hans points out in another reply, only mail to valid list
addresses should be delivered to any Mailman wrapper in the first
place.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

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

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


Re: [Mailman-Users] Forged from headers and non existent lists

2006-03-16 Thread Hans Ulrich Niedermann
stupidmail4me <[EMAIL PROTECTED]> writes:

> My site is getting a lot of spam sent to my lists.
> They are being sent from unknown people using forged
> from headers. Mailman then sends an email to these
> forged from headers telling them so and so list
> doesn't exist. Most of these forged from headers
> aren't real addresses, so there begins loops of
> mailman trying to send out a message, and their email
> servers telling mine that address doesn't exist.
>
> Is there an option in Mailman to just disregard
> messages sent to lists that don't exist? I don't want
> to send a message informing them that the list doesn't
> exist, I just want Mailman to ignore it. Is this
> possible?

Why does Mailman receive those mails in the first place?

There should be no valid alias for those non-existing lists and the
MTA thus should not accept those mails at all. If the MTA just returns
a SMTP error "no such user", no additional mails are generated.

Gruß,

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

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

[Mailman-Users] Forged from headers and non existent lists

2006-03-16 Thread stupidmail4me
My site is getting a lot of spam sent to my lists.
They are being sent from unknown people using forged
from headers. Mailman then sends an email to these
forged from headers telling them so and so list
doesn't exist. Most of these forged from headers
aren't real addresses, so there begins loops of
mailman trying to send out a message, and their email
servers telling mine that address doesn't exist.

Is there an option in Mailman to just disregard
messages sent to lists that don't exist? I don't want
to send a message informing them that the list doesn't
exist, I just want Mailman to ignore it. Is this
possible?

-James

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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


[Mailman-Users] Unsubscribe

2006-03-16 Thread Jeff Edwards

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

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


Re: [Mailman-Users] Totally unmoderated user???

2006-03-16 Thread Daniel Hawker
 

-Original Message-
From: Gadi Evron [mailto:[EMAIL PROTECTED] 
Sent: 16 March 2006 16:13
To: Mark Sapiro
Cc: Daniel Hawker; mailman-users@python.org
Subject: Re: [Mailman-Users] Totally unmoderated user???

On Thu, 16 Mar 2006, Mark Sapiro wrote:
> Daniel Hawker wrote:
> >
> >I would like to have a couple of my members to be able to be 
> >completely unmoderated and hence be able to bypass this limit. I 
> >trust they won't send anything truly silly, however they send out 
> >regular information packs (around 2-300k) that obviously get caught
by the system.
> 
> 
> There is no way to do this via list configuration. You can set a 
> moderator password if there isn't one already, and give the password 
> to these people. If you don't want them to receive regular 
> 'moderation' notices, you don't have to add them to the moderator
list.
> 
> Once these people have the password, they can approve their own posts 
> or they can pre-approve them by putting an Approved: header or first 
> body line in the post they send to the list.
> 
> Of course, they can also approve/reject/discard any other pending 
> moderator requests via the admindb interface.

I've been looking for a way to do this for a while, what I came up with
using current Mailman functionality is bascally moderating everyone
except who you want to be able to talk. In most cases a broken solution,
but hey - it works.

One could argue though that letting anything be automatically
unmoderated on a moderated list is a bad idea, as email spoofing is one
of the main vulnerabilities in Mailman, as well as.. erm.. SMTP? :)

In other words, I agree with Mark but it is *possible* if you are ready
for some pain.

Gadi.

> -- 

Hi Gadi,

Thanks for that, it seems like I'll have to either live with it as it or
experiment with having the one or two members self moderating.

Thanks again for your help.

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

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


Re: [Mailman-Users] Totally unmoderated user???

2006-03-16 Thread Daniel Hawker

There is no way to do this via list configuration. You can set a
moderator password if there isn't one already, and give the password to
these people. If you don't want them to receive regular 'moderation'
notices, you don't have to add them to the moderator list.

Once these people have the password, they can approve their own posts or
they can pre-approve them by putting an Approved: header or first body
line in the post they send to the list.

Of course, they can also approve/reject/discard any other pending
moderator requests via the admindb interface.

--

Hi Mark,

Ah well nevermind, was just wondering if it was possible. I'll take a
look and do some testing with letting (the at the time 2 or 3 members
I'd like to be able to do this) moderate themselves, but to be honest it
looks like I'll just leave it as is and see how it goes.

Thanks

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

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


Re: [Mailman-Users] from header

2006-03-16 Thread Mark Sapiro
Gabriel Gonzalez wrote:

>Hello,
>Anyone could tell me if it's possible preserve completely the e-mail send'er
>(from header) when I forward a mail?. Now, I only can see the name, but not
>e-mail. My mailman configuration do this:

Mailman is not changing the From: header. It is putting the
mylist-bounces address in other headers and your MUA (mail client -
Outlook?) is just not showing you the address in From:

Look at the message source if you can and you'll see.

See


-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

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

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


Re: [Mailman-Users] Totally unmoderated user???

2006-03-16 Thread Gadi Evron
On Thu, 16 Mar 2006, Mark Sapiro wrote:
> Daniel Hawker wrote:
> >
> >I would like to have a couple of my members to be able to be completely
> >unmoderated and hence be able to bypass this limit. I trust they won't
> >send anything truly silly, however they send out regular information
> >packs (around 2-300k) that obviously get caught by the system.
> 
> 
> There is no way to do this via list configuration. You can set a
> moderator password if there isn't one already, and give the password
> to these people. If you don't want them to receive regular
> 'moderation' notices, you don't have to add them to the moderator list.
> 
> Once these people have the password, they can approve their own posts
> or they can pre-approve them by putting an Approved: header or first
> body line in the post they send to the list.
> 
> Of course, they can also approve/reject/discard any other pending
> moderator requests via the admindb interface.

I've been looking for a way to do this for a while, what I came up with
using current Mailman functionality is bascally moderating everyone
except who you want to be able to talk. In most cases a broken solution,
but hey - it works.

One could argue though that letting anything be automatically unmoderated
on a moderated list is a bad idea, as email spoofing is one of the main
vulnerabilities in Mailman, as well as.. erm.. SMTP? :)

In other words, I agree with Mark but it is *possible* if you are ready
for some pain.

Gadi.

> -- 
> Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
> 
> --
> Mailman-Users mailing list
> Mailman-Users@python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> http://mail.python.org/mailman/options/mailman-users/ge%40linuxbox.org
> 
> Security Policy: 
> http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
> 

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

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


Re: [Mailman-Users] Totally unmoderated user???

2006-03-16 Thread Mark Sapiro
Daniel Hawker wrote:
>
>I would like to have a couple of my members to be able to be completely
>unmoderated and hence be able to bypass this limit. I trust they won't
>send anything truly silly, however they send out regular information
>packs (around 2-300k) that obviously get caught by the system.


There is no way to do this via list configuration. You can set a
moderator password if there isn't one already, and give the password
to these people. If you don't want them to receive regular
'moderation' notices, you don't have to add them to the moderator list.

Once these people have the password, they can approve their own posts
or they can pre-approve them by putting an Approved: header or first
body line in the post they send to the list.

Of course, they can also approve/reject/discard any other pending
moderator requests via the admindb interface.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

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

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


[Mailman-Users] Mailman Web UI Look and Feel Customization, including SSIs

2006-03-16 Thread Kucera, Rich
A worst-case web ui integration with mailman, involving dynamic SSIs,
implemented on v2.1.7.  

 

1)  HTML files in mailman/templates/en were placed in a directory on the www
server to 

be slugged with the ssi template.   Outermost HTML, Head and body tags
removed.

 

1.1)  the archtoc.html,  archtocentry.html,  archliststart.html,
archlistend.html,  

archidxentry.html files were *not* included in the files to be slugged,  as
they are 

already pieces of the archive templating system.

 

1.2)  A file called "empty.html" containing just a comment was placed over
there and 

in the local template/en directory as well,  to receive an empty shell.

 

2)  all of the files are slugged on the web server with the SSI
directives(prior to 

being pulled over HTTP to activate the SSIs).

 

autoslug-part1.bsh

--

 

#!/usr/bin/bash

# usage: pass in name of template directory for processing

 

if [ $1 ]

then

 

echo ""

echo "Using template directory: $1"

echo ""

 

for i in `ls content`

do

cp $1/top-half.html $i

cat content/$i >> $i

cat $1/bottom-half.html >> $i

echo "created $i"

done

 

else

 

echo "usage: pass in name of template directory for processing"

 

fi

 

2.1) The SSI source template has been split in two pieces,  and concated to
the 

exported mailman templates.

 

3) Pull the prepared mailman template slugged with look and feel over HTTP:

 

 

Autoslug-part2.bsh

---

 

 

#!/bin/bash

# usage: run in the mailman template directory

 

for i in `ls *.html`

do

python http-get-file.py http://server.do.main/mailman-template/ $i > $i

echo "http copied $i"

done

 

echo "restoring saved splits"

cp archidxfoot.html-savesplit archidxfoot.html

cp archidxhead.html-savesplit archidxhead.html

 

 

http-get-file.py



 

import urllib

import sys

opener = urllib.FancyURLopener({})

f = opener.open(sys.argv[1]+sys.argv[2])

the_template = f.read()

print(the_template)

 

 

 

3.1)   The result of these scripts are placed in the mailman/template/en
directory and 

these have had all their SSIs completed.

 

3.2)   archidxfoot.html and archidxhead.html need to have their tops and
bottoms cut 

off,  respectively.  These are saved in -savesplit files to avoid having to
redo this 

manually every time a tiny revision is made and autoslug-part2 is re-run.
This is the 

meaning of the "restoring saved splits" lines.

 

3.3)   Empty.html needs to be manually split into empty-top.html and 

empty-bottom.html.  Also an empty-top-no-sidebar.html was created from
empty-top.html 

for the mailman admin pages (they are too wide in places to accommodate a
sidedar).

 

3.4)  The rest of the templates remain as is.

 

 

Minor modifications to htmlformat.py and HTMLFormatter.py are all that
remain.  

Empty-top uses python Template class for the title tag-for example at the top
of 

empty-top.html $list_name Info Page,  the modified Format()
function 

will replace $list_name with the name of the list.  

 

4)  The changes are marked with ##RJKMod 

 

*htmlformat.py*

 

###At the top of file

 

#RJKmod:

from string import Template

 

 

 

###In class Document

 

class Document(Container):

 

title = None

language = None

bgcolor = mm_cfg.WEB_BG_COLOR

suppress_head = 0

 

#RJKmod: Use custom top-half and bottom-half files

use_custom_template = 1

 

...

 

###The modified Document.Format() function:

 

 

 

def Format(self, indent=0, **kws):

charset = 'us-ascii'

if self.language:

charset = Utils.GetCharSet(self.language)

output = ['Content-Type: text/html; charset=%s\n' % charset]

if not self.suppress_head:

if not self.use_custom_template:  #RJKmod

kws.setdefault('bgcolor', self.bgcolor)

 

 ...distribution code...

 

output.append('%s' % (tab, SPACE.join(quals)))

else: #RJKmod

try:

f_templ =
file('/usr/local/mailman/templates/en/empty-top.html')

if self.title.count( 'Administrati') or self.title.count(
'Edit'):

f_templ = 

file('/usr/local/mailman/templates/en/empty-top-no-sidebar.html')

templ_content = f_templ.read()

t = Template( templ_content )

output.append( t.safe_substitute( list_name = self.title
) )

finally:

f_templ.close() 

 

# Always do this...

output.append(Container.Format(self, indent))

if not self.suppress_head:

if not self.use_custom_template:  #RJKmod

output.append('%s' % tab)

output.append('%s' % tab)

else: #RJKmod

try:

f_templ = 

file('/usr/local/mailman/templates/en/empty-bottom.html')

  

Re: [Mailman-Users] Totally unmoderated user???

2006-03-16 Thread Daniel Hawker

On 3/16/06, Daniel Hawker <[EMAIL PROTECTED]> wrote:
> I have naturally set a limit to which all posts are limited by 
> post-size (in my case about 50k). This works fine and any messages 
> sent to the list that are above the limit, are held for moderation.
How, exactly, have you accomplished this?

--
- Patrick Bogen

Hi Patrick,

Ummm, I'm not sure. I only manage 3 very low traffic mailman lists and
as such am not that knowledgeable, but please find below (what I hink
are) the salient prefs.

I configured the system a while back, but now as its becoming more busy
(traffic-wise) it'd be useful if some members could almost
self-moderate, but transparently without their or my intervention. 

## Configs ##

Set a limit for the message size ppl are allowed to post
(General Options -> Maximum length in kilobytes of a message body) I've
just checked, in my instance it's set to 40.

I've then set the sending filter to not moderate new member postings,
and to hold moderated member posts.
(Privacy Options -> Sender Filters -> By default, should new list member
postings be moderated - No)
(Privacy Options -> Sender Filters -> Action to take when a moderated
member posts to the list - Hold)

All my members moderation bits are set to Off
(Membership Management -> Membership List -> Additional Member Tasks ->
Set everyones moderation bit... - Off)

Think thats it. To be honest, I can't believe anything apart from the
limit and moderation bit actually does anything that would affect a
standard post from a member. All non-member postings are sent for
moderation also, just in case a member sends something by accident from
a different email address than they are subscribed with.

HTH

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

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


Re: [Mailman-Users] Totally unmoderated user???

2006-03-16 Thread Patrick Bogen
On 3/16/06, Daniel Hawker <[EMAIL PROTECTED]> wrote:
> I have naturally set a limit to which all posts are limited by post-size
> (in my case about 50k). This works fine and any messages sent to the
> list that are above the limit, are held for moderation.
How, exactly, have you accomplished this?

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

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


[Mailman-Users] from header

2006-03-16 Thread Gabriel Gonzalez
Hello,
Anyone could tell me if it’s possible preserve completely the e-mail sender
(from header) when I forward a mail?. Now, I only can see the name, but not
e-mail. My mailman configuration do this:

De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  En nombre de Gabriel
Enviado el: jueves, 16 de marzo de 2006 10:37
Para: [EMAIL PROTECTED]
Asunto: [mylist] example

and I need a header like this one:

De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  En nombre de Gabriel
[malito:[EMAIL PROTECTED]
Enviado el: jueves, 16 de marzo de 2006 10:37
Para: [EMAIL PROTECTED]
Asunto: [mylist] example


Thanks!


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

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


[Mailman-Users] Totally unmoderated user???

2006-03-16 Thread Daniel Hawker

Hi All,

I manage a small (200 users or so) unmoderated Mailman list. So far so
good.

I have naturally set a limit to which all posts are limited by post-size
(in my case about 50k). This works fine and any messages sent to the
list that are above the limit, are held for moderation.

I would like to have a couple of my members to be able to be completely
unmoderated and hence be able to bypass this limit. I trust they won't
send anything truly silly, however they send out regular information
packs (around 2-300k) that obviously get caught by the system.

Is this possible in anyway, or do I have to make them in essence a
moderator for the list??? They can then release their own posts.

TIA

Dan

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

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