Hi !!
Maybe it will be better that you manage to build a database where
you can lookup every local address and get a boolean indicating
if the user requires virus scan or not. When you build that database
you should take redirections in accout.
> I can store boolean values in acl-variables. But I need to know which
> value to store by a recursive function. Recursive, because each
> recipient can be a redirect that can have multiple recipients and each
> recipient of this redirect can be another redirect that has multiple
> recipients and so on. I need to find out if at least one recipient is a
> mailbox that has the virus scan enabled. I don't know how to do this
> within an exim config.
>
> And I don't know yet how to do this with perl-enabled exim. Has anyone
> tried to do something similar before?
>
> I would like to use exim functions like lsearch and variables like
> $local_part and $domain within the perl parts, is this possible? I
> haven't looked for examples yet, sorry.
--
Best regards ...
----------------------------------------------------------------
David Saez Padros http://www.ols.es
On-Line Services 2000 S.L. e-mail david@???
Pintor Vayreda 1 telf +34 902 50 29 75
08184 Palau-Solita i Plegamans movil +34 670 35 27 53
----------------------------------------------------------------