Sorry if this isn't the right place to post this but I'm sure I got
this little code snippet from a mutt-related website...

I've got this in my .procmailrc file:

## Nuke duplicate messages
:0 Wh: msgid.lock
| formail -D 8192 msgid.cache

## Create backup cache of 100 most recent messages
:0 c
backup
  :0 ic
  | cd $PMDIR && rm -f dummy `ls -t msg.* | sed -e 1,100d`

But it doesn't seem to be working properly (the backup part).  I've
got something like over 1000 messages in there now but I only want to
save the last 100.  Can someone tell me what I'm doing wrong?

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 2 days 12 hrs and 37 mins.

Reply via email to