procmail
[Top] [All Lists]

Re: why formail fail?

1996-09-24 22:20:33
On Tue, 24 Sep 1996, Timothy J. Luoma wrote:

Why does this line:

procmail: Program failure (1) of "formail"

appear in the log below?

[SNIP]
procmail: Executing "formail,-D,8192,/Users/luomat/.procmail/idfile"
procmail: [1436] Tue Sep 24 20:39:13 1996
procmail: Program failure (1) of "formail"

"formail -D 8192 /Users/luomat/.procmail/idfile" is checking for duplicate
mail id's.  If it does _not_ find a duplicate, a non-zero error status is
returned causing procmail to fail that recipe (mail not delivered) and
continue with your other recipes.  procmail is telling you the program
"failed", but that's what you want it to do in this case.

If it does find a duplicate id, error status of 0 will be returned and 
procmail will consider the message "delivered", even though most recipes 
simply throw duplicates away.  

mike
mike_blatchley(_at_)maxtor(_dot_)com

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