Re: [exim] Making 'warn' errors fatal

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Fred Viles
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Making 'warn' errors fatal
On 18 Jul 2005 at 14:19, Brian Candler wrote about
    "Re: [exim] Making 'warn' errors fat":


|...
| This works:
| 
|   warn
|     message = X-Virus-Warning: This message contains malware ($malware_name)
|     malware = *
| 
|   deny
|     malware = *
|     condition = 0
| 
| (note the 'condition = 0' which prevents the message being rejected;


That's clever!

| however
| if the virus scanner is not running, this generates a 4xx temporary failure)
|
| I was just wondering if there's a simpler way to get this result.


I don't think so, you've already improved on the conventional way by
eliminating the need for an acl variable.

- Fred