....
 

Guardian Digital Inc. > InfoCenter > Mailing List Archives > Amavis

Amavis Mailing List Archive

From: Andreas Kotowicz (kotoml@mynetix.de)
Date: Sat Dec 25 2004 - 11:54:40 EST


Hi Mark,

>
> Yes, you can declare your own additional variables (with: use vars,
> or with my() ), and assign references to them into the official variables
> like @bypass_virus_checks_maps.

I tried now following without luck:

use vars qw(%local_virus);
read_hash(\%local_virus, '/var/spool/amavis/virus_check');
@bypass_virus_checks_maps = ( {map {$_ => !$local_virus{$_}} keys %
local_virus}, 1);

but still all mail gets virus checked. where's the problem?

andreas

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/



[ About Guardian Digital ] - [ Press Center ] - [ Contact Us ] - [ System Activation ] - [ Reseller Info ] - [ Online Store ] - [ Site Map ]
Copyright (c) 2000 - 2004 Guardian Digital, Inc. Linux Lockbox and EnGarde are Trademarks of Guardian Digital, Inc.