[Mailman-Users] How to purge correctly old messages ?

BERTHOLD Jean Jean.BERTHOLD at eosholding.ch
Thu Jan 29 15:21:07 CET 2004


Hello John,

Thanks for your help, it is exactly what I need !

But:
mailman at vanuatu # pwd
/usr/local/mailman/archives/private/etrans-echanges.mbox
mailman at vanuatu # ls -l
total 1327072
-rw-rw-r--   1 mailman  mailman  679109463 Jan 29 14:40 etrans-echanges.mbox
mailman at vanuatu # vi etrans-echanges.mbox	
mailman at vanuatu # vi etrans-echanges.mbox
"etrans-echanges.mbox" Tmp file too large
    </TimeIntervalQuantities>
    <TimeIntervalQuantities>
      <QuantityTimeInterval value="2003-06-16T17:00:00Z/2003-06-16T18:00:00Z" />
      <Quantity value="0.0" />
    </TimeIntervalQuantities>
    <TimeIntervalQuantities>
      <QuantityTimeInterval value="2003-06-16T18:00:00Z/2003-06-16T19:00:00Z" />
      <Quantity value="0.0" />
    </TimeIntervalQuantities>
    <TimeIntervalQuantities>
      <QuantityTimeInterval value="2003-06-16T19:00:00Z/2003-06-16T20:00:00Z" />
~
~
~
~
~
~
~
~
~
~
~
~

 Tmp file too large
:

I tried to add more swap, but unsuccesfully ...


root at vanuatu # mkfile 1000M /export/swapfile
root at vanuatu # swap -a /export/swapfile
root at vanuatu # swap -l
swapfile             dev  swaplo blocks   free
/dev/md/dsk/d10     85,10     16 1052624 1045120
/export/swapfile      -       16 2047984 2047984
root at vanuatu # 

Result was the same as previous:

 Tmp file too large

One more question:
------------------

how to edit this big file ?

mailman at vanuatu # pwd
/usr/local/mailman/archives/private/etrans-echanges.mbox
mailman at vanuatu # du -sh *.mbox
 648M   etrans-echanges.mbox
mailman at vanuatu # 


Thanks again for your help


Jean




-----Message d'origine-----
De : John DeCarlo [mailto:jdecarlo at mitre.org]
Envoyé : jeudi, 29. janvier 2004 14:41
À : BERTHOLD Jean
Cc : mailman-users at python.org
Objet : Re: [Mailman-Users] How to purge correctly old messages ?


Jean,

BERTHOLD Jean wrote:
> root at vanuatu # pwd
> /usr/local/mailman/archives/private
> root at vanuatu # 
> root at vanuatu # du -sh etrans*
>  2.4G   etrans-echanges
>  645M   etrans-echanges.mbox
>...
> -- How to remove the oldest messages correctly ?

The recommended method to reduce or change your archive is to edit the 
file .../private/etrans-echanges.mbox/etrans-echanges.mbox and remove 
the older messages from the file.

Once you have done this, you can run
   /usr/local/mailman/bin/arch --wipe etrans-echange

You can also try and figure out which message in the mbox file you want 
to start archiving (instead of deleting them from the file) and run

  .../bin/arch --start=N --wipe etrans-echange

At least this should get you started.

-- 

John DeCarlo, My Views Are My Own





More information about the Mailman-Users mailing list