HOME LINKS SAL PUBLIC SOFTWARE SEARCH MADE UP

SAGATOR


quarantine()
  Quarantine into a directory.
  
  This scanner can be used to quarantine an virus/spam.
  qdir is a directory, in which viruses are stored.
  Following regular expression can be used to disable quarantining
  of some viruses or spams.
  
  Usage: quarantine('qdir', 'dont quarantine regular expression', scanners)
  
  Where: 'qdir' is a string, which defines a qatantine directory,
                directory, in which viruses/spams are stored.
                This string can contain %X substrings. These strings
                are represented as defined in strftime. For more information
                see "man strftime". If this directory not exitst,
                it's created.
         'dont quarantine regular expression' is a regular expression,
                which defines virus names, which can't be quarantined
  
  Example: quarantine('/var/spool/sagator/quarantine/%Y%m', '', a_scanner())
             - every month will be stored in separate directory