procmail
[Top] [All Lists]

Re: [pro] Re: Real Virus Scanner

2004-02-13 22:36:23
On 13 Feb 2004, at 16:32, Kai Weber wrote:
"Wait  for  the  filter or program to finish and check its exitcode
(normally ignored); if the filter is unsuccessful, then  the  text will
not have been filtered."

What does "then the text will not have been filtered." mean?

It means that the ACTION of that specific recipe FAILED. (for purposes of the 'e' and 'a' flags).

W should be exactly that same, but not give you the "Program failed" in the logs. There seems to be some debate as to whether or not w and W are actually equivalent though.

on the surface, they certainly behave as expected:

from testing:

w flag
procmail: Program failure (64) of "exitcode64"

W flag
procmail: Non-zero exitcode (64) from "exitcode64"

however, if W is discarding the output, that would be a fairly serious bug I would think.

(exitcode64 was simply an executable:

#!/bin/sh

exit 64
)

--
If fashion is your trade then when you're naked I guess you must be unemployed.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail