Re: [Mailman-Users] Archiving problems

2015-01-28 Thread Bill Christensen

On 1/26/15 11:27 PM, Mark Sapiro wrote:

On 01/26/2015 09:12 PM, Bill Christensen wrote:

All the archives work when in private state.  But I had to manually
change the owner of all the publicly available list archives to _www in
private in order for them to be readable.  Otherwise they get a big
Forbidden message.  Should *all* the lists be _www? Everything in
archives/private, or just the archive folders and not the mbox folders?
The archives/private folder itself is already _www.

Thanks for your continued tolerance and assistance.


For public archives to work, the web server needs to be able to search
the archives/private directory that the archives/public/ symlinks point
into.

Normally this only requires that the archives/private/ directory itself,
not any subordinates, be either o+x or owned by the web server user. The
subordinate LISTNAME and LISTNAME.mbox directories are normally
rwxrwsr-x and Mailman's group so Mailman can read and write them and
subordinates will be created in Mailman's group and the web server can
read and search them.

It's only archives/private itself which is in Mailman's group and either
rwxrws--x or if rwxrws---, owned by the web server user. Otherwise,
ownership doesn't matter.

See http://www.list.org/mailman-install/node9.html.


Well, I had it all working on Monday night.

I got a report today that someone was getting Forbidden again.

The owner of the list in question (and only that one list, not any of 
the other publicly archived lists - which have not seen any posts in the 
last two days) had changed back from _www to root.  CHOWNing it back to 
_www again brings up the archive, but then it was only showing the last 
two days worth of archives (owner of those posts: _mailman, the rest 
were root).  Rebuilding the archives with --wipe and running Check perms 
-f (which is already cron jobbed to run every night) made the rest of 
them visible again.


What do i need to do so that I don't have to jump these hoops daily?

Thanks yet again.





--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Archiving problems

2015-01-28 Thread Mark Sapiro
On 01/28/2015 07:15 PM, Bill Christensen wrote:

 Well, I had it all working on Monday night.
 
 I got a report today that someone was getting Forbidden again.
 
 The owner of the list in question (and only that one list, not any of
 the other publicly archived lists - which have not seen any posts in the
 last two days) had changed back from _www to root.  CHOWNing it back to
 _www again brings up the archive, but then it was only showing the last
 two days worth of archives (owner of those posts: _mailman, the rest
 were root).  Rebuilding the archives with --wipe and running Check perms
 -f (which is already cron jobbed to run every night) made the rest of
 them visible again.
 
 What do i need to do so that I don't have to jump these hoops daily?


Have you tried running Mailman's bin/check_perms?

Here's what you should have in the way of ownership and permissions.
Group should be _mailman on everything. 'owner' doesn't matter except in
the one case where I indicate _www. SETGID bits are important.

drwxrwsr-x  owner _mailman  /path/to/mailman

drwxrwsr-x  owner _mailman  /path/to/mailman/archives

drwxrwsr-x  owner _mailman  /path/to/mailman/archives/

drwxrwsr-x  owner _mailman  /path/to/mailman/archives/public
 and only symlinks in this directory

Either
drwxrws--x  owner _mailman  /path/to/mailman/archives/private
or
drwxrws---  _www  _mailman  /path/to/mailman/archives/private

If you want to protect against access to private archives by local users
of the machine, you want the latter. Otherwise the former is fine.

drwxrwsr-x  owner _mailman  /path/to/mailman/archives/private/*

And similarly for subordinate /path/to/mailman/archives/private/*/*
directories.

