Re: [Exim] exiscan: Multiple "message=" actions?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dennis Davis
Dátum:  
Címzett: Martin A. Brooks
CC: exim-users
Tárgy: Re: [Exim] exiscan: Multiple "message=" actions?
>From: "Martin A. Brooks" <martin@???>
>Subject: [Exim] exiscan: Multiple "message=" actions?
>To: exim-users@???
>Date: Wed, 28 Jan 2004 13:37:11 +0000
>
>Is it possible to collapse a pair of exiscan tests such as:
>
>warn message = X-Virus-Warning: $malware_name
>demime = *
>malware = *
>
>warn message = Subject: Virus found ($malware_name): $h_Subject
>demime = *
>malware = *
>
>..down to one block performing both modifications?


No, You can't have multiple warn messages using the same conditions.
They each need their separate set of conditions. This is an exim
restriction, nothing to do with exiscan.

>I ask this assuming that the results of one demime/malware block
>will not be cached over to another. If they are, my question is
>moot.


The results of both demime and malware are cached. So the second
exiscan test is *very* cheap.