Re: [Mailman-Users] Running a script on subscribe/unsubscribe?

2006-03-13 Thread Glenn Sieb
Dragon said the following on 3/13/2006 1:49 AM:
 It's not so much a problem per se as it is just that I want 
 processing to be much more immediate so that when a member 
 subscription is approved or a member unsubscribes or is removed from 
 the list, the password update and other setup activities don't have 
 to wait around for the next cron interval. (Which is currently set to 
 run hourly).

I set mine up like this:

http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.007.htp

It's in a cron job that runs make every 10 minutes. Since make only does
anything to files that have changed, it becomes a fairly lightweight
process--you could probably run it every 5 minutes or so, even.

Best,
--Glenn

-- 
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
  ~Benjamin Franklin, Historical Review of Pennsylvania, 1759
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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


[Mailman-Users] Mailman List Migration to Another Server

2006-03-13 Thread RC
Hi Guys

 

 

We are in the process of moving a bunch of mail lists from one server to
another. As far as I could read, one needs to copy the following directories
:-

 

/usr/local/mailman/lists

/usr/local/mailman/archives

 

 

I have copied those directories over to my new server and all appears to be
working, except that I cannot see any of the lists through the web
interface.

 

I have also modified the config.pck file though a utility called config_list
available in the /usr/local/mailman/bin directory to reflect the new server
URL addresses, but that doesn't seem to have done the trick for me.

 

 

Has anyone else experienced the same, and any possible solutions or ideas?

 

 

Thanx

 

RC

 

 

 

 

 

 

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

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


Re: [Mailman-Users] Mailman List Migration to Another Server

2006-03-13 Thread Mark Sapiro
RC wrote:

I have copied those directories over to my new server and all appears to be
working, except that I cannot see any of the lists through the web
interface.


See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.029.htp,
especially the part about 'existing lists'.


I have also modified the config.pck file though a utility called config_list
available in the /usr/local/mailman/bin directory to reflect the new server
URL addresses, but that doesn't seem to have done the trick for me.


I don't know what you did with config_list (i.e., what attributes you
changed and what you changed them to - the critical one here is
web_page_url), but fix_url should do everything you need. In the
simplist case, it's just

/usr/local/mailman/bin/withlist -a -l -r fix_url

-- 
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=showamp;file=faq01.027.htp


[Mailman-Users] qrunners exiting

2006-03-13 Thread George Barnett
Hello,

In our setup, we see a number of our queue runners exiting during their 
daily operation:

Mar 13 14:20:03 2006 (5122) Master qrunner detected subprocess exit
(pid: 5126, sig: None, sts: 1, class: BounceRunner, slice: 2/2) [restarting]
Mar 13 14:20:04 2006 (5218) BounceRunner qrunner started.
Mar 13 14:25:28 2006 (5122) Master qrunner detected subprocess exit
(pid: 5132, sig: None, sts: 1, class: OutgoingRunner, slice: 2/2) 
[restarting]
Mar 13 14:25:28 2006 (5314) OutgoingRunner qrunner started.
Mar 13 16:20:49 2006 (5122) Master qrunner detected subprocess exit
(pid: 5123, sig: None, sts: 1, class: ArchRunner, slice: 1/2) [restarting]
Mar 13 16:20:50 2006 (6619) ArchRunner qrunner started.

There are no errors in the error log when this happens, however, every 
now and then we see:

Mar 13 11:26:42 2006 (23030) Qrunner ArchRunner reached maximum restart 
limit of 10, not restarting.

At this stage, mail starts backing up in the archive queue and isn't 
delivered until mailman is restarted.  After having a dig through the 
archive, I added MAX_RESTARTS = 1 to the config file in the hope 
that this would solve the problem, however it's continued to his this 
limit of 10.

Can anybody offer any help on why this may be happening or any debugs I 
can enable?

Thanks in advance,

George






-- 
George Barnett
Reality Engineer

m: (+44) 797 457 1868
e: [EMAIL PROTECTED]

Perfection is finally attained, not when there is no longer
anything to add, but when there is no longer anything to take away.
-- Antoine de Saint-Exupery
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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


