procmail
[Top] [All Lists]

Re: Problem with `formail'

1998-10-02 12:46:44
Francis Vidal asked,

| hello everyone,
| 
| i got this message from formail:
| 
| procmail: Assigning "LOCKFILE=/home/francis/.procmail/tmp/lck.98-10"
| procmail: Locking "/home/francis/.procmail/tmp/lck.98-10"
| procmail: Assigning "MY_EMAIL=francis(_at_)usls(_dot_)edu"
| 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"
| 
| what's the reason behind a `failure (1)' of formail?

It's supposed to work that way.  Everything is OK.

formail -D returns failure if the Message-Id: is not already in the cache
and has to be added [i.e., if the item is new and not a duplicate] and
success if the ID is found in the cache [i.e., if it is a duplicate].

You'll see that in a verbose logfile every time you get a new message that
isn't a duplicate of an old one.  It's exactly how things are supposed to
work.  You might want to use `W' instead of `w' on that recipe; that, I
believe, will suppress the error message if VERBOSE is off.


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