Re: [exim] Per domain ACL condition

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Peter Bowyer
日付:  
To: Exim, Users
題目: 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@???