Re: [exim] two stage virus scan

Pàgina inicial
Delete this message
Reply to this message
Autor: Marten Lehmann
Data:  
A: exim-users
Assumpte: Re: [exim] two stage virus scan
Hello,

> acl_check_data:
> deny malware = *
> condition = ${if eq{requiresVirusScan{$local_part@$domain}}{true}}
> message = Your message contains a virus ($malware_name).
>
>
> This is not possible.


Not in acl_check_data, as I wrote in my last email. But I could run this in
acl_check_rcpt and store the result in an acl variable which I could use in
acl_check_data in the condition.

So the question is: How can I define the function "requiresVirusScan" with
perl in exim an exim configuration.

Regards
Marten