help,
i have a bunch of duplicates in my 'java' mail folder. i wanted to
eliminate the dups, and store all msgs under a given size to a new
empty folder.
i went over the examples in procmailex. but things are not working.
[i get a backup copy, which i probably did not need since my original
folder file is still there, but no msgs are being copied to the
new folder]
listed below is the procmailrc i am using. (let's name it 'foo')
the command i am running is:
procmail -m foo < java
------------------------------
.PROCMAIL LOG SAYS:
formail: formail: No such file or directory
From MAILER-DAEMON Thu Mar 25 10:49:33 1999
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
Folder: **Bounced** 253
------------------------------
TIA -j
###############################################################################
PATH=/bin:/usr/bin:/usr/bin
MAILDIR=$HOME/mail # you'd better make sure it exists
#DEFAULT=$MAILDIR/mbox # completely optional
LOGFILE=$MAILDIR/.PROCMAIL_LOG # recommended - log records will go here
# procmailrc file
#
# to get rid of java folder duplicates...
#
# make sure we get a backup...
#
:0 c
java_backup
# filter all input for duplicates...
#
:0 Wh: msgid.lock
| formail -D 8192 msgid.cache
# store all msgs under 20,000 bytes...
:0:
* < 20000
java_new
_________________________________________________________________________
In Heaven there will be no DOS, no Intel, and above all, no Bill.