procmail
[Top] [All Lists]

The Safe backup in procmailex

1997-05-29 08:35:00
Hi,
        The safe backup in the procmailex man page is:#this will put a 
copy of all messages in a fallback folder.  It is a safety
# feature for when I implement new recipes.  This will save only the most 
# recent 32 messages
:0 c
backup

:0 ic
|cd backup && rm -f dummy `ls -t msg.* | sed -e 1,32d`

        Does anyone out there have a variant of this that might keep the 
last N messages in a mail folder as opposed to separate files?  It would 
be easier for me to evaluate this stuff if I could load it into Pine and 
look at the headers in a list, as opposed to reading each of the files 
separately.

--Matthew Saroff

<Prev in Thread] Current Thread [Next in Thread>