Re: [exim] Making 'warn' errors fatal

Etusivu
Poista viesti
Vastaa
Lähettäjä: Alan J. Flavell
Päiväys:  
Vastaanottaja: Exim users list
Aihe: Re: [exim] Making 'warn' errors fatal
On Mon, 18 Jul 2005, Brian Candler wrote:

> I have an entry in my DATA ACL condition like this:
>
>   warn
>     message = X-Virus-Warning: This message contains malware ($malware_name)
>     malware = *

>
> I find that if the virus scanner is down, the message is accepted (250 OK).
> It seems that Exim considers failures in 'warn' sections to be non-fatal.
>
> I would like the message to be rejected with 4xx in this case.


Use "defer" ("deny" would produce a 5xx rejection).