|
any peolple know the diference or the betwen "Routing
Rules" AND "Router CGI Script"
------------------------------------------------------------------------------------------- "Router CGI Script" for all mail boxes
[mail] mail.ini Router CGI Script =
x:/sambar6b3/cgi-bin/antivirus.pl ------------------------------------------------------------------------------------------- "routing Rules" for a sigle mail
box
routing.flt mailcgi "x:/sambar6b3/cgi-bin/antivirus.pl"
CASEI subject ^*jfkfkf* -------------------------------------------------------------------------------------------
when I run my script for the "Router CGI
Script" all work fine, but when use a for MAILBOX coming a message "the file
is in use for other aplication" I think that is sambar who use the file but
why work whith the first and dont work with the other?
may be a bug? or mistake?
this is my script:
#check the start time $start= time(); #get the spool
file name my
$spoolname = $ENV{'SPOOLNAME'};
#norton AV 2003
path -noresults- is a norton comand line switch for hide the
results.
@args = ("F:/Program Files/Norton AntiVirus/navw32.exe", $spoolname,
"/NORESULTS");
#run a command line in
this case NAV
system(@args); #open
the file/email for add wherever you want
$filename = $spoolname; open(FILE,
">>$filename") || exit(1); binmode
FILE;
#a simple substraction to get the time
of the scan for check the performance. $stop=time(); $total=($stop-$start)."\n"; # add a small text in the
email. print FILE "virus free by auyama\nscanerizata
in:".$total."secondi\n";
close FILE; exit(0);
-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/
|