On Thu, 4 Sep 2003, Nicki Messerschmidt, Linksystem Muenchen GmbH wrote:

Thanks for the reply.

> >   I just can't work it out. Maybe it's too late here.
> It uses the "uvscan --version" imho just to check if uvscan is working
> the actual versionstring is taken from:

It was too late :)
  The function scan_queue where I saw QS getting the uvscan version number
is in fact the function which is performed on the -z flag. When doing
normal scanning the --version is never checked.

> /var/spool/qmailscan/qmail-scanner-queue-version.txt
> which ist genereted by the "-z" option. I had the same problem earlier
> and now added "qmail-scanner.pl -z" to my pattern update script....

I'll do the same it's no great performance hit. Although I do see the file
is updated with:

  open(VER,">$versionfile")||die "cannot write to $versionfile - $!";
  print VER $SCANINFO;
  close(VER);

There's a slight chance of the file being empty when a QS.pl fires up. I
would've thought writing to a unique tmp version and then moving the file
into place would be safer. That would also prevent multiple instances of
QS.pl -z messing the contents up too.
  Cheers.

>
>
> Cheers
> Nicki
>
> - --
> Linksystem Muenchen GmbH                         [EMAIL PROTECTED]
> Schloerstrasse 10                          http://www.link-m.de
> 80634 Muenchen                             Tel. 089 / 890 518-0
> We make the Net work.                      Fax 089 / 890 518-77
> PGP-Key:                                      
> https://www.link-m.de/pgp/n.messerschmidt.asc
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQE/V13m6zWc+bXuIEMRAuugAKDYLNuCK3FsPSu/KMC7kKkQzaibrACdFYAi
> U5fotep1USW+xdwrpHYmUrU=
> =l9ud
> -----END PGP SIGNATURE-----
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Qmail-scanner-general mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
>
>

-- 
Mark Powell - UNIX System Administrator - The University of Salford
Information Services Division, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 4837  Fax: +44 161 295 5888  www.pgp.com for PGP key


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to