Re: [exim] Making 'warn' errors fatal

Top Page
Delete this message
Reply to this message
Author: Alan J. Flavell
Date:  
To: Exim users list
Subject: 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).