Hello Marten,

Marten Lehmann, 19.06.2006 (d.m.y):

> Hello,
> 
> > acl_check_data:
> >  deny malware = *
> >  condition = ${if [EMAIL PROTECTED]
> >  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.

Well, that should do the trick, shouldn't it?

> 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?

Maybe I didn't get the point...

Regards,
Christian Schmidt

-- 
Jeder dumme Junge kann einen Käfer zertreten. Aber alle Professoren
der Welt können keinen herstellen.
                -- Arthur Schopenhauer

-- 
## 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/

Reply via email to