-rw-rw-r--  owner _mailman  for most files subordinate to
/path/to/mailman/archives/private/*.


Again, SETGID bits are important.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Archiving problems

2015-01-26 Thread Mark Sapiro
On 01/26/2015 06:00 PM, Bill Christensen wrote:

 Ok, I removed the public archives.  I didn't rm -r, just copied them
 elsewhere in case this didn't work.
...

 The public archive folder didn't rebuild.
 
 Tail on the error log says:
 
  mlist.Save()
 
   File /opt/local/share/mailman/Mailman/MailList.py, line 574, in Save
 
 self.CheckHTMLArchiveDir()
 
   File /opt/local/share/mailman/Mailman/Archiver/Archiver.py, line
 241, in CheckHTMLArchiveDir
 
 makelink(privdir, pubdir)
 
   File /opt/local/share/mailman/Mailman/Archiver/Archiver.py, line 49,
 in makelink
 
 os.symlink(old, new)
 
 OSError: [Errno 2] No such file or directory
 
 
 Your thoughts?  FYI, this is on Mac 10.9.5, non-server version, if that
 makes any difference.


You weren't supposed to remove/move archives/private, just the
subordinate listname directories.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Archiving problems

2015-01-26 Thread Mark Sapiro
On 01/26/2015 09:12 PM, Bill Christensen wrote:
 
 All the archives work when in private state.  But I had to manually
 change the owner of all the publicly available list archives to _www in
 private in order for them to be readable.  Otherwise they get a big
 Forbidden message.  Should *all* the lists be _www? Everything in
 archives/private, or just the archive folders and not the mbox folders? 
 The archives/private folder itself is already _www.
 
 Thanks for your continued tolerance and assistance.


For public archives to work, the web server needs to be able to search
the archives/private directory that the archives/public/ symlinks point
into.

Normally this only requires that the archives/private/ directory itself,
not any subordinates, be either o+x or owned by the web server user. The
subordinate LISTNAME and LISTNAME.mbox directories are normally
rwxrwsr-x and Mailman's group so Mailman can read and write them and
subordinates will be created in Mailman's group and the web server can
read and search them.

It's only archives/private itself which is in Mailman's group and either
rwxrws--x or if rwxrws---, owned by the web server user. Otherwise,
ownership doesn't matter.

See http://www.list.org/mailman-install/node9.html.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Archiving problems

2015-01-26 Thread Mark Sapiro
On 01/26/2015 06:08 PM, Mark Sapiro wrote:
 
 You weren't supposed to remove/move archives/private, just the
 subordinate listname directories.


And once again, I misspoke (mistyped). I again meant the subordinate
listname directories under archives/public, not archives/private.

Mailman expects archives/public to exist, but the subordinates which are
supposed to be symlinks into archives/private are checked and
added/removed if necessary each time the list object is saved because
the list's archive_private setting might have changed necessitating the
addition or removal of symlinks.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Archiving problems

2015-01-26 Thread Bill Christensen

On 1/25/15 7:27 PM, Mark Sapiro wrote:

On 01/25/2015 05:21 PM, Stephen J. Turnbull wrote:

Mark Sapiro writes:

   The solution is simple:
  
   rm -r archives/private/*

You mean rm -r archives/public/*, don't you?  As given it erases all
the data, no?


Oh My yes! Absolutely! I hope nobody does the former. Thanks for
catching this Steve.

Ok, I removed the public archives.  I didn't rm -r, just copied them 
elsewhere in case this didn't work.


Our digest goes out at noon (and did).  I assume that qualifies as the 
next time it does anything to the list.   Four new messages went 
through the list since then as well.


The public archive folder didn't rebuild.

Tail on the error log says:

 mlist.Save()

  File /opt/local/share/mailman/Mailman/MailList.py, line 574, in Save

self.CheckHTMLArchiveDir()

  File /opt/local/share/mailman/Mailman/Archiver/Archiver.py, line 
241, in CheckHTMLArchiveDir


makelink(privdir, pubdir)

  File /opt/local/share/mailman/Mailman/Archiver/Archiver.py, line 
49, in makelink


os.symlink(old, new)

OSError: [Errno 2] No such file or directory


Your thoughts?  FYI, this is on Mac 10.9.5, non-server version, if that 
makes any difference.




--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Archiving problems

2015-01-26 Thread Bill Christensen

On 1/26/15 9:32 PM, Mark Sapiro wrote:

On 01/26/2015 06:08 PM, Mark Sapiro wrote:

You weren't supposed to remove/move archives/private, just the
subordinate listname directories.


And once again, I misspoke (mistyped). I again meant the subordinate
listname directories under archives/public, not archives/private.

Mailman expects archives/public to exist, but the subordinates which are
supposed to be symlinks into archives/private are checked and
added/removed if necessary each time the list object is saved because
the list's archive_private setting might have changed necessitating the
addition or removal of symlinks.


Ok.

I put the archives/public folder back.

Toggling the archives setting on the publicly archived lists from public 
to private and back again created the symlinks.  So far so good.


All the archives work when in private state.  But I had to manually 
change the owner of all the publicly available list archives to _www in 
private in order for them to be readable.  Otherwise they get a big 
Forbidden message.  Should *all* the lists be _www? Everything in 
archives/private, or just the archive folders and not the mbox folders?  
The archives/private folder itself is already _www.


Thanks for your continued tolerance and assistance.


--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Archiving problems

2015-01-25 Thread Bill Christensen

Hi folks,

I recently discovered that all my lists stopped archiving back in 
October.  I have no clear idea as to what caused that, but I suspect 
that it may have occurred as part of some hardware and software upgrades 
I did around that time.


I'm still stuck back at Mailman 2.1.13 because the port system I use 
hasn't updated in ages and I haven't had time to tackle it myself.


I was able to bring most of the archives up to date manually, but one 
fairly active one with public archives is still only showing through 
October 2014.   When I run that manually it shows that it's processing 
posts beyond the last one seen in the web-visible archives and updates 
the index for 1st quarter 2015, but still no visibility and the files in 
archive/public aren't updated.  The files in archive/private *are* 
updated...


How do I make the public archives reflect what's in private?

Thanks.
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] archiving an other list

2014-11-21 Thread jdd

Le 21/11/2014 00:08, Mark Sapiro a écrit :


Also, if the archive can be public, see http://www.mail-archive.com/.


I know it, but it don't works (never receive the confirmation mail), I 
don't know why :-(






is there anything I can do not to break anything :-)



I think the above covers it.


seen, thanks!!

jdd
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] archiving an other list

2014-11-21 Thread Mark Sapiro
On 11/21/2014 12:19 AM, jdd wrote:
 Le 21/11/2014 00:08, Mark Sapiro a écrit :


 is there anything I can do not to break anything :-)


 I think the above covers it.

 seen, thanks!!

A couple more things. Be sure to turn off password reminders either for
the list or for the other_list-bounces member, and you don't really need
to subscribe yourself. A list can have no members and will still accept
and archive posts.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] archiving an other list

2014-11-21 Thread jdd

Le 21/11/2014 16:59, Mark Sapiro a écrit :


to subscribe yourself. A list can have no members and will still accept
and archive posts.


oh, yes, I wanted to subscribe to have posts accepted :-)

jdd
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] archiving an other list

2014-11-20 Thread Mark Sapiro
On 11/20/2014 08:21 AM, jdd wrote:
 
 so I wonder if I could use my mailman instance, for example creating a
 dummy mailing list with only me as subscriber to send it every mail from
 my group and have it archived (of course with the group owner consent).


This will work, but you will also want to subscribe
other_list-bounces@otherserver (or possibly
other_list-bounces+yourlist=yourserver@otherserver if the other list
is VERPing) to your list and set it to no mail to avoid have posts held
for not being from a member and avoid accepting nonmember posts.

Also, if the archive can be public, see http://www.mail-archive.com/.


 is there anything I can do not to break anything :-)


I think the above covers it.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Archiving : 2 Questions

2014-11-06 Thread John Young
Hiya,

I’m brand new to this list and was hoping for some direction.

I’ve read through a heap of archives but can’t quite find the correct answers 
(or am searching for the wrong terms!)

1 - We want to enable private archiving on all of our mailman lists.  Some 
already have archiving , most don’t.  But we want this enabled on all so we 
have the ability to go through the postings.

2 - We want to purge all our existing archives older than a certain date.

Kind regards

John
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Archiving : 2 Questions

2014-11-06 Thread John Young
Sorry, I should have noted that the current archives are in month batches which 
is what we are after for all of our mail lists.

- archiving
- monthly
- private (admins only)

Thanks again 

John

On 7/11/2014, at 7:17 am, John Young j...@wetafx.co.nz wrote:

 Hiya,
 
 I’m brand new to this list and was hoping for some direction.
 
 I’ve read through a heap of archives but can’t quite find the correct answers 
 (or am searching for the wrong terms!)
 
 1 - We want to enable private archiving on all of our mailman lists.  Some 
 already have archiving , most don’t.  But we want this enabled on all so we 
 have the ability to go through the postings.
 
 2 - We want to purge all our existing archives older than a certain date.
 
 Kind regards
 
 John

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Archiving : 2 Questions

2014-11-06 Thread Mark Sapiro
On 11/06/2014 10:20 AM, John Young wrote:
 Sorry, I should have noted that the current archives are in month batches 
 which is what we are after for all of our mail lists.
 
 - archiving
 - monthly
 - private (admins only)


Private archives are available to any list member who authenticates with
her list password.

There is no setting that makes an archive available to the list admin only.


 On 7/11/2014, at 7:17 am, John Young j...@wetafx.co.nz wrote:
 
 1 - We want to enable private archiving on all of our mailman lists.  Some 
 already have archiving , most don’t.  But we want this enabled on all so we 
 have the ability to go through the postings.


Put the following 3 lines in a file

archive = 1
archive_private = 1
archive_volume_frequency = 1

Then run the following shell script

#! /bin/sh
for list in `/path/to/mailman/bin/list_lists --bare` ; do
/path/to/mailman/bin/config_list -i /path/to/above/file $list
done


 2 - We want to purge all our existing archives older than a certain date.


See the script at http://www.msapiro.net/scripts/prune_arch

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] archiving gets shunted

2011-03-31 Thread Lucio Chiappetti

I separate this other error in a separate thread.


The other question is that if I send a message to a list, the member
receive it, but the message is NOT archived.

   I see that a file appears in qfiles/shunt/



Have you run Mailman's bin/check_perms?


yes I did. As a result of the first run, as instructed in manual, I did

cd /var/lib/mailman/archives/
chown wwwrun private
chmod o-x private

and re-run it again.
(wwwrun is the suse user under which apache runs)

I see now that the default configuration of the list is archive=yes
archive_private=public.

I see there are directories archive/private/listname, 
archive/private/listname.mbox and public/listname. The latter is a 
softlink to private. Is this normal ?


All of them are setgid directories owned by wwwrun.mailman except for 
those of list mailman which are owned by root.mailman, but I guess such 
list is special, and will have no traffic to be archived.


As a result of posting the first message to the list, a file listname.mbox 
is created in archive/private/listname.mbox (why private ?) and it contain 
the messages. But the index.html is not updated. A message is shunted, 
and the attached errors are generated.



--

Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html
Mar 31 18:34:57 2011 (23431) uncaught archiver exception at filepos: 0
Mar 31 18:34:57 2011 (23431) Uncaught runner exception: Message instance has no 
attribute 'get_type'
Mar 31 18:34:57 2011 (23431) Traceback (most recent call last):
  File /usr/lib/mailman/Mailman/Queue/Runner.py, line 120, in _oneloop
self._onefile(msg, msgdata)
  File /usr/lib/mailman/Mailman/Queue/Runner.py, line 191, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File /usr/lib/mailman/Mailman/Queue/ArchRunner.py, line 73, in _dispose
mlist.ArchiveMail(msg)
  File /usr/lib/mailman/Mailman/Archiver/Archiver.py, line 216, in ArchiveMail
h.processUnixMailbox(f)
  File /usr/lib/mailman/Mailman/Archiver/pipermail.py, line 564, in 
processUnixMailbox
m = mbox.next()
  File /usr/lib64/python2.6/mailbox.py, line 1955, in next
return self.factory(_PartialFile(self.fp, start, stop))
  File /usr/lib/mailman/Mailman/Mailbox.py, line 89, in scrubber
return mailbox.scrub(msg)
  File /usr/lib/mailman/Mailman/Mailbox.py, line 109, in scrub
return self._scrubber(self._mlist, msg)
  File /usr/lib/mailman/Mailman/Handlers/Scrubber.py, line 192, in process
ctype = part.get_type(part.get_default_type())
AttributeError: Message instance has no attribute 'get_type'

Mar 31 18:34:57 2011 (23431) SHUNTING: 
1301589295.8064201+16d79fd82afe19253addf5855da0a63569b6d873
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] archiving gets shunted

2011-03-31 Thread Mark Sapiro
Lucio Chiappetti wrote:

 The other question is that if I send a message to a list, the member
 receive it, but the message is NOT archived.

I see that a file appears in qfiles/shunt/

 Have you run Mailman's bin/check_perms?

yes I did. As a result of the first run, as instructed in manual, I did

 cd /var/lib/mailman/archives/
 chown wwwrun private
 chmod o-x private

and re-run it again.
(wwwrun is the suse user under which apache runs)


While the above changes result in the most secure configuration, they
are only necessary (as opposed to o+x) if you have a multi-user system
and you are concerned about local users being able to access private
archives.


I see now that the default configuration of the list is archive=yes
archive_private=public.

I see there are directories archive/private/listname, 
archive/private/listname.mbox and public/listname. The latter is a 
softlink to private. Is this normal ?


Yes, this is exactly as it should be. archives/private/listname.mbox
contains a single file archives/private/listname.mbox/listname.mbox
which is a unix mbox containing all archived posts to the list and
which can be used as input to bin/arch to rebuild the pipermail
archive which is in archives/private/listname/.

The symlinks in archives/public/ exist only for lists with public
archives and are used by the web server to serve public archive pages
without authentication. These are maintained automatically by Mailman
as the list archives are changed from public to private or vice versa.

The actual archive is always in archives/private.


All of them are setgid directories owned by wwwrun.mailman except for 
those of list mailman which are owned by root.mailman, but I guess such 
list is special, and will have no traffic to be archived.


The owner doesn't matter. Only the group. The 'mailman' list is not
special in this case and can have archives. The ownership difference
is because the mailman list was created with bin/newlist (by root)
whereas the others were created by the web CGI.


As a result of posting the first message to the list, a file listname.mbox 
is created in archive/private/listname.mbox (why private ?) and it contain 
the messages. But the index.html is not updated. A message is shunted, 
and the attached errors are generated.


The HTML is not updated because the exception occurs after the
listname.mbox file is (created and) written, but before the HTML
archive is updated.

The underlying problem is the same Mailman 2.1.11/Python2.6.5
incompatibility I mentioned in the 'bug adding user, and archiving
gets shunted' thread.

-- 
Mark Sapiro m...@msapiro.netThe 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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Archiving

2009-04-23 Thread Stephens, Clyde
How do change the number of Archive files that are kept?  Currently only the 
last 5 months are being kept on our system.

Thanks

Clyde Stephens

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Archiving

2009-04-23 Thread Mark Sapiro
Stephens, Clyde wrote:

How do change the number of Archive files that are kept?  Currently only the 
last 5 months are being kept on our system.


Removal of older archives is not a Mailman feature. This is most likely
being done by some shell script which runs periodically (via cron?)
and removes the older files.

-- 
Mark Sapiro m...@msapiro.netThe 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Archiving is broken

2008-08-21 Thread Mark Sapiro
Mark Heer wrote:
 
 The bigger issue is the complete lack of archiving.   even public 
 lists which used to archive just fine are not doing anything.  You 
 may recall that you provided the syntax for the external 
 prvate/public archive entry I placed in the mmcfg.py file.  It worked
  perfeclty for over a month and simply stopped workin 8/12.  Can you 
 offer some debug advice or some way of unwedging the archive routine?
  I feel really stuck.  I have been archiving to our old hypermail 
 setup until I can unravel this problem. As I mentioned, the only 
 change on 8/12 was to change 1 list to yearly vs monthly after which 
 I recreated the archive from a flat file (mm mbos with hypermail flat
  file catted to the end). could this be a factor?


And in another message


 Sorry, I should clarify our installation -  we have 2 mail servers
 handling the mail exchanges and 1 server handling the admin functions
 all are running mailman.  When the mail servers send to the external
 archive they send to our admin mailman server which accepts the piped
 mail and runs the /bin/arch script populating the pipermail archive.
 The key on the admin machine receives the piped mail and does the
 right thing - all until lat week.  I ran the /bin/arch to re-create
 the archive as a yearly archive on the receiving side or - admin
 machine, not on the mail exchangers.

It's possible that your rebuilding of the archive caused permissions
issues if you didn't run bin/arch as the mailman user. Since this is all
you did, it seems worth investigating.

As far as debugging the 'external' archiving from the mail machines to
the admin machine is concerned, did you try running the command manually
as I suggested in a prior reply.

If the external archiver fails, there should be a external archiver
non-zero exit status: %d message in Mailman's error log on the mail
machine, but more likely, the ssh command succeeds and the failure is in
the script on the admin machine which at best you might see as output if
you run the ssh by hand.

If your script on the admin machine is like the one at
http://mail.python.org/pipermail/mailman-users/2008-March/061018.html,
you could try changing

  bin/arch $1 $f

or whatever similar command you have to something like

  bin/arch $1 $f /path/to/log/file 2/path/to/log/error

to see what the command is actually doing.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] Archiving is broken

2008-08-20 Thread Mark Heer
Hello,

I just noticed that archivin is no longer working on any list. last archive 
message was received last Aug 12 and I can's seem to find a reason for it.  I 
am using external archiver as can be seen in the mmcfg.py fiile and it worked 
just fine for about a month. (we just started using mailman)
 
I don't know all the info you might need but I'll include the mmcfg.py and 
whatever els I can think of.. Your help is greatly appreciated..   

I only get the following error for a few lists but in each case the ownership 
is mailman:mailman
I noted an error re: ownership problems - but mailman user and group do indeed 
own the dirs/files so that message is confusing : 
sr/local/mailman/archives/public/wan-data-transfers'
Aug 20 09:31:06 2008 (27219) Traceback (most recent call last):
  File /usr/local/mailman/Mailman/Queue/Runner.py, line 114, in _oneloop
self._onefile(msg, msgdata)
  File /usr/local/mailman/Mailman/Queue/Runner.py, line 185, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File /usr/local/mailman/Mailman/Queue/IncomingRunner.py, line 133, in 
_dispose
mlist.Save()
  File /usr/local/mailman/Mailman/MailList.py, line 568, in Save
self.CheckHTMLArchiveDir()
  File /usr/local/mailman/Mailman/Archiver/Archiver.py, line 236, in 
CheckHTMLArchiveDir
breaklink(pubdir)
  File /usr/local/mailman/Mailman/Archiver/Archiver.py, line 56, in breaklink
os.unlink(link)
OSError: [Errno 1] Not owner: 
'/usr/local/mailman/archives/public/wan-data-transfers'

Aug 20 09:31:06 2008 (27219) SHUNTING: 
1219249865.3392961+47525c120442e9f4bd836c09cd41c46b6feb351e



mmcfg.py:

###
# Here's where we get the distributed defaults.

from Defaults import *

##
# Put YOUR site-specific settings below this line.
MTA = 'Postfix'
POSTFIX_ALIAS_CMD = '/usr/local/postfix/sbin/postalias'
POSTFIX_MAP_CMD = '/usr/local/postfix/sbin/postmap'
ARCHIVE_TO_MBOX = 2
PUBLIC_EXTERNAL_ARCHIVER = 'ssh -e none -i $HOME/.ssh/archkey [EMAIL PROTECTED] 
%(listname)s'
PRIVATE_EXTERNAL_ARCHIVER = 'ssh  -e none -i $HOME/.ssh/archkey [EMAIL 
PROTECTED] %(listname)s'
SUBSCRIBE_POLICY = 3
VIRTUAL_HOSTS.clear()
add_virtualhost('mailman.nersc.gov','nersc.gov')
DEFAULT_EMAIL_HOST = 'nersc.gov'
DEFAULT_URL_HOST   = 'mailman.nersc.gov'

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Archiving is broken

2008-08-20 Thread Mark Sapiro
Mark Heer wrote:

I only get the following error for a few lists but in each case the ownership 
is mailman:mailman
I noted an error re: ownership problems - but mailman user and group do indeed 
own the dirs/files so that message is confusing : 
sr/local/mailman/archives/public/wan-data-transfers'
Aug 20 09:31:06 2008 (27219) Traceback (most recent call last):
  File /usr/local/mailman/Mailman/Queue/Runner.py, line 114, in _oneloop
self._onefile(msg, msgdata)
  File /usr/local/mailman/Mailman/Queue/Runner.py, line 185, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File /usr/local/mailman/Mailman/Queue/IncomingRunner.py, line 133, in 
 _dispose
mlist.Save()
  File /usr/local/mailman/Mailman/MailList.py, line 568, in Save
self.CheckHTMLArchiveDir()
  File /usr/local/mailman/Mailman/Archiver/Archiver.py, line 236, in 
 CheckHTMLArchiveDir
breaklink(pubdir)
  File /usr/local/mailman/Mailman/Archiver/Archiver.py, line 56, in breaklink
os.unlink(link)
OSError: [Errno 1] Not owner: 
'/usr/local/mailman/archives/public/wan-data-transfers'

Aug 20 09:31:06 2008 (27219) SHUNTING: 
1219249865.3392961+47525c120442e9f4bd836c09cd41c46b6feb351e


It appears that at some point, the archive of this list
(wan-data-transfers) was changed from public to private and now
mailman is trying to remove the symlink from
/usr/local/mailman/archives/public/wan-data-transfers to
/usr/local/mailman/archives/prvate/wan-data-transfers. It is being
denied by the OS when it tries to do this.

This may be a permissions issue not checked by check_perms or it may be
a SELinux or other security policy manager issue or it may be that
IncomingRunner was not started properly (i.e. by 'mailmanctl start'
run by root) and is not running as the correct user:group.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Archiving to 3rd machine

2008-03-27 Thread Mark Sapiro
Mark Heer wrote:

I'd like to have all archives sent to one system.  Currently we use hypermail 
for this but as we move to mailman it will be necessary to retain this sort of 
 architecture.   Can mailman be configured to have mailserver1 and mailserver2 
send archives
to adminmachine3 ?  (all 3 running mailman).  One posssibility as noted in the 
faq is using MHonArc - but could I use similar 
PUBLIC_EXTERNAL_ARCHIVER configs to point to adminmachine3 using mailman's 
pipermail?  


Just off the top of my head, you could try something on machines 1 and
2 like

PUBLIC_EXTERNAL_ARCHIVER = 'ssh -e none [EMAIL PROTECTED] script
%(listname)s'

(all on one line), and similarly for PRIVATE_EXTERNAL_ARCHIVER, where
script would be on machine3 and would be something like

#!/bin/sh
f=`mktemp`
cat  $f
bin/arch $1 $f
rm $f

Of course, it wouldn't have to be ssh and could be it's own script, but
just something to push the message to a script on machine 3 which
would copy the message to a file and feed it to bin/arch for the
correct list.

-- 
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] Archiving only certain topics and/or the default topic

2006-12-20 Thread Kelly Jones
I admin a mailing list that receives two types of messages:

1. Important human-typed messages that should be archived

2. Transient machine-generated messages that people may want to read,
but which lose value rapidly, and, therefore, shouldn't be archived.

I've set up topics so that all the transient messages have their own
topic (they're machine-generated so the subjects always match known
regexps).

Can I set up mailman/pipermail to not archive the transient messages,
and only archive the important ones?

In other words, archive messages that match no topic, but don't
archive the messages that do match a topic?

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
--
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] Archiving only certain topics and/or the defaulttopic

2006-12-20 Thread Mark Sapiro
Kelly Jones wrote:

I admin a mailing list that receives two types of messages:

1. Important human-typed messages that should be archived

2. Transient machine-generated messages that people may want to read,
but which lose value rapidly, and, therefore, shouldn't be archived.

I've set up topics so that all the transient messages have their own
topic (they're machine-generated so the subjects always match known
regexps).


Don't do this with topics. The topics may be OK for other reasons, but
for archiving there is a better way (using topics to control archiving
will require code modification or a custom handler).

Have your machine generated messages include an X-No-Archive: header
and they won't be archived. Headers that will work to not archive
messages are

X-No-Archive: Yes
X-No-Archive: any value
X-Archive: No

They are not case sensitive.

-- 
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] archiving turned off, attachments still saved

2006-12-16 Thread Mark Sapiro
Richard Kirkcaldy wrote:

Am I missing something here?  I've got archiving set to private and
turned off for one particular list, and it's quite rightly not
archiving.  However, it is saving attachments in the form
private/listname/attachments/mmdd/hash.

Is there a reason these attachments are being saved?  And is there a
way I can stop them being saved?  And can I simply delete them,
possibly with a cron job?


Yes, there is a reason. Attachments are removed and stored in the
archives/private/listname/attachments/ directory by 'Scrubber'.
Scrubber is invoked in 3 ways to do this.

1) if Non-digest options-scrub_nondigest is Yes, all messages will be
scrubbed in incoming message processing.

2) messages are scrubbed in digest processing for the 'plain' format
digest.

3) messages are scrubbed for the pipermail archiving.

If you don't want any attachments scrubbed and saved, you have to be
sure scrub_nondigest is No, archiving is off, and the list is not
digestable (digestable = No on Digest options).

You can delete them, but then they won't be available to digest
subscribers whose digests have links to them.

-- 
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] archiving turned off, attachments still saved

2006-12-15 Thread Richard Kirkcaldy
Hi,
Am I missing something here?  I've got archiving set to private and
turned off for one particular list, and it's quite rightly not
archiving.  However, it is saving attachments in the form
private/listname/attachments/mmdd/hash.

Is there a reason these attachments are being saved?  And is there a
way I can stop them being saved?  And can I simply delete them,
possibly with a cron job?

-- 
Richard Kirkcaldy
--
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] archiving partial duplicates

2006-04-09 Thread Mark Sapiro
Con Wieland wrote:

When I checked the archives for the  
current month a number of partial messages showed up with no from  
line and no date.
snip
Any idea's on what to look for would be appreciated.


Look for messages containing unescaped From  lines in the body.

The bin/cleanarch script can help with fixing a .mbox file that
contains these.

-- 
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] archiving partial duplicates

2006-04-07 Thread Patrick Bogen
On 4/6/06, Dragon [EMAIL PROTECTED] wrote:
 So if you decided 500 was a good number to index, for the first chunk
 you would do:

  bin/arch --wipe --start=1 --end=500 listname

 For subsequent chunks you would do (adjusting the start and end
 indexes of course...):

  bin/arch --start=501 --end=1000 listname


Bash can do this for you:

#!/bin/bash
bin/arch --wipe
for i in `seq 0 10`
do
bin/arch --start=$(( 1+$i*500 )) --end=$(( 500+$i*500 )) listname
done

...Assuming that bin/arch --wipe alone does what I think it does.
Also, if you have more than 5500 messages in the mbox file, you'll
need to adjust the second argument in the 'seq' upwards. And, of
course, replace 'listname' with the list name.

--
- 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] archiving partial duplicates

2006-04-07 Thread Dragon
Patrick Bogen sent the message below at 08:18 4/7/2006:
On 4/6/06, Dragon [EMAIL PROTECTED] wrote:
  So if you decided 500 was a good number to index, for the first chunk
  you would do:
 
   bin/arch --wipe --start=1 --end=500 listname
 
  For subsequent chunks you would do (adjusting the start and end
  indexes of course...):
 
   bin/arch --start=501 --end=1000 listname
 

Bash can do this for you:

#!/bin/bash
bin/arch --wipe
for i in `seq 0 10`
do
 bin/arch --start=$(( 1+$i*500 )) --end=$(( 500+$i*500 )) listname
done

...Assuming that bin/arch --wipe alone does what I think it does.
Also, if you have more than 5500 messages in the mbox file, you'll
need to adjust the second argument in the 'seq' upwards. And, of
course, replace 'listname' with the list name.
 End original message. -

Or Perl or Python or whatever your favorite scripting language might be...

But that's just icing on the cake and not really a necessity.

The --wipe argument deletes all the old files and builds new ones. 
Which is great but ii did have one unfortunate consequence for me. I 
am using htdig to allow search of my archives and when I rebuilt the 
archives after editing the templates and installing htdig, all of the 
file dates on the messages were set to the date I rebuilt the 
archive. This destroyed the date context for the archive and the file 
dates displayed by the htdig search were not reflecting when the 
message was originally posted.

So, I wrote a small Perl script to fix the file dates to match the 
message date in each of the message files. If anyone is interested in 
that script, I would be happy to share it with you. Just e-mail me 
directly and I will send it to you.

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


[Mailman-Users] archiving partial duplicates

2006-04-06 Thread Con Wieland
Hello,

I'm having trouble with one of my archives. This archive is about 5  
years old and is fairly large. The problem is I recently had to  
remove a message and reindex. When I checked the archives for the  
current month a number of partial messages showed up with no from  
line and no date. These actually turned out to be chunks from some  
very old messages. I am confused though because the original message  
shows up fine and the current month's archive shows an incomplete  
portion of the old message. I'm assuming it's a corrupt message but I  
don't understand why it's showing up in both places. I have a couple  
dozen of these. I don't know if this existed before my last arch  
rebuild.  I have gone through several of these and am not able to see  
anything unusual. I have also checked the messages preceding and  
after the messages in question to no avail.

Any idea's on what to look for would be appreciated.

Con Wieland
Network and Academic Computing Services

--
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] archiving partial duplicates

2006-04-06 Thread Dragon
Con Wieland sent the message below at 11:50 4/6/2006:
Hello,

I'm having trouble with one of my archives. This archive is about 5
years old and is fairly large. The problem is I recently had to
remove a message and reindex. When I checked the archives for the
current month a number of partial messages showed up with no from
line and no date. These actually turned out to be chunks from some
very old messages. I am confused though because the original message
shows up fine and the current month's archive shows an incomplete
portion of the old message. I'm assuming it's a corrupt message but I
don't understand why it's showing up in both places. I have a couple
dozen of these. I don't know if this existed before my last arch
rebuild.  I have gone through several of these and am not able to see
anything unusual. I have also checked the messages preceding and
after the messages in question to no avail.

Any idea's on what to look for would be appreciated.
 End original message. -

I am just kinda guessing here but there is a caveat somewhere in the 
documentation about pipermail or the arch script that it has trouble 
digesting large MBOX files at a single gulp. It may be that this is 
the cause of the problem, it may not.

It is also stated somewhere in the documentation for either pipermail 
or the arch script that you can specify a start and end index for a 
chunk of messages in the MBOX file. What you could then do is rebuild 
the archive in chunks, say 500 posts at a time to see what happens.

So if you decided 500 was a good number to index, for the first chunk 
you would do:

 bin/arch --wipe --start=1 --end=500 listname

For subsequent chunks you would do (adjusting the start and end 
indexes of course...):

 bin/arch --start=501 --end=1000 listname

Hope that helps.

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


[Mailman-Users] Archiving Question

2006-02-16 Thread Jeff Edwards
I¹ve been trying for several weeks now to understand the workings of Mailman
2.1.6¹s archiving system, in order to produce an HTML archive to the
specification of my organization. Specifically, since many members of our
organization send plain text email with attached HTML signatures, or fully
HTML email, the managers find the ŒAn HTML attachment was scrubbed...² links
very undesirably. I¹ve altered the settings in mm_cfg.py to attempt to make
Mailman stop removing the HTML attachments and instead convert them to
plaintext, but nothing I do seems able to make it display the contents of
the attachment on the same page as the body of the message. I would like for
the content of the HTML to appear on the HTML page for that message, rather
than requiring an extra clickthrough to see half the message. Is it possible
to make Mailman do this?

Jeff Edwards
Web Developer
Campus Crusade for Christ

--
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] Archiving Question

2006-02-16 Thread Mark Sapiro
Jeff Edwards wrote:
I would like for
the content of the HTML to appear on the HTML page for that message, rather
than requiring an extra clickthrough to see half the message. Is it possible
to make Mailman do this?


You need to use an external archiver. See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.004.htp.

The issue is that Pipermail does not handle multipart messages so they
have to be scrubbed to a single text/plain part before being archived.
Content filtering with HTML to plain text conversion can help, but
often because of character set issues, the converted part is scrubbed
anyway.

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

2005-10-21 Thread Mark Sapiro
David wrote:

Im on a hosted server.  I am trying to decide if I want to archive my 
lists or not.  I don't seem to see any place that allows trimming the 
archives if they start taking up too much space or just get too many in 
general if I want to do it on weekly basis.  Is that option available 
some place? 

There is no option within Mailman to prune old messages from the
archives.

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

2005-10-21 Thread Christopher X. Candreva
On Fri, 21 Oct 2005, Mark Sapiro wrote:

 lists or not.  I don't seem to see any place that allows trimming the 
 archives if they start taking up too much space or just get too many in 
 general if I want to do it on weekly basis.  Is that option available 
 some place? 
 
 There is no option within Mailman to prune old messages from the
 archives.

If the archive file is just an mbox file, you should be able to use any mail 
program that uses mbox format to remove messages -- mail, elm, pine, etc.

Then regenerate the web archive.

-Chris

==
Chris Candreva  -- [EMAIL PROTECTED] -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.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=showamp;file=faq01.027.htp


Re: [Mailman-Users] Archiving

2005-10-21 Thread David
Ok Thanks I was just finding this out in the FAQ (Who ever checks these 
thingsSorry) and the List Home Page.  How ever I see it is on the 
wish list for 2.2 or 3.0 or some future release so I think I am just 
gonna go ahead archive as the list is new on a new site and by the time 
the archives get unruly that option should be available and I should be 
fine.  Thanks again!!

 Thanks David

Mark Sapiro wrote:
 David wrote:

   
 Im on a hosted server.  I am trying to decide if I want to archive my 
 lists or not.  I don't seem to see any place that allows trimming the 
 archives if they start taking up too much space or just get too many in 
 general if I want to do it on weekly basis.  Is that option available 
 some place? 
 

 There is no option within Mailman to prune old messages from the
 archives.

   

-- 
No Smoking Forum - Http://www.nicodemon.info/community
Lansing Forum - Http://www.greater-lansing.com/community

He's Not My President!!!
Blue States Rock~



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

2005-10-20 Thread David
Im on a hosted server.  I am trying to decide if I want to archive my 
lists or not.  I don't seem to see any place that allows trimming the 
archives if they start taking up too much space or just get too many in 
general if I want to do it on weekly basis.  Is that option available 
some place? 

Thanks David

--
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] archiving attachments via 3rd party software with no mailbox access

2005-02-17 Thread Robert Flach
Unfortunately, all of the solutions in the FAQ (which I checked before 
posting) require either access to mailboxes or access to the Mailman 
internals, neither of which I have in my current setup.

Mark Sapiro wrote:
Robert Flach wrote:
 

 
 Need:  I need to archive messages in a way that retains attachments 
(preferably as separate files with link inserted into message)
   

Have you seen
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.004.htp ?
There might be something there you can use.
snip
--
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] archiving attachments via 3rd party software with no mailbox access

2005-02-17 Thread Chuq Von Rospach
check out MHonarc. (www.mhonarc.org). It should do what you want.
On Feb 8, 2005, at 11:11 AM, Robert Flach wrote:
Unfortunately, all of the solutions in the FAQ (which I checked before 
posting) require either access to mailboxes or access to the Mailman 
internals, neither of which I have in my current setup.
--
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] archiving attachments via 3rd party software with no mailbox access

2005-02-17 Thread Brad Knowles
At 11:11 AM -0800 2005-02-08, Robert Flach wrote:
 Unfortunately, all of the solutions in the FAQ (which I checked
 before posting) require either access to mailboxes or access to the
 Mailman internals, neither of which I have in my current setup.
	So far as I know, there are no other alternatives.  You could ask 
your hosting provider to install something for you, or you could move 
to a different hosting provider.

--
Brad Knowles, [EMAIL PROTECTED]
Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
  SAGE member since 1995.  See http://www.sage.org/ for more info.
--
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] archiving attachments via 3rd party software with no mailbox access

2005-02-17 Thread Brad Knowles
At 1:44 PM -0800 2005-02-17, Chuq Von Rospach wrote:
 check out MHonarc. (www.mhonarc.org). It should do what you want.
	But doesn't that require administrative privileges to install? 
Doesn't that require shell access to the server?  My understanding is 
that these are two things that the OP doesn't have, which means that 
I don't think there are any solutions that anyone can offer to him.

--
Brad Knowles, [EMAIL PROTECTED]
Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
  SAGE member since 1995.  See http://www.sage.org/ for more info.
--
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] archiving attachments via 3rd party software with no mailbox access

2005-02-08 Thread Robert Flach
My Situation:
  Running: Mailman 2.1.5
  Server Access:
  I DON'T HAVE ACCESS TO:
  root
  mailman group
  mailman user
  list mailboxes
  list archive directories
  I DO HAVE ACCESS TO:
  shell via ssh primarily (but not solely) for web publication
  ability to install some software locally
  cron
  
  Need:  I need to archive messages in a way that retains attachments 
(preferably as separate files with link inserted into message)

  Software: I have MHonArc installed locally.  I cannot install 
hypermail do to problems with the cpp on the machine

 Direction: I was hoping to find some type of utility that might check 
a pop mailbox, download the mail and put it into a MHonArc accessible 
local mailbox folder.

 Success: NONE.
Anyone who can offer a suggestion of any sort (other than give up) 
will be much appreciated.
Sincerely,
Robert Flach

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


Re: [Mailman-Users] archiving attachments via 3rd party software withno mailbox access

2005-02-08 Thread Mark Sapiro
Robert Flach wrote:
   
   Need:  I need to archive messages in a way that retains attachments 
(preferably as separate files with link inserted into message)

Have you seen
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.004.htp ?
 There might be something there you can use.

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


[Mailman-Users] archiving on mailman

2004-06-03 Thread Ako Ito
hello gurus,
is it possible on mailman 2.1.4 to not scrubbed the mailman attachments on the 
archives? just leave it as is? if not what other solutions do i need to undertake for 
me accomplish this?

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


Re: [Mailman-Users] archiving on mailman

2004-06-03 Thread Tokio Kikuchi

Ako Ito wrote:
hello gurus,
is it possible on mailman 2.1.4 to not scrubbed the mailman attachments on the 
archives? just leave it as is? if not what other solutions do i need to undertake for 
me accomplish this?
So, how do you retrieve the attachments from the archive ?
Without scrubbing, you will get MIME Base64 strings on the archived
message page.
--
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/


Re: [Mailman-Users] archiving on mailman

2004-06-03 Thread Tokio Kikuchi
Ako Ito wrote:
hello sir,
whenever I access it through the archives it gets relinked to certain
location where the extension is either .obj or .bin ..problem is whenever a
user is accessing it.. he is asked on what application to open it with.. can
this prevented... that is still retains its attachments original extension
files. ex. .xls .doc? thanks for the prompt response...
Mailman archiver is designed to attain safety against malicious files
like viruses. Typical virus mail has an attachment like this:
--=_NextPart_000_001B_01C0CA80.6B015D10
Content-Type: audio/x-wav;
name=message.scr
Content-Transfer-Encoding: base64
Content-ID: [EMAIL PROTECTED]
TVqQAAME//8AALgAQAAA
Windows will execute this code if the extension is kept as .scr
which is not an audio/x-wav file extension.
Some mailers are not compliant with the IANA registered mime extension
and put application/octet-stream content-type for excel or msword.
In this case, mailman is very cautious not to trust the original
extention and change it to .bin. If these files are sent by a compliant
mailer like netscape, the content-type will be application/msword or
application/vnd.ms-excel and the extension will become .doc or .xls.
So, if you really don't care the safety, you must hack the code at your
own risk.
Oh, there is an option to use an external archiver...
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.003.htp
--
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/


[Mailman-Users] Archiving

2003-10-17 Thread Geert De Pecker
Hi,

I'm new to this list (and mailman). Just installed the mailman 2.1.3
with the htdig extensions. Seems to work ok, but I can't find how I can
set the archiving frequency. Should I put bin/arch in the crontab, or is
there a setting somewhere that I forgot? I had the impression that with
the former version I had on the machine, messages showed up in the
archive immediately.

Any hints?

Thanks,

Geert


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

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


Re: [Mailman-Users] Archiving

2003-10-17 Thread Jon Carnes
On Fri, 2003-10-17 at 05:36, Geert De Pecker wrote:
 Hi,
 
 I'm new to this list (and mailman). Just installed the mailman 2.1.3
 with the htdig extensions. Seems to work ok, but I can't find how I can
 set the archiving frequency. Should I put bin/arch in the crontab, or is
 there a setting somewhere that I forgot? I had the impression that with
 the former version I had on the machine, messages showed up in the
 archive immediately.
 
 Any hints?
 
 Thanks,
 
 Geert

In this version of Mailman, Archiving is a function of one of the
qrunner's controlled by Mailmanctl. It will move the messages into the
archives for you (assuming you have Archiving turned on for the list).

Arch should only be used if you want to manually re-archive a list.  I
use it mainly after hand editing the Archive Mbox file for a list.

You'll find a lot of discussion about archiving in the list Archives as
well as in the FAQ.

Good Luck.  I'm sure patience will bring all things to light.

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: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Archiving problem

2003-10-06 Thread Kari Ahveninen
Hi!

When I try to archive (or mailman make archives from list) I will get a 
next error message:

Traceback (most recent call last):
  File bin/arch, line 187, in ?
main()
  File bin/arch, line 177, in main
archiver.close()
  File /usr/local/mailman/Mailman/Archiver/pipermail.py, line 306, in 
close
self.write_TOC()
  File /usr/local/mailman/Mailman/Archiver/HyperArch.py, line 1044, 
in write_TOC
toc.write(self.html_TOC())
  File /usr/local/mailman/Mailman/Archiver/HyperArch.py, line 734, in 
html_TOC
accum.append(self.html_TOC_entry(a))
  File /usr/local/mailman/Mailman/Archiver/HyperArch.py, line 759, in 
html_TOC_entry
templ = 'tdA href=%(url)s[ ' + _('Text%(sz)s') + ']/a/td'
  File /usr/local/mailman/Mailman/i18n.py, line 89, in _
return tns % dict
ValueError: unsupported format character 'ä' (0xffe4) at index 11

I have gotten it clear that far that I suppose this error be originated 
somehow of local language setting (?) caused by python, but I have no 
idea how to fix it, nor get this to work.

Mailman version is 2.1.3, running on RH 9.0.

I hope that somebody have any clue what should or could be done?

Wishes,

Kari

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] archiving

2003-07-31 Thread webulous
I had an archive up and running and doing fine. I did not change anything to
the setting but messages are being send but not archived. Anyone have a hint
as to what the problem might be?

Also does anyone know if it possible to have the number of messages in a
thread mentioned in the archive.

thanks,

Jeroen


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

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


Re: [Mailman-Users] archiving

2003-07-31 Thread Jon Carnes
Check your cron to make sure it is still running.

Other than that, you will need to include more information:
  Version of Mailman that you are running, How it was installed (via
rpm, apt-get, source, provided by host), the MTA that you are using, and
the Operating System that your host is running.

Good luck - Jon Carnes
 
On Thu, 2003-08-07 at 06:06, webulous wrote:
 I had an archive up and running and doing fine. I did not change anything to
 the setting but messages are being send but not archived. Anyone have a hint
 as to what the problem might be?
 
 Also does anyone know if it possible to have the number of messages in a
 thread mentioned in the archive.
 
 thanks,
 
 Jeroen
 
 
 --
 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/archive%40jab.org


RE: [Mailman-Users] archiving

2003-07-31 Thread Sylvain Langlade

 I had an archive up and running and doing fine. I did not
 change anything to
 the setting but messages are being send but not archived.
 Anyone have a hint
 as to what the problem might be?

IIRC, I once got this problem with HTML messages produced with standard
email client. If your list is configured to accept such messages without
stripping the HTML part, the message is not archived (you have to do it
manually with $prefix/bin/arch).

I had to configure all lists to strip out the HTML part of all incoming
message. Which leads to a problem for HTML-only messages produced by web
client like Hotmail...

So try to send a raw text message to your list and see if it appears in the
archives.

HTH


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

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


Re: [Mailman-Users] Archiving doesn't work under Mac OS X 10.1

2003-02-23 Thread Peter Bengtson
Editing the sources in the indicated manner (plus adjusting the level 
of indentation of the remaining part of the function) indeed works. 
Editing i18n.py in the install directory doesn't suffice, however - it 
is necessary to edit the file in the distribution directory and then do 
a 'make install'. Anyway, thanks for the pointer!

However, should Mailman really require that strptime is defined? As it 
is now, archiving doesn't work _at_all_ in Mailman 2.x under Mac OS X 
10.1.

	/ Peter

On lördag, feb 22, 2003, at 22:36 Europe/Stockholm, Jon Carnes wrote:

The function is used only once in Mailman, inside i18n.py

  year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)

You could easily replace this line of code with a small block that does
the same thing but without referencing the strptime function.
In fact, looking at the code, it looks like there is already an 
existing
block that would do this for you... Try deleting the 4 lines of code
that I marked with an *

if isinstance(date, StringType):
try:
*year, mon, day, hh, mm, ss, wday, ydat, dst =
time.strptime(date)
*tzname = time.tzname[dst and 1 or 0]
*except ValueError:
*try:
wday, mon, day, hms, year = date.split()
hh, mm, ss = hms.split(':')
year = int(year)
day = int(day)
hh = int(hh)
mm = int(mm)
ss = int(ss)
except ValueError:
return date
===
If that works then you won't need the time.strptime function at all.
Good Luck - Jon

BTW: good detective work tracing down the lack of strptime function in
Max OSX v10.1!
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Archiving doesn't work under Mac OS X 10.1

2003-02-22 Thread Peter Bengtson
Some time ago, I reported that archiving doesn't work in Mailman 2.1.1 
under Mac OS X 10.1. Every attempt to archive a message would result in 
the following entry in 'logs/error':

Feb 22 00:15:42 2003 (1950) SHUNTING: 
1045869340.680055+e0e16d1c92bfc3454ac70ca2586b40b6f9ba5a4e
Feb 22 15:20:28 2003 (1950) Uncaught runner exception: 'module' object 
has no attribute 'strptime'
Feb 22 15:20:28 2003 (1950) Traceback (most recent call last):
  File /Users/mailman/Mailman/Queue/Runner.py, line 105, in _oneloop
self._onefile(msg, msgdata)
  File /Users/mailman/Mailman/Queue/Runner.py, line 155, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File /Users/mailman/Mailman/Queue/ArchRunner.py, line 73, in 
_dispose
mlist.ArchiveMail(msg)
  File /Users/mailman/Mailman/Archiver/Archiver.py, line 207, in 
ArchiveMail
h.close()
  File /Users/mailman/Mailman/Archiver/pipermail.py, line 304, in 
close
self.update_dirty_archives()
  File /Users/mailman/Mailman/Archiver/pipermail.py, line 518, in 
update_dirty_archives
self.update_archive(i)
  File /Users/mailman/Mailman/Archiver/HyperArch.py, line 1038, in 
update_archive
self.__super_update_archive(archive)
  File /Users/mailman/Mailman/Archiver/pipermail.py, line 424, in 
update_archive
self._update_simple_index(hdr, archive, arcdir)
  File /Users/mailman/Mailman/Archiver/pipermail.py, line 434, in 
_update_simple_index
self.write_index_header()
  File /Users/mailman/Mailman/Archiver/HyperArch.py, line 955, in 
write_index_header
print self.html_head()
  File /Users/mailman/Mailman/Archiver/HyperArch.py, line 640, in 
html_head
d = {listname: html_quote(mlist.real_name, self.lang),
  File /Users/mailman/Mailman/Archiver/HyperArch.py, line 638, in 
quotetime
return html_quote(i18n.ctime(s), self.lang)
  File /Users/mailman/Mailman/i18n.py, line 98, in ctime
year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
AttributeError: 'module' object has no attribute 'strptime'
Further research shows that the offending function, strptime, doesn't 
exist in Mac OS X 10.1 - the function isn't defined, which causes 
HAVE_STRPTIME to become undefined by ./configure. (I don't know the 
situation under 10.2.). Doing a

python
import time
time.strptime
results in an error message, saying that strptime is an unknown entity.

At first I thought this might be a bug which only showed up when 
archiving was set to something else than the distribution defaults, but 
changing or removing the date clobbering settings in mm_cfg.py didn't 
improve the situation. All archiving still seems to break.

A clean install of Python (2.2.2) doesn't improve the situation, either.

If 'strptime' is unavailable in 10.1, then all Mailman users under Mac 
OS X 10.1 wouldn't be able to archive any messages at all. Are there 
very few users on Mac OS X, or don't people generally use automatic 
archiving? I would be interested to hear from anybody who has got it to 
work under Mailman 2.x and Mac OS X 10.1.

Archiving used to work flawlessly - I have quite extensive archives 
produced by a now defunct mailing list - but in one of the later 
versions, presumable where the archiving routines were rewritten or 
updated, it stopped working.

Should Mailman assume that 'strptime' is available? Is there a 
workaround?

Any ideas or pointers most welcome.

	/ Peter Bengtson

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Archiving doesn't work under Mac OS X 10.1

2003-02-22 Thread Jon Carnes
The function is used only once in Mailman, inside i18n.py

  year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)

You could easily replace this line of code with a small block that does
the same thing but without referencing the strptime function.

In fact, looking at the code, it looks like there is already an existing
block that would do this for you... Try deleting the 4 lines of code
that I marked with an * 

if isinstance(date, StringType):
try:
*year, mon, day, hh, mm, ss, wday, ydat, dst = 
time.strptime(date)
*tzname = time.tzname[dst and 1 or 0]
*except ValueError:
*try:
wday, mon, day, hms, year = date.split()
hh, mm, ss = hms.split(':')
year = int(year)
day = int(day)
hh = int(hh)
mm = int(mm)
ss = int(ss)
except ValueError:
return date
===
If that works then you won't need the time.strptime function at all.

Good Luck - Jon 

BTW: good detective work tracing down the lack of strptime function in
Max OSX v10.1!

On Sat, 2003-02-22 at 09:40, Peter Bengtson wrote:
 Some time ago, I reported that archiving doesn't work in Mailman 2.1.1 
 under Mac OS X 10.1. Every attempt to archive a message would result in 
 the following entry in 'logs/error':
 
  Feb 22 00:15:42 2003 (1950) SHUNTING: 
  1045869340.680055+e0e16d1c92bfc3454ac70ca2586b40b6f9ba5a4e
  Feb 22 15:20:28 2003 (1950) Uncaught runner exception: 'module' object 
  has no attribute 'strptime'
  Feb 22 15:20:28 2003 (1950) Traceback (most recent call last):
File /Users/mailman/Mailman/Queue/Runner.py, line 105, in _oneloop
  self._onefile(msg, msgdata)
File /Users/mailman/Mailman/Queue/Runner.py, line 155, in _onefile
  keepqueued = self._dispose(mlist, msg, msgdata)
File /Users/mailman/Mailman/Queue/ArchRunner.py, line 73, in 
  _dispose
  mlist.ArchiveMail(msg)
File /Users/mailman/Mailman/Archiver/Archiver.py, line 207, in 
  ArchiveMail
  h.close()
File /Users/mailman/Mailman/Archiver/pipermail.py, line 304, in 
  close
  self.update_dirty_archives()
File /Users/mailman/Mailman/Archiver/pipermail.py, line 518, in 
  update_dirty_archives
  self.update_archive(i)
File /Users/mailman/Mailman/Archiver/HyperArch.py, line 1038, in 
  update_archive
  self.__super_update_archive(archive)
File /Users/mailman/Mailman/Archiver/pipermail.py, line 424, in 
  update_archive
  self._update_simple_index(hdr, archive, arcdir)
File /Users/mailman/Mailman/Archiver/pipermail.py, line 434, in 
  _update_simple_index
  self.write_index_header()
File /Users/mailman/Mailman/Archiver/HyperArch.py, line 955, in 
  write_index_header
  print self.html_head()
File /Users/mailman/Mailman/Archiver/HyperArch.py, line 640, in 
  html_head
  d = {listname: html_quote(mlist.real_name, self.lang),
File /Users/mailman/Mailman/Archiver/HyperArch.py, line 638, in 
  quotetime
  return html_quote(i18n.ctime(s), self.lang)
File /Users/mailman/Mailman/i18n.py, line 98, in ctime
  year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
  AttributeError: 'module' object has no attribute 'strptime'
 
 Further research shows that the offending function, strptime, doesn't 
 exist in Mac OS X 10.1 - the function isn't defined, which causes 
 HAVE_STRPTIME to become undefined by ./configure. (I don't know the 
 situation under 10.2.). Doing a
 
   python
   import time
   time.strptime
 
 results in an error message, saying that strptime is an unknown entity.
 
 At first I thought this might be a bug which only showed up when 
 archiving was set to something else than the distribution defaults, but 
 changing or removing the date clobbering settings in mm_cfg.py didn't 
 improve the situation. All archiving still seems to break.
 
 A clean install of Python (2.2.2) doesn't improve the situation, either.
 
 If 'strptime' is unavailable in 10.1, then all Mailman users under Mac 
 OS X 10.1 wouldn't be able to archive any messages at all. Are there 
 very few users on Mac OS X, or don't people generally use automatic 
 archiving? I would be interested to hear from anybody who has got it to 
 work under Mailman 2.x and Mac OS X 10.1.
 
 Archiving used to work flawlessly - I have quite extensive archives 
 produced by a now defunct mailing list - but in one of the later 
 versions, presumable where the archiving routines were rewritten or 
 updated, it stopped working.
 
 Should Mailman assume that 'strptime' is available? Is there a 
 workaround?
 
 Any ideas or pointers most welcome.
 
   / Peter Bengtson
 
 
 --
 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 

Re: [Mailman-Users] Archiving doesn't work + National chars inpasswords

2003-02-08 Thread Peter Bengtson
Python 2.2 is indeed installed, so that can't be the issue. 
bin/check_perms reveals no problems either.

I've used the 2.1 alphas and betas for a long time without any problems. 
The archives stopped working fairly lately, but I'm not sure it happened 
when installing 2.1. It might have been a little earlier.

Any ideas? I need those archives.

		/ Peter Bengtson

Jon Carnes wrote:
What version of Python do you have installed?  Mailman v2.1.x needs
Python 2.2.x

It looks like you have a Python module that is incompatible with Mailman
v2.1:
   year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
   AttributeError: 'module' object has no attribute 'strptime'





--
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] Archiving doesn't work + National charsinpasswords

2003-02-08 Thread Danny Terweij

 Jon Carnes wrote:
  What version of Python do you have installed?  Mailman v2.1.x needs
  Python 2.2.x
 
  It looks like you have a Python module that is incompatible with Mailman
  v2.1:
 year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
 AttributeError: 'module' object has no attribute 'strptime'

Can a python version check be buildin when you do a ./configure or make ?
So it does not install if no good python is on the system?

Danny.




--
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] Archiving doesn't work + National chars inpasswords

2003-02-08 Thread Jon Carnes
That being the case (it was working then it simply stopped) the problem
must be one of the emails in the queue.

On Sat, 2003-02-08 at 06:42, Peter Bengtson wrote:
 Python 2.2 is indeed installed, so that can't be the issue. 
 bin/check_perms reveals no problems either.
 
 I've used the 2.1 alphas and betas for a long time without any problems. 
 The archives stopped working fairly lately, but I'm not sure it happened 
 when installing 2.1. It might have been a little earlier.
 
 Any ideas? I need those archives.
 
   / Peter Bengtson
 
 Jon Carnes wrote:
  What version of Python do you have installed?  Mailman v2.1.x needs
  Python 2.2.x
  
  It looks like you have a Python module that is incompatible with Mailman
  v2.1:
 year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
 AttributeError: 'module' object has no attribute 'strptime'
 
 
 
 
 --
 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] Archiving doesn't work + National chars inpasswords

2003-02-08 Thread Peter Bengtson
There are no mails in the queue, so that's not the answer either (I 
wouldn't report this as a bug or configuration issue if I hadn't checked 
the most obvious things first). My guess, as a programmer, is that 
something was changed in one of the late betas. The error message

   AttributeError: 'module' object has no attribute 'strptime'

certainly indicates the issue is related to module handling.

	/ Peter

Jon Carnes wrote:
That being the case (it was working then it simply stopped) the problem
must be one of the emails in the queue.

On Sat, 2003-02-08 at 06:42, Peter Bengtson wrote:


Python 2.2 is indeed installed, so that can't be the issue. 
bin/check_perms reveals no problems either.

I've used the 2.1 alphas and betas for a long time without any problems. 
The archives stopped working fairly lately, but I'm not sure it happened 
when installing 2.1. It might have been a little earlier.

Any ideas? I need those archives.

		/ Peter Bengtson

Jon Carnes wrote:

What version of Python do you have installed?  Mailman v2.1.x needs
Python 2.2.x

It looks like you have a Python module that is incompatible with Mailman
v2.1:
  year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
  AttributeError: 'module' object has no attribute 'strptime'





--
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] Archiving doesn't work + National chars in passwords

2003-02-07 Thread Peter Bengtson
Messages do not get archived properly. Mac OS 10.1.x, Mailman 2.1. The 
logs reveal the following:

Feb 07 12:51:16 2003 (389) SHUNTING: 1044618675.177514+be324eff2aafe6a8b13f0aa43b6580cf9d345fc4
Feb 07 13:27:59 2003 (389) Uncaught runner exception: 'module' object has no attribute 'strptime'
Feb 07 13:27:59 2003 (389) Traceback (most recent call last):
  File /Users/mailman/Mailman/Queue/Runner.py, line 105, in _oneloop
self._onefile(msg, msgdata)
  File /Users/mailman/Mailman/Queue/Runner.py, line 155, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File /Users/mailman/Mailman/Queue/ArchRunner.py, line 73, in _dispose
mlist.ArchiveMail(msg)
  File /Users/mailman/Mailman/Archiver/Archiver.py, line 207, in ArchiveMail
h.close()
  File /Users/mailman/Mailman/Archiver/pipermail.py, line 304, in close
self.update_dirty_archives()
  File /Users/mailman/Mailman/Archiver/pipermail.py, line 518, in update_dirty_archives
self.update_archive(i)
  File /Users/mailman/Mailman/Archiver/HyperArch.py, line 1032, in update_archive
self.__super_update_archive(archive)
  File /Users/mailman/Mailman/Archiver/pipermail.py, line 424, in update_archive
self._update_simple_index(hdr, archive, arcdir)
  File /Users/mailman/Mailman/Archiver/pipermail.py, line 434, in _update_simple_index
self.write_index_header()
  File /Users/mailman/Mailman/Archiver/HyperArch.py, line 949, in write_index_header
print self.html_head()
  File /Users/mailman/Mailman/Archiver/HyperArch.py, line 637, in html_head
d = {listname: html_quote(mlist.real_name, self.lang),
  File /Users/mailman/Mailman/Archiver/HyperArch.py, line 635, in quotetime
return html_quote(i18n.ctime(s), self.lang)
  File /Users/mailman/Mailman/i18n.py, line 98, in ctime
year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
AttributeError: 'module' object has no attribute 'strptime'


Any ideas?

Also, using national characters such as åäöüéèô and so forth in a 
user-supplied personal password causes Mailman to crash miserably:

Bug in Mailman version 2.1
We're sorry, we hit a bug!
If you would like to help us identify the problem, please email a copy of this page to the webmaster for this site with a description of what happened. Thanks! Traceback:
Traceback (most recent call last):
  File /Users/mailman/scripts/driver, line 87, in run_main
main()
  File /Users/mailman/Mailman/Cgi/subscribe.py, line 94, in main
process_form(mlist, doc, cgidata, language)
  File /Users/mailman/Mailman/Cgi/subscribe.py, line 176, in process_form
mlist.AddMember(userdesc, remote)
  File /Users/mailman/Mailman/MailList.py, line 795, in AddMember
cookie = Pending.new(Pending.SUBSCRIPTION, userdesc)
  File /Users/mailman/Mailman/Pending.py, line 69, in new
hashfood = str(now) + str(n) + str(content)
  File /Users/mailman/Mailman/UserDesc.py, line 56, in __repr__
return '' % (
UnicodeError: ASCII decoding error: ordinal not in range(128)




	/ Peter Bengtson


--
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] Archiving doesn't work + National chars inpasswords

2003-02-07 Thread Jon Carnes
What version of Python do you have installed?  Mailman v2.1.x needs
Python 2.2.x

It looks like you have a Python module that is incompatible with Mailman
v2.1:
   year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
   AttributeError: 'module' object has no attribute 'strptime'

===
$ python

Python 2.2 (#1, Nov  5 2002, 15:43:24)
[GCC 2.96 2731 (Mandrake Linux 8.2 2.96-0.76mdk)] on linux-i386
Type help, copyright, credits or license for more information.
 import time
 time.strptime
built-in function strptime

'Use Ctrl-D (i.e. EOF) to exit.'

===

On Fri, 2003-02-07 at 10:26, Peter Bengtson wrote:
 Messages do not get archived properly. Mac OS 10.1.x, Mailman 2.1. The 
 logs reveal the following:
 
  Feb 07 12:51:16 2003 (389) SHUNTING: 
1044618675.177514+be324eff2aafe6a8b13f0aa43b6580cf9d345fc4
  Feb 07 13:27:59 2003 (389) Uncaught runner exception: 'module' object has no 
attribute 'strptime'
  Feb 07 13:27:59 2003 (389) Traceback (most recent call last):
File /Users/mailman/Mailman/Queue/Runner.py, line 105, in _oneloop
  self._onefile(msg, msgdata)
File /Users/mailman/Mailman/Queue/Runner.py, line 155, in _onefile
  keepqueued = self._dispose(mlist, msg, msgdata)
File /Users/mailman/Mailman/Queue/ArchRunner.py, line 73, in _dispose
  mlist.ArchiveMail(msg)
File /Users/mailman/Mailman/Archiver/Archiver.py, line 207, in ArchiveMail
  h.close()
File /Users/mailman/Mailman/Archiver/pipermail.py, line 304, in close
  self.update_dirty_archives()
File /Users/mailman/Mailman/Archiver/pipermail.py, line 518, in 
update_dirty_archives
  self.update_archive(i)
File /Users/mailman/Mailman/Archiver/HyperArch.py, line 1032, in update_archive
  self.__super_update_archive(archive)
File /Users/mailman/Mailman/Archiver/pipermail.py, line 424, in update_archive
  self._update_simple_index(hdr, archive, arcdir)
File /Users/mailman/Mailman/Archiver/pipermail.py, line 434, in 
_update_simple_index
  self.write_index_header()
File /Users/mailman/Mailman/Archiver/HyperArch.py, line 949, in 
write_index_header
  print self.html_head()
File /Users/mailman/Mailman/Archiver/HyperArch.py, line 637, in html_head
  d = {listname: html_quote(mlist.real_name, self.lang),
File /Users/mailman/Mailman/Archiver/HyperArch.py, line 635, in quotetime
  return html_quote(i18n.ctime(s), self.lang)
File /Users/mailman/Mailman/i18n.py, line 98, in ctime
  year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
  AttributeError: 'module' object has no attribute 'strptime'
 
 Any ideas?
 
 Also, using national characters such as åäöüéèô and so forth in a 
 user-supplied personal password causes Mailman to crash miserably:
 
  Bug in Mailman version 2.1
  We're sorry, we hit a bug!
  If you would like to help us identify the problem, please email a copy of this 
page to the webmaster for this site with a description of what happened. Thanks! 
Traceback:
  Traceback (most recent call last):
File /Users/mailman/scripts/driver, line 87, in run_main
  main()
File /Users/mailman/Mailman/Cgi/subscribe.py, line 94, in main
  process_form(mlist, doc, cgidata, language)
File /Users/mailman/Mailman/Cgi/subscribe.py, line 176, in process_form
  mlist.AddMember(userdesc, remote)
File /Users/mailman/Mailman/MailList.py, line 795, in AddMember
  cookie = Pending.new(Pending.SUBSCRIPTION, userdesc)
File /Users/mailman/Mailman/Pending.py, line 69, in new
  hashfood = str(now) + str(n) + str(content)
File /Users/mailman/Mailman/UserDesc.py, line 56, in __repr__
  return '' % (
  UnicodeError: ASCII decoding error: ordinal not in range(128)
 
 
 
   / Peter Bengtson
 
 
 --
 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] Archiving stops

2003-01-24 Thread Tom Maddox
Hi, everyone,

I'm rapidly racking up what I'm sure must be a record number of posts to
this list, so I hope you'll all forgive me.

Anyway, my latest issue is that Mailman stopped archiving messages last
night around 9:30 p.m., for no apparent reason.  There's nothing in the logs
to indicate why archiving stopped.  Has anyone ever seen this before?

Also, is there a way to get the logfiles to be more verbose?  Their contents
are not very descriptive.

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



RE: [Mailman-Users] Archiving stops

2003-01-24 Thread Tom Maddox
 Anyway, my latest issue is that Mailman stopped archiving messages last
 night around 9:30 p.m., for no apparent reason.  There's nothing
 in the logs
 to indicate why archiving stopped.  Has anyone ever seen this before?

I've since restarted Mailman, and archiving is still hosed.  If anyone could
suggest a possible cause or solution, I'd be very grateful.



--
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] Archiving stops

2003-01-24 Thread Jon Carnes
I've had this happen under version 2.0.8 before.  Once because the
existing archive had gotten hosed.  I simply deleted the html files and
regenerated the archives using arch.  That worked fine.

Another time, I did the same thing and arch continuously stopped at one
point.  I went into the Mbox file and looked at the next message and
sure enough it was malformed - not enough to kill delivery, but enough
to hose the Pipermail archiver.  Once I deleted the malformed email,
arch ran fine and everything worked again.

I suggest you look at your current Archives then go to your Mbox file
for that list and look at the next message.

The html archive files for lists are stored in:
  ~mailman/archives/private/listname/..
The mbox file for the archives are stored in:
  ~mailman/archives/private/listname.mbox/listname.mbox

Good Luck - Jon Carnes

On Fri, 2003-01-24 at 15:53, Tom Maddox wrote:
  Anyway, my latest issue is that Mailman stopped archiving messages last
  night around 9:30 p.m., for no apparent reason.  There's nothing
  in the logs
  to indicate why archiving stopped.  Has anyone ever seen this before?
 
 I've since restarted Mailman, and archiving is still hosed.  If anyone could
 suggest a possible cause or solution, I'd be very grateful.
 
 
 
 --
 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] Archiving Question

2002-11-13 Thread Dave Warchol
Hello:
 I am doing some last minute testing using a test list
configured like my production list prior to going live with my first
list on Monday.  I have to tell everyone that I have had an excellent
experience with Mailman (2.0.13-1) to date.  I am running on a well
patched RH7.3 box, everything installed from packages and am using
Postfix as my MTA.  This will be a discussion type list, where the
original message is posted and folks respond to the list. I am trying to
simulate a discussion using two different e-mail accounts (each of which
is a list member, call them A1 and A2).  It is entirely possible that:
a.  I am not doing it correctly, or,
b.  I have not configured something correctly.

The list is set up as a closed private list. 
Membership=confirm+approve, the archives are private as well, only list
members may post.

The scenario:
1.  A1 posts to the list.  Both A1 and A2 receive the message. The
message appears in the archive.
2.  A2 replies to the message, with the addressee being the list.  Both
A1 and A2 receive A2's reply.  The message appears in the archive as a
separate line item, not indented as I expected (the archive display is
sorted by thread).

What am I doing wrong?

Thanks much in advance...

Dave



--
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] Archiving I'm dying over here.....

2002-10-01 Thread David Mir


Please HELP I am running Mailman (mailman-2.0.11-1) installed via RPM on RH7.3 
system.  Archiving never has worked.  If just left to pipermail all I get is 
the raw dump screen no matter what the settings on the mailing list (have 
set it to daily and still not archives. This mailing list has been runnning 
for over a month, so I tried using Mhonarc I can't get that to work (though 
that one AT LEAST gives me an error message).  Can anyone please, please, 
please (w/sugar on top) tell me how I can either get pipermail mail to work 
(ie. what to look for and what settings to check) or tell me how they got 
Mhonarc to (exactly what changes to what files) work as their archiver.  Let 
me say I have already followed several unoffical How-tos none of them worked, 
if I just tell mhonarc to take my mbox and convert it it works fine (I get a 
web page etc.) if I try to get mailman to send mhonarc the message I get sh: 
-c: line 2: syntax error: unexpected end of file error message at least this 
is farthest I have gotten .(this archinvg thing is killing me! :)

Here is my mm_cfg.py file:
(including various commented out command lines for Mhonarc)

# -*- python -*-

# Copyright (C) 1998 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
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


This is the module which takes your site-specific settings.

From a raw distribution it should be copied to mm_cfg.py.  If you
already have an mm_cfg.py, be careful to add in only the new settings
you want.  The complete set of distributed defaults, with annotation,
are in ./Defaults.  In mm_cfg, override only those you want to
change, after the

  from Defaults import *

line (see below).

Note that these are just default settings - many can be overridden via the
admin and user interfaces on a per-list or per-user basis.

Note also that some of the settings are resolved against the active list
setting by using the value as a format string against the
list-instance-object's dictionary - see the distributed value of
DEFAULT_MSG_FOOTER for an example.


###
#Here's where we get the distributed defaults.#

from Defaults import *
import pwd, grp

##
#Here's where we override shipped defaults with settings #
#suitable for the RPM package.   #
#MAILMAN_UID = pwd.getpwnam('mailman')[2]
#MAILMAN_GID = grp.getgrnam('mailman')[2]
LOG_DIR = '/var/log/mailman'
QUEUE_DIR   = '/var/spool/mailman/qfiles'

##
# Put YOUR site-specific configuration below, in mm_cfg.py . #
# See Defaults.py for explanations of the values.#

DEFAULT_HOST_NAME = 'soartech.com'
DEFAULT_URL   = 'http://www.%s/mailman/' % DEFAULT_HOST_NAME
MAILMAN_OWNER = 'mailman-owner@%s' % DEFAULT_HOST_NAME
VIRTUAL_HOST_OVERVIEW = 0

PUBLIC_ARCHIVE_URL='/archives'

#PUBLIC_EXTERNAL_ARCHIVER = '/usr/bin/mhonarc -add -outdir 
/var/mailman/archives/mhonarc/%(listname)s  /tmp/out_external_archiver'
#PRIVATE_EXTERNAL_ARCHIVER = '/usr/bin/mhonarc -add -outdir 
/var/mailman/archives/mhonarc/%(listname)s  /tmp/out_external_archiver'



#PUBLIC_EXTERNAL_ARCHIVER = '(mkdir -p 
/var/mailman/archives/mhonarc/%(listname)s ; /usr/bin/mhonarc -nomodtime -add 
-umask 022 -outdir /var/mailman/archives/mhonarc/%(listname)s -multipg  
-expireage 2592000 -idxsize 1
5 -noauthsort -reverse -nothread -nosubsort -idxfname index.html -rcfile 
/var/mailman/frames.mrc'
#PRIVATE_EXTERNAL_ARCHIVER = '(mkdir -p 
/var/mailman/archives/mhonarc/%(listname)s ; /usr/bin/mhonarc -nomodtime -add 
-umask 022 -outdir /var/mailman/archives/mhonarc/%(listname)s -multipg  
-expireage 2592000 -idxsize
15 -noauthsort -reverse -nothread -nosubsort -idxfname index.html -rcfile 
/var/mailman/frames.mrc'

PUBLIC_EXTERNAL_ARCHIVER = '(/usr/bin/mhonarc -nomodtime -add -umask 022 
-outdir /var/mailman/archives/mhonarc/%(listname)s -multipg -reverse 
-idxfname index.html -rcfile /var/mailman/frames.mrc'

PRIVATE_EXTERNAL_ARCHIVER = '/usr/bin/mhonarc -nomodtime -add -umask 022 
-outdir /var/mailman/archives/mhonarc/%(listname)s -multipg -reverse 
-idxfname index.html -rcfile 

[Mailman-Users] Archiving?

2002-08-26 Thread David Mir


I'm using Mailman on RH7.3 Everything seems to work great , except archiving.  
No matter what the settings (i.e. daily, weekly, monthly) it never seems to 
archive just gives the raw output!  Am I missing something?  Could some one 
tell me where to look for errors if there are any(pipermail errors somewhere 
else?)  Am I suppose to set-up some sort of cron job, I installed 
Mailman(mailman-2.0.11-1) via RPM.

I tried searching for archiving but couldn't really find what I was looking 
for, archiving gives pretty broad results.

Thanks


-- 
David Mir
System Administrator
Soar Technology, Inc.
3600 Green Ct, Ste 600
Ann Arbor, MI  48105-2588
734-327-8000 ext. 222
734-913-8537 (Fax)
www.soartech.com
[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/



Re: [Mailman-Users] archiving

2002-08-21 Thread J C Lawrence

On Wed, 21 Aug 2002 11:23:35 -0400 (EDT) 
Greg Westin [EMAIL PROTECTED] wrote:

 With all this discussion of archiving, I have to ask: What does it say
 about the developers' confidence in Mailman that this list isn't
 archived by Mailman, but by an external service?  

The Mailman lists are archived at python.org using Pipermail, Mailman's
internal archiver.  They are also archived at various other external
sites which use various other tools.  Don't confuse the two.

 This is like when I was having trouble setting up Mailman on Mac OS X,
 and then discovered that Apple doesn't use Macs for its mail servers,
 it uses Sun computers.

As does Microsoft FWIW -- they just hide it better.

Also note that in Apple's case the Sun box in question is bigger than
any of the boxes that Apple currently makes and sells.  

 It seems to me that if this list is archived externally, maybe I, too,
 should look into that as an option. 

The internal archiver in mailman 2.1 is considerably more capable than
the archiver in Mailman 2.0.  It does not and likely never will match
the capability of external tools like MHonArc.  

If there's something you want from your archiver that Pipermail can't
offer, then investigate using an external archiver.  Otherwise look at
the archiver in v2.1.

I use an external archiver for my lists (see the FAQ for details) as I
want a variety of extra feature supports that Pipermail cannot offer (eg
replies from the web).  Other's find Pipermail's feature set quite
acceptable, especially in v2.1.

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--
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] Archiving and Replys

2002-07-11 Thread Sherif Karaoglu

Hi, I am setting up mailman to replace Lyris as our listserv manager,
and so far things are going great.  Unfortunately I have come across a
small problem,  I'm using an external archiver (hypermail - my boss
likes its output better than pipermail) which I have set up to work and
it will automatically update the archives, but my problem is that replys
to messages are not entered into the .mbox file and therefore aren't
getting into the archives.  I saw a similar question posted but there
was no response, I hope someone might have an idea why the .mbox file is
not being updated with replys to messages.  Thanks for any help.

Sherif Karaoglu
University of South Florida
Academic Computing Department






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



[Mailman-Users] archiving replys

2002-07-10 Thread Sherif K

Hi, I am setting up mailman to replace Lyris as our listserv manager,
and so far things are going great.  Unfortunately I have come across a
small problem,  I'm using an external archiver (hypermail - my boss
likes its output better than the builtin)which I have set up to work and
it will automatically update the archives, but my problem is that replys
to messages are not entered into the .mbox file and therefore aren't
getting into the archives, only the first post of a thread.  I saw a
similar question posted but there was no response, I hope someone might
have an idea why the .mbox file is not being updated with replys to
messages.  Thanks for any help.

I'm running mailman 2.1b2 with Postfix as the MTA
ARCHIVE_TO_MBOX = 2


Sherif Karaoglu
University of South Florida
Academic Computing Department





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



[Mailman-Users] Archiving problem

2001-10-25 Thread leanne lai



Seems like the Mailman archiving function does not work properly with mailx.
When I use netscape mail or pipe or elm to reply to a mail list, the archiving 
function seems to work fine ie it is indented. But when I try to use mailx to 
reply, Mailman archival function seems to treat it as a new thread (no 
indentation) instead of a reply to an existing thread.

Does anyone else have this problem or know ways to get around this?


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



Re: [Mailman-Users] Archiving problem

2001-10-25 Thread Greg Ward

On 25 October 2001, leanne lai said:
 Seems like the Mailman archiving function does not work properly with
 mailx.  When I use netscape mail or pipe or elm to reply to a mail
 list, the archiving function seems to work fine ie it is indented. But
 when I try to use mailx to reply, Mailman archival function seems to
 treat it as a new thread (no indentation) instead of a reply to an
 existing thread.

Perhaps mailx doesn't set the In-reply-to header.  Take a look in the
archive mbox file to see for sure.

 Does anyone else have this problem or know ways to get around this?

Umm, don't use mailx?

Greg
-- 
Greg Ward - software developer[EMAIL PROTECTED]
MEMS Exchangehttp://www.mems-exchange.org

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



[Mailman-Users] Archiving another mailing list

2001-06-01 Thread Chris Nolan

Good day,

First time poster so go easy on me.
I want to archive another list that I'm a member of (not the admin
and the other list isn't mailman).  So I figured I'd setup a list on my box
and subscribe that list to the other list.  So far so good.
My list works, I get messages from the other list sent via that
list.  Any message I send to my list myself, gets sent to me and archived.
But, any of the messages from the other list are not getting archived (but
are getting resent).

I don't see anything in mailman to configure what messages get
archived and which ones don't.  Is there such a beast?  Why don't the
messages from the other list get archived?  I'm guessing something in the
header, but I'm not familiar enough with the mailman source code yet to go
digging deeper.  Perhaps somebody could tell me which program controls the
archiving after it's sent to the wrapper and I can dig a little deeper?

Many thanks and have a great day
Chris Nolan

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



[Mailman-Users] Archiving problems

2001-02-13 Thread Ervin Nmeth

Hi,

After upgrading to mailman 2.0 we experienced the following problem:  The web
interface for the archives doesn't work.  The mbox is still accessible and
contains all the messages, but the summary is not generated.  The older
version of the summary is still there.  Creating a new mailing list doesn't
solve the problem.

I don't know if the following lines have something to do with the problem:

mailman@kempelen:~ % ls locks/% 218
mailman@kempelen:~ % python -S cron/archive 2 % 219
Traceback (most recent call last):
  File "cron/archive", line 55, in ?
if level = list.archive_update_frequency:
AttributeError: 'MailList' instance has no attribute 'archive_update_frequency'
zsh: exit 1 python -S cron/archive 2
mailman@kempelen:~ % ls locks/% 220
test-l.lock  test-l.lock.kempelen.3252

Apparently the archiving procedure leaves a lock file.

The operating system is Solaris7.

Please help, we really need the archives.

Thanks,
Ervin
-- 
Sanitas est thesaurus vitae maximus.

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



[Mailman-Users] archiving attachments

2001-02-05 Thread Fazal Aslam


Does any one know if mailman has the ability to
archive an attachment. the attachment being a
pdf or a jpg file?
--
Fazal A.
Engineering Software Tools
630.512.7815

_
| ___ |
|__| | |__|
 | | |
 | |_| tellabs
 |___|



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