procmail
[Top] [All Lists]

Re: preserving last 32 messages

1998-10-28 13:44:49
This one has bit me, too. Make sure your shell is Bourne (SHELL=/bin/sh) in
your procmail rc file.





Ron Bryant <bryant(_at_)students(_dot_)uiuc(_dot_)edu> on 10/28/98 11:48:43 AM

To:   procmail mailing list 
<procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de>
cc:    (bcc: Bob E. Gahl/TheSphereHQ)
Subject:  preserving last 32 messages




Can someone tell me what's wrong with the following code? It is supposed to
preserve the last 32 messages, but I currently have over fifty messages in
my backup directory. I am using the following code from one of Gross'
tutorials.

:0 c
backup

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


Attachment: att1.eml
Description: Binary data

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