[mod.computers.vax] Making MAIL.MAI smaller

GERLAND@UBVMS.BITNET.UUCP (01/31/87)

>After consulting our system manager I learned that MAIl can only extend
>MAIL.MAI, but it can't shorten it after deleting messages. In my case it
>was no problem, as I only had to delete MAIL.MAI, but what do you have to
>do if you want to keep some messages (so you can't just delete MAIL.MAI).
 
Three slaps with a wet noodle to your system manager for such poor advice.
MAIL can indeed reduce the size of MAIL.MAI.  In MAIL type COMPRESS and watch
it work.  MAIL will create a new MAIL.MAI;1 file and a MAIL.OLD;1 file which
you can delete.  You will notice a large reduction in block size if this is
the first time you do it.  I COMPRESS my MAIL.MAI file daily.
 
       Jim Gerland ( UCS POSTMASTER )
 
       Computer Center          Room 226
       University Computing Services
       State University of New York at Buffalo
       Buffalo, NY   14260      (716) 636-3557
 
       BITNET:  gerland@ubvms   (VAX/VMS)
                gerland@ubvm    (VM/CMS)
       CSNET:   gerland@buffalo
       UUCP:    ...{alegra,decvax,watmath}!sunybcs!gerland
 

TBLAKE@BINGVAXA.BITNET.UUCP (02/03/87)

        When your MAIL files get huge, and you are running out of your
disk quota, try using the COMPRESS command.
 
        An interesting bug-a-boo, COMPRESS uses a temp file, which it makes
from the file being compressed.  COMPRESS also keeps the old file around
(just in case).  As a result, you gotta have disk space to make disk space.
 
TBLAKE@BINGVAXB.BITNET                          Thomas R. Blake
TBLAKE@suny-bing.CSNET                          SUNY Computer Center
                                                Binghamton, NY  13901