procmail
[Top] [All Lists]

Re: Making Clamscan work

2004-04-14 08:12:27
On Wed, 14 Apr 2004, 15:48 GMT+02 Dallman Ross wrote:

[...]
        SC_OUT=| clamscan --mbox --disable-summary --stdout -
[...]

it seems that the '--disable-summary' option has been replaced by
'--no-summary' in recent ClamAV versions (at least, as of version
0.67):

[root(_at_)baby root]# clamscan --help

                          Clam AntiVirus Scanner 0.70rc
                (C) 2002 - 2004 Tomasz Kojm <tkojm(_at_)clamav(_dot_)net>

    --help                -h             Show help
    --version             -V             Print version number and exit
    --verbose             -v             Be verbose
    --debug                              Enable debug messages
    --quiet                              Be quiet - only output error messages
    --stdout                             Write to stdout instead of stderr
                                         (this help is always written to stdout)

    --tempdir=DIRECTORY                  create temporary files in DIRECTORY
    --database=FILE/DIR   -d FILE/DIR    Load virus database from FILE or load
                                         all .db and .db2 files from DIR
    --log=FILE            -l FILE        Save scan report to FILE
    --recursive           -r             Scan directories recursively
    --infected            -i             Print infected files only
    --remove                             Remove infected files. Be careful.
    --move=DIRECTORY                     Move infected files into DIRECTORY
    --exclude=PATT                       Don't scan file names containing PATT
    --include=PATT                       Only scan file names containing PATT
    --bell                               Sound bell on virus detection
    --no-summary                         Disable summary at end of scanning
    --mbox                -m             Treat stdin as a mailbox

    --no-ole2                            Disable OLE2 support
    --no-archive                         Disable libclamav archive support
    --detect-encrypted                   Detect encrypted archives.
    --max-space=#n                       Extract first #n kilobytes only
    --max-files=#n                       Extract first #n files only
    --max-recursion=#n                   Maximal recursion level
    --unzip[=FULLPATH]                   Enable support for .zip files
    --unrar[=FULLPATH]                   Enable support for .rar files
    --unace[=FULLPATH]                   Enable support for .ace files
    --arj[=FULLPATH]                     Enable support for .arj files
    --unzoo[=FULLPATH]                   Enable support for .zoo files
    --lha[=FULLPATH]                     Enable support for .lha files
    --jar[=FULLPATH]                     Enable support for .jar files
    --tar[=FULLPATH]                     Enable support for .tar files
    --deb[=FULLPATH to ar]               Enable support for .deb files,
                                         implies --tgz , but doesn't conflict
                                         with --tgz=FULLPATH.
    --tgz[=FULLPATH]                     enable support for .tar.gz, .tgz files

However, '--disable-summary' stll works, too.

rob.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>