On 11/07/06, Jason Stanley <[EMAIL PROTECTED]> wrote:
> <snip>
>        warn malware = *
>        condition = ${if eq {${lookup mysql{SELECT virus_chk FROM domains 
> WHERE domains='${domain}'}}}{yes}}
>        message = X-Virus: Yes
>        log_message = VIRUS_FOUND:$malware_name FROM:$sender_address 
> TO:$recipients
> </snip>

As is explained in the docs, $domain is not available in the DATA acl
because there may be more than one domain. This is a VFAQ - check the
content scanning docs for ways round it.

http://www.exim.org/eximwiki/ExiscanExamples is a good summary.

Peter

-- 
Peter Bowyer
Email: [EMAIL PROTECTED]

-- 
## 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/

Reply via email to