procmail
[Top] [All Lists]

Re: Trouble with procmail.

2007-09-27 22:59:43
On 9/27/07, Dallman Ross <dman(_at_)nomotek(_dot_)com> wrote:
Bart Schaefer wrote Tuesday, September 25, 2007 4:19 AM:
The i-flag means "ignore any errors, including SIGPIPE, that
happen when writing to this pipe."

Which, I believe, is engineering-speak for "Dude: just hold that
baby open, will you?"  :-)  No, not really, but -- thanks, Bart.

Question: so can we use the i-flag instead of w or W if we
don't want to see any logs about erros but still want to
code around them in procmail?

If I understand the question, then I think the answer is "no."  "i" is
for errors on the procmail end of the pipe, that is, failure to write
to it.  "w" and "W" are for errors on the other end of the pipe, as
indicated by the exit code of the reading process.  But they're
opposite in another way, too:  The "i" flag says to ignore
procmail-side errors, but "w" and "W" say to pay attention to the
other-side 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