Hello, >>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. > > Well, that should do the trick, shouldn't it?
I hope so. >>So the question is: How can I define the function "requiresVirusScan" with >>perl in exim an exim configuration. > > Why do you need something perl-ish when you can do anything you want > using acl variables? 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. Regards Marten -- ## 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/
