HOME LINKS SAL PUBLIC SOFTWARE SEARCH MADE UP

SAGATOR


scanc()
  Scanner daemon client.
  
  This scanner can be used to communicate with sagator's scanner daemon
  (scand() service). It is useful to run some scanners outside of chroot.
  
  Usage: scanc(scanner=None, addr='/tmp/scand.sock', prefix='/tmp/scand',
               timeout=60)
  
  Where: scanner is an scanner to use for recipient signature generator.
           You can leave it empty for many of scanners, but it is required
           for example for usrquota() scanner. It is good to define
           same scanners here as in scand() service.
         add is a string, which defines path to socket for communication
           with scanner daemon.
         prefix is a string, which defines directory and a part of
           filename to store scanned files, by default '/tmp/scand'
         timeout is an integer for socket timeout setting.
           Added in sagator-1.3.
  
  Example: scanc()
       or: scanc(usrquota('mydomain.sk'))
  
  New in version 0.8.0.