Re: [Mailman-Users] Setting up an open-posting list

2006-03-13 Thread Patrick Bogen
On 3/13/06, H. Wade Minter [EMAIL PROTECTED] wrote:
 In Privacy Options - Sender Filters, I have generic_nonmember_action set
 to Accept.  I also have accept_these_nonmembers set to a regexp of ^.*,
 and all other _these_nonmembers options are blank.
It shouldn't be necessary to have both of those options set; one or
the other should suffice.

 approval.  Am I missing a setting to allow open posting?
You may want to make sure Emergency Moderate is turned off. I can't
think of anything else.


--
- 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=showamp;file=faq01.027.htp


Re: [Mailman-Users] qrunners exiting

2006-03-13 Thread Patrick Bogen
On 3/13/06, George Barnett [EMAIL PROTECTED] wrote:
 At this stage, mail starts backing up in the archive queue and isn't
 delivered until mailman is restarted.  After having a dig through the
 archive, I added MAX_RESTARTS = 1 to the config file in the hope
 that this would solve the problem, however it's continued to his this
 limit of 10.
Which config file did you add this to (it should go in your
mm_cfg.py)? Did you restart the master qrunner after the change?


--
- 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=showamp;file=faq01.027.htp


Re: [Mailman-Users] Setting up an open-posting list

2006-03-13 Thread Mark Sapiro
H. Wade Minter wrote:

I'm trying to configure a Mailman 2.1.6 installation to have an 
open-posting list.  That is, mail from nonmembers should be immediately 
accepted and forwarded to the list.

In Privacy Options - Sender Filters, I have generic_nonmember_action set 
to Accept.  I also have accept_these_nonmembers set to a regexp of ^.*, 


Either of the above should do it.


and all other _these_nonmembers options are blank.

However, nonmember mail keeps getting sent to the list moderator for 
approval.  Am I missing a setting to allow open posting?


