procmail
[Top] [All Lists]

Re: formail -D's files & their ever-increasing size

1995-10-05 12:29:52
From: b_weissm(_at_)kla(_dot_)com (Bob Weissman)
Date: Thu  Oct  5, 11:56am

On Oct 5, 11:43am -0700, dummy(_at_)emf(_dot_)net wrote:
How does one pare down the "formail -D" files?  It apparently is in some
binary format (terminated by nulls?).  It's not a big problem right now,
but it's not clear what tools could be used for truncating or pruning the
file when it does get too large.

Huh?  These files are self-limiting.  The number after the -D is the
size in bytes above which the older entries will be removed.   E.g., my
.procmailrc has

:0 Wh:.msgid.lock
    |formail -Y -D 12288 .msgid.cache

so the file never exceeds 12288 bytes by very much. 

== Bob

So, do older entries automatically get pruned?

-- 
Internet: dummy(_at_)emf(_dot_)net                  In real life: Robert Brown,
          >> Vasectomy prevents abortion. <<           in sunny Berkeley, CA
     >> Television is the opium of the people. <<      waiting for The Big One
        ** finger dummy(_at_)emf(_dot_)net for PGP key **         (510) 464-4604