procmail
[Top] [All Lists]

formail spontaneously starts failing?

1995-11-08 17:17:13
Hi Everyone,

I somehow ended up with my entire mailbox having duplicate emails so I
called on formail to the rescue.

Invoked as:

cat $MAIL | formail -ds procmail ~/procmail_scripts/rm_dups.proc

rm_dups.proc:

MAILDIR=$HOME/Mail
DEFAULT=$HOME/procmail_scripts/test_output
#DEFAULT=/dev/null
LOGFILE=$HOME/procmail_scripts/logfile
VERBOSE=on
:0 Wh: msgid.lock
| formail -D 8192 msgid.cache

Everything starts ok but after a bunch (~30) of emails, out of the
blue formail starts returning (1)


From gjb(_at_)lsil(_dot_)com  Sat Aug  5 19:18:58 1995
 Subject: Re: corporate xntp server?
  Folder: formail -D 8192 msgid.cache                                       898
procmail: [9176] Wed Nov  8 18:34:01 1995
procmail: Locking "msgid.lock"
procmail: Executing "formail,-D,8192,msgid.cache"
procmail: [9176] Wed Nov  8 18:34:02 1995
procmail: Assigning "LASTFOLDER=formail -D 8192 msgid.cache"
procmail: Unlocking "msgid.lock"
From adams(_at_)mms10(_dot_)lsil(_dot_)com  Mon Aug 28 14:32:21 1995
 Subject: netgroup walthosts
  Folder: formail -D 8192 msgid.cache                                       517
procmail: [9178] Wed Nov  8 18:34:02 1995
procmail: Locking "msgid.lock"
procmail: Executing "formail,-D,8192,msgid.cache"
procmail: Program failure (1) of "formail"
procmail: Assigning "LASTFOLDER=formail -D 8192 msgid.cache"
procmail: Unlocking "msgid.lock"
procmail: Locking "/home/wm10/x2/howardm/procmail_scripts/test_output.lock"
procmail: Assigning 
"LASTFOLDER=/home/wm10/x2/howardm/procmail_scripts/test_output"
procmail: Opening "/home/wm10/x2/howardm/procmail_scripts/test_output"
procmail: Acquiring kernel-lock
procmail: Unlocking "/home/wm10/x2/howardm/procmail_scripts/test_output.lock"
From mtm(_at_)smi(_dot_)stanford(_dot_)edu  Fri Aug 25 16:18:20 1995
 Subject: Re: "interactivePlacement" question.

This is on a a sun (4.1.3) running 3.11pre4:

procmail v3.11pre4 1995/10/29 written and created by Stephen R. van den Berg
                                                        <srb(_at_)cuci(_dot_)nl>

Submit questions/answers to the procmail-related mailinglist by sending to:
        <procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de>

And of course, subscription and information requests for this list to:
        <procmail-request(_at_)informatik(_dot_)rwth-aachen(_dot_)de>

Locking strategies:     dotlocking, fcntl(), lockf(), flock()
Default rcfile:         $HOME/.procmailrc
System mailbox:         /var/spool/mail/$LOGNAME

All files are on local disk (execept for procmail/formail proper).

Any help would be appreciated since I've got >1500 emails to clean up.

TIA,
Howard

+------------------------------------------------------------------------------+
| Howard Moftich                                                               |
| Snailmail:   LSI Logic Corp.                      Internet: 
howardm(_at_)lsil(_dot_)com |
|              9 Hillside Ave.                             Phone: 617.890.0180 |
|              Waltham, MA 02154 USA                         FAX: 617.890.6158 |
| 9AE4A5ED498A645D F5A9D527878F27B4                                            |
+------------------------------------------------------------------------------+

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