What is the reason the mail is being held? (Every held message has a
reason visible on the admindb interface and in 'moderation' messages
sent to the admin and in Mailman's vette log.)

-- 
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=showamp;file=faq01.027.htp


[Mailman-Users] renaming lists

2006-03-13 Thread Dave Stern
We have a number of departments with similarly-sounding lists as well as
some that replicate others. To streamline and simplify, I intend to rename
some lists. The FAQ describe how to move and redirect lists but this isn't
quite what I want. In some cases, some lists will swap names (ie ListX
is renamed to ListY and ListY is renamed to listX so web redirect wont
work. OTOH, it's not an issue since the web interface is just used by
the few list admins who've already agreed to new names, web paths, perhaps
even resetting their admin passwords). Also none of the  lists have
archives.

With that in mind, I'm hoping I can just swap their config.pck files
(after turning off sendmail and qrunner).  Is this doable?

Thanks

  =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
  David SternUniversity of Maryland
Institute for Advanced Computer Studies
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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


Re: [Mailman-Users] renaming lists

2006-03-13 Thread Dragon
Dave Stern wrote:
We have a number of departments with similarly-sounding lists as well as
some that replicate others. To streamline and simplify, I intend to rename
some lists. The FAQ describe how to move and redirect lists but this isn't
quite what I want. In some cases, some lists will swap names (ie ListX
is renamed to ListY and ListY is renamed to listX so web redirect wont
work. OTOH, it's not an issue since the web interface is just used by
the few list admins who've already agreed to new names, web paths, perhaps
even resetting their admin passwords). Also none of the  lists have
archives.

With that in mind, I'm hoping I can just swap their config.pck files
(after turning off sendmail and qrunner).  Is this doable?
 End original message. -

I'm sure more knowledgeable folks will correct me if I am wrong, but 
after looking at what is in the config.pck file using dumpdb, it 
seems that you could swap the files and then just go in and edit the 
list specific stuff using the web interface.

The list specific stuff are the subject header, digest and message 
header and footer, list info, goodbye message and a few other things. 
So this looks like it could be pretty simple to make it happen.



Dragon

~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~

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

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


Re: [Mailman-Users] renaming lists

2006-03-13 Thread Dragon
Dave Stern sent the message below at 10:49 3/13/2006:
We have a number of departments with similarly-sounding lists as well as
some that replicate others. To streamline and simplify, I intend to rename
some lists. The FAQ describe how to move and redirect lists but this isn't
quite what I want. In some cases, some lists will swap names (ie ListX
is renamed to ListY and ListY is renamed to listX so web redirect wont
work. OTOH, it's not an issue since the web interface is just used by
the few list admins who've already agreed to new names, web paths, perhaps
even resetting their admin passwords). Also none of the  lists have
archives.

With that in mind, I'm hoping I can just swap their config.pck files
(after turning off sendmail and qrunner).  Is this doable?
 End original message. -

Oh yeah, one further thought while we are on this subject...

You may want to consider using entirely new list names because it is 
just about certain that your users are going to get confused and try 
to post to the wrong list.

Even using new list names, expect there to be a lot of user issues 
with the transition.

Dragon

~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~

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

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


Re: [Mailman-Users] renaming lists

2006-03-13 Thread Mark Sapiro
Dragon wrote:

Dave Stern wrote:
We have a number of departments with similarly-sounding lists as well as
some that replicate others. To streamline and simplify, I intend to rename
some lists. The FAQ describe how to move and redirect lists but this isn't
quite what I want. In some cases, some lists will swap names (ie ListX
is renamed to ListY and ListY is renamed to listX so web redirect wont
work. OTOH, it's not an issue since the web interface is just used by
the few list admins who've already agreed to new names, web paths, perhaps
even resetting their admin passwords). Also none of the  lists have
archives.

With that in mind, I'm hoping I can just swap their config.pck files
(after turning off sendmail and qrunner).  Is this doable?
 End original message. -

I'm sure more knowledgeable folks will correct me if I am wrong, but 
after looking at what is in the config.pck file using dumpdb, it 
seems that you could swap the files and then just go in and edit the 
list specific stuff using the web interface.


Essentially correct, but you want to swap directory names because you
want the requests and pending and digest.mbox and all to stay with the
list, and there's only one listname specific thing that needs to be
changed.

rename the directories - e.g.

mv lists/listy lists/temp_no_conflict_name
mv lists/listx lists/Listy
mv lists/temp_no_conflict_name lists/listx

Then go to the web admin for ListX and change it's real_name to ListY
and so on for all 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=showamp;file=faq01.027.htp


Re: [Mailman-Users] qrunners exiting

2006-03-13 Thread Mark Sapiro
George Barnett wrote:

Alas, there isn't anything in the error log.  Does it make a difference 
that I have multiple queue runners running?  Eg 2 Arch runner, 2 
outgoing runners, etc.

This should be fine as long as the number of runners for any queue is a
power of 2 (1, 2, 4, etc).

The qrunner log messages you quoted in the OP look OK from the multiple
slices standpoint.

-- 
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] Running a script on subscribe/unsubscribe?

2006-03-13 Thread Mark Sapiro
Dragon wrote:

I'm certainly willing to give this a try though, I can usually wrap 
my head around a new programming language pretty quickly. Especially 
if I can get some good guidance over the thorny bits.


As good as we're capable of :-)


OK, this looks like the right path for what I want to do. It would be 
nice if I can pass the affected e-mail address to my script so I can 
take action on only that e-mail address. The only thing I see as 
problematic is the case where a user changes the subscribed e-mail address.


It should be very straightforward to fork a script with command line
arguments for things like listname, email and password, and either
wait for the script to finish or let it go on its own.

The address change shouldn't be a problem because internally it is
actually an unsubscribe of the old address and a subscribe of the new
except that after subscribing the new, the options from the old are
applied to the new.

-- 
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=showamp;file=faq01.027.htp


[Mailman-Users] Renaming or Deleting a List

2006-03-13 Thread David Andrews
Hi:

Is it possible to rename a list -- a major rename that is, not just 
case change that is mentioned in web interface?

If not, how do you delete a list -- and save or transfer its members?

Thanks!

Dave



David Andrews and white cane Harry.


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

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


Re: [Mailman-Users] Renaming or Deleting a List

