Re: [exim] Making 'warn' errors fatal

Top Page
Delete this message
Reply to this message
Author: Jonathan Gonzalez
Date:  
To: Brian Candler
CC: exim-users
Subject: Re: [exim] Making 'warn' errors fatal
Hi Brian,

i have this in my exim4.conf:

acl_check_data:
  deny message     = Error - This message contains malware ($malware_name)
          demime    = *
          malware   = *


Hope this helps.
BR,

jonathan


On 7/18/05, Brian Candler <B.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. Do I have to
> add an extra condition, e.g.
>
>   deny
>     malware = *
>     condition = 0

>
> or is there a more direct way to tell Exim that a failure in a 'warn'
> condition is fatal?
>
> Thanks,
>
> Brian.
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>