Re: [exim] two stage virus scan

Página Inicial
Delete this message
Reply to this message
Autor: Christian Schmidt
Data:  
Para: exim-users
Assunto: Re: [exim] two stage virus scan
Hello Marten,

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

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


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