procmail
[Top] [All Lists]

Re: When does one use the "f" flag on a recipe

1997-03-25 21:15:01
-----BEGIN PGP SIGNED MESSAGE-----

=== Nothing above this line is part of the message. ===

era eriksson <reriksso(_at_)cc(_dot_)helsinki(_dot_)fi> wrote:
:The w flag tells Procmail to ignore write errors to the pipe. If you try
:this with a short enough message, Procmail never gets the chance to notice
:the write error to the pipe, but the fact is that the echo doesn't read its
:input and Procmail will "salvage" the original message body if it detects
:this via a write error (and so the replacement will not happen after all).

No, w tells procmail to wait and check the return code from the
command to which the data is being piped; if nonzero, then the
filtering is considered to have failed, and the unmodified letter
lives to fight another day.

Your description is exactly right, though, for the i switch.

Signatures Follow. (tm)

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMziMEe7FqQNEGv6lAQGNbQP+O17VxBNFYX0KjCAylrMEb3HOlDV4ggyf
ueT7cQQnsWNwBOqy+igbn7gn+aYATtXDx6l/HNDCsJVID9MNFHRf+QIEw63ztZ4R
8Ocelh5z+ppSgxFMN08qitWbrhlqu70Hliwu3Z7YLwVQ/e8bPHeFZHSxuYLrNABD
hLO1ajfzaz8=
=6Krg
-----END PGP SIGNATURE-----

-- It is now safe to turn off your computer.
Bill Evans/Box 4829/Irvine, California 92716/(714)551-2766  _   /| ACK!
Email-To: wje(_at_)acm(_dot_)org  -- PGP encrypted mail preferred. --  \`o_O' /
   Finger wje(_at_)netcom(_dot_)com for public key.   Key #: 441AFEA5   =( )=
PGPprint: FB D0 1C 1D EF DC 26 BA  B3 9E 84 0B 40 D6 59 9C     U

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