[exim] Making 'warn' errors fatal

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Brian Candler
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Making 'warn' errors fatal
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.