Skip to Content.
Sympa Menu

en - Re: [sympa-users] Sympa 3.4.3.1 (Solaris 2.9) web archive (?solution?)

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: John Douglass <address@concealed>
  • To: Aumont - Comite Reseaux des Universites <address@concealed>
  • Cc: Sympa Users <address@concealed>
  • Subject: Re: [sympa-users] Sympa 3.4.3.1 (Solaris 2.9) web archive (?solution?)
  • Date: Tue, 09 Dec 2003 09:44:40 -0500

Aumont - Comite Reseaux des Universites wrote:

John Douglass wrote:

Would this work?


No. Access parameter should only be used in order to control access but not to control if messages are to be archived or not. But you can use the existing web_archive "quota" parameter. If you set it to 0 no message will be archived. http://www.sympa.org/distribution/current/doc/html/node15.html#SECTION001562000000000000000

You can also define a robot default archive quota for all lists. List owners receive a notification when disk quota exceeded. At any time they can download zip of several mounths archives and remove them from the server.

Hope this help.

Well since I don't want to give an end user access to the quota field and there is no other way currently to stop messages being archived to the web (i.e. no way to get rid of web_archive paragraph from the UI) I think utilizing the access == closed is a temporary fix which is quite logical IMHO. If you want an archive to be your definition of "closed" I would utilize the "listmaster" scenarii. After all, the archive does exist and listmaster can theoretically access it if s/he wants to.

access_web_archive.closed
access_web_archive.listmaster

At least, for right now, this is what I am going to do (closed = don't archive) until/unless I can figure out a better way as I need a way for end users to stop their own archives if they deem it so.

Thanks, you've been quite helpful!

PS I don't think I have the correct array to be able to read that field. If I still wanted to do this, should this line (***) work?
- JohnD

Line 217 of archived.pl
----
# BEGIN MOD
my $listsettings = new List($listname);
if($listsettings->{'admin'}{'web_archive'}{'access'} != "closed") ***
{
do_log('notice',"Archiving $file for list $adrlist");
mail2arc ($file, $listname, $hostname, $yyyy, $mm, $dd, $hh, $min, $ss) ;
unless (unlink("$queue/$file"))
{
do_log ('err',"Ignoring file $queue/$file because couldn't remove it, archived.pl must use the same uid as sympa");
do_log ('err',"exiting because I don't want to loop until file system is full");
last;
}
}
# END MOD
----









Archive powered by MHonArc 2.6.19+.

Top of Page