2006-03-13 Thread Patrick Bogen
On 3/13/06, David Andrews [EMAIL PROTECTED] wrote:
 Is it possible to rename a list -- a major rename that is, not just
 case change that is mentioned in web interface?
This was *just* discusses on the list. Please see:

http://www.mail-archive.com/mailman-users%40python.org/msg37663.html
http://www.mail-archive.com/mailman-users%40python.org/msg37662.html


--
- 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=showamp;file=faq01.027.htp


Re: [Mailman-Users] Renaming or Deleting a List

2006-03-13 Thread Mark Sapiro
David Andrews wrote:

Is it possible to rename a list -- a major rename that is, not just 
case change that is mentioned in web interface?


If you have command line access to the server and sufficient
permission, all you need do is rename the list specific directories
and maybe one file and one or two symlinks. You need to change the
listname in

lists/listname/

and if there are archives

archives/private/listname/
archives/private/listname.mbox/
archives/private/listname.mbox/listname.mbox

and if the archive is public, the following one or two symlinks

archives/public/listname
archives/public/listname.mbox

Then as mentioned in the posts Patrick pointed at, change the lists
real_name attribute via the web interface.

It also is better if you rebuild the archives from the
archives/private/listname.mbox/listname.mbox file with the bin/arch
command line tool if there are links to scrubbed attachments in the
archived messages.

If not, how do you delete a list -- and save or transfer its members?

bin/rmlist
bin/config_list
bin/list_members

or see
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.026.htp
and
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.062.htp

Also, if

OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes

in mm_cfg.py, there is a link on the admin pages to delete the list,
but this doesn't save or backup anything.

-- 
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=showamp;file=faq01.027.htp


[Mailman-Users] Thanks, and some archive questions now.

2006-03-13 Thread Gail
First, thanks very much for your prompt answers Mark!  the more I read and
hear about this system the more convinced I am this will be a great solution
for us.  You mentioned editing messages may be a bit cumbersome, but these
new questions of mine will give you an idea of my tolerance for pain and
cumbersomeness perhaps! G  its not my first choice of course, but after
some serious torture with software lately, nothing I can imagine would be
worse than what I've dealt with already!

Right now, our archives consist of about 2500 old digests stored on my
laptop, obviously not good!  we have earlier archives stored on a website,
but in a system we could no longer continue to update due to some tech
reasons that aren't really clear to me.  We've recently found a system to
use for these archives, but it requires that I manually post each one to
that system after running them through an editing system to disable
addresses etc so I've got a lot of work in front of me.  What occurs to me
is, that if we convert to Mailman, we'd then have three separate archive
systems, so, I'm wondering if there's a way to eliminate at least one of
those. 

Even if I had to manually post them to Mailman, I'd far rather do that
rather than save to this other system so at least they'd all be in one
place.  My question is, is it possible to somehow get old digests into the
system?  And if so, is there a way to write a script to do that in some
automated way?  

Also, would I get better, searchable archives out of somehow posting each of
the messages separately and letting the system create new digests?

And, if that's the case, could I do this update in a second list with only
one or two dummy members, then somehow merge these archives with the 'real'
list we'd be running concurrently while all these old messages were being
processed into the system as I'm describing?

I also wonder if some or all of this rather labor intensive work I'm talking
about could be handled by some sort of scripts?

I don't need to know HOW to do it now, it would go right over my head, but
I'm wondering if I should hold off updating this other system for now and
wait until we've converted, so really all I want to know is if these things
are somehow possible?

Thanks!
Gail


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

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


Re: [Mailman-Users] Thanks, and some archive questions now.

2006-03-13 Thread Mark Sapiro
Gail wrote:

My question is, is it possible to somehow get old digests into the
system?  And if so, is there a way to write a script to do that in some
automated way?  


It is trivially easy to import messages into a Mailman archive with the
bin/arch command line tool IF and ONLY IF the messages are in unix
mbox format - i.e., a flat file with each message preceded by a line
of the form

From [EMAIL PROTECTED] Mon Mar 13 17:01:06 2006

followed immediately by the message headers, a blank line, the message
body and a blank line.

If the messages aren't in mbox format to begin with, they need somehoy
to be put in that format. There is some info at
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.036.htp
that may be helpful.


Also, would I get better, searchable archives out of somehow posting each of
the messages separately and letting the system create new digests?


What do you have in your existing digests?

Mailman's pipermail archives are indexed by month (by default) and each
month has indices by date, subject, author and thread. The thread
index depends on messages having a Message-Id: header and replies
having a References: or a In-Reply-To: header. If you don't have this
information in the mbox file, the thread index will be the same as the
date index.

You still want individual messages rather than digests because
otherwise, the archive indices will be full of messages with subject
... digest issue # 

Also, Mailman archives are not searchable within Mailman. There are
patches for this, and if the archives are public, they can be searched
with google if google indexes them. Go to
http://www.python.org/cgi-bin/faqw-mm.py and search for archive.
Some of the returned articles are relevant.


And, if that's the case, could I do this update in a second list with only
one or two dummy members, then somehow merge these archives with the 'real'
list we'd be running concurrently while all these old messages were being
processed into the system as I'm describing?


If you need to create archives by posting messages one at a time, then
yes, you can do it on a list with no members, and the archiving
process will build the mbox file which can later be put together with
the one for the live list. See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.003.htp
which discusses removing posts from the archive, but the same
information applies to adding to an archive.

Basically, you just put the two mbox files together onto one and
rebuild the archive. There are some issues with message numbering
which are discussed in the FAQ, but they shouldn't be to significant
with a fairly new archive.


I also wonder if some or all of this rather labor intensive work I'm talking
about could be handled by some sort of scripts?


Again, depending on what information you have, you can script the
creation of a mbox file, and you can script a list posting process
too, but this shouldn't be necessary because posting a message to a
list is not going to add anything that couldn't be programmatically
added to create a mbox file.

-- 
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=showamp;file=faq01.027.htp


[Mailman-Users] mischief: Login failure with private rosters

2006-03-13 Thread Jim Popovitch
Hi all,

I keep seeing Login failure with private rosters errors in my mischief 
logs.  Some are accepted as being valid, but others seem to be unrelated 
to private archives and more likely to be failure to login to 
unsubscribe or change options.  I haven't directly asked any of the 
users, however I have some inside knowledge on what a few of the users 
are doing since I know their email addresses are changing.  That 
knowledge, coupled with the fact that their particular list only has 
public archives, makes me believe there may be an error in the log 
message in Mailman v2.1.7.  The mischief logs don't identify which list 
the login failure occurs with, so it is difficult to know for sure.  Has 
anyone else experienced similar?

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

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


Re: [Mailman-Users] mischief: Login failure with private rosters

2006-03-13 Thread Mark Sapiro
Jim Popovitch wrote:

I keep seeing Login failure with private rosters errors in my mischief 
logs.  Some are accepted as being valid, but others seem to be unrelated 
to private archives and more likely to be failure to login to 
unsubscribe or change options.  I haven't directly asked any of the 
users, however I have some inside knowledge on what a few of the users 
are doing since I know their email addresses are changing.  That 
knowledge, coupled with the fact that their particular list only has 
public archives, makes me believe there may be an error in the log 
message in Mailman v2.1.7.  The mischief logs don't identify which list 
the login failure occurs with, so it is difficult to know for sure.  Has 
anyone else experienced similar?


This is a normal message. It probably should specify the list but it
doesn't. It has nothing to do with public/private archives. It has to
do with whether the membership roster is available to anyone or not.
I.e., the Privacy options...-Subscription rules-private_roster
setting. If the roster is not available to anyone, we are concerned
about invalid login attempts to the options page.

If, for example, we just said 'invalid password' to the user who
attempts to login with a bad password, someone could use that response
to verify whether or not an address was subscribed to the list, thus
at least partially defeating the privacy of the membership list, so we
just tell the user the login is unsuccessful, but not why, and we log
the event in 'mischief' in case it is really part of an attempt to
probe the membership list.

In most cases, these log entries are really legitimate options page
login attempts by members who forgot or mistyped their password.

-- 
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=showamp;file=faq01.027.htp