Re: [exim] Per domain ACL condition

Top Pagina
Delete this message
Reply to this message
Auteur: Peter Bowyer
Datum:  
Aan: Exim, Users
Onderwerp: Re: [exim] Per domain ACL condition
On 11/07/06, Jason Stanley <jasons@???> 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: peter@???