After processing a message, ICAP anti-virus programs like SASVE determines whether a message has a virus or not. mode allows you to specify the string returned by the ICAP program indicating this verdict. The string choices are null, default, ICAP result string, or a verdict string (specified with the verdict option). Note that default is not null, the ICAP result string, nor the string specified by verdict, but some other non-configurable string returned by the program. The mode operations are outlined in the table below.
Table 14–7 Returned Verdict String for the ICAP mode Option
verdict\Setting |
Virus? |
mode=0 |
mode=1 |
mode=2 |
mode=3 |
---|---|---|---|---|---|
verdict="" (not set) |
yes |
null |
ICAP result |
ICAP result |
ICAP result |
no |
default |
default |
ICAP result |
default |
|
verdict=string |
yes |
verdict string |
ICAP result |
ICAP result |
ICAP result |
no |
default |
default |
ICAP result |
verdict string |
The first column indicates whether the verdict option is set or not set. The second column indicates whether the message contains a virus or not. The mode columns indicate the string returned for the various modes. For example, if verdict is not set and mode is set to 0 and a message does not have a virus, the ICAP program returns a default. If the verdict is set to WARNING VIRUS! and mode is set to 0 and a message does have a virus, the ICAP program returns the string WARNING VIRUS!