[carboned to previous poster, because I have a feeling he may not be a
member of the list]
Dan Jacobson wrote:
Good heavens, most (70%) of the time when running procmail -m on
:0 Whc: vacation.lock
| true
I get procmail: Error while writing to "true".
Yes, of course you do. true doesn't read the input, so procmail can't
write to it, and it reports a write error when it tries to feed a second
bufferful to the action but finds the first bufferful wasn't fully (or
even partly) read.
The reason you get the error only 70% is the time is that 30% of your
tests are done on messages with heads so short that they fit into one
bufferful, and procmail doesn't try to feed a second bufferful to the
action.
That's what procmail's `i' flag is for. It says, "ignore write errors;
this command isn't supposed to read all (or maybe any) of the text."
Try
:0Whci: vacation.lock
| true
and you won't get reports of write errors.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail