Re: no_mbox_unspool on errors only?
"Richard.Hall" <[email protected]> Sat, 25 Sep 2004 22:43:56 +0100 (BST)
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 25 Sep 2004, Scott Call wrote:
> On Sat, 25 Sep 2004, Tom Kistner wrote:
>
> > deny message = Contains virus ($malware_name)
> > condition = $acl_m0
> > condition = $malware_name
> >
> > warn message = Error while scanning
> > condition = $acl_m0
> > !condition = $malware_name
> > control = no_mbox_unspool
> > control = freeze
>
> This seems not to work:
> 2004-09-25 13:20:48 1CBJ2F-0002lQ-DR H=ottawa.nshoster.com [69.57.185.242]
> Warning: ACL "warn" statement skipped: condition test deferred: invalid
> "condition" value "Worm.SomeFool.P"
> 2004-09-25 13:20:48 1CBJ2F-0002lQ-DR H=ottawa.nshoster.com [69.57.185.242]
> F=<> temporarily rejected after DATA: invalid "condition" value
> "Worm.SomeFool.P"
>
>
> Did I miss something?
Well, I'm no expert, but I thought it looked odd (ingenious, but odd) when
Tom wrote it. I suspect you need to replace
condition = $malware_name
by
condition = ${if eq {$malware_name} {} {no} {yes}}
(in both places, of course)
> Thanks
> -Scott
HTH,
Richard