我为 设立了一个单独的主机来clamd
处理病毒扫描,我想在投入生产之前对其进行测试。现在,虽然 MailScanner 的远程配置clamd
清晰简单,但我找不到有关如何使用 进行此操作的任何信息clamdscan
。有人知道吗?
答案1
$ clamdscan.py -h
Usage: clamdscan.py [OPTIONS] file [file , file , ...]
-h,--help Show this help
-V,--version Show clamd version and exit
--quiet Only output error messages
--no-summary Disable the summary at the end of scanning
--remove Remove the infected files. Be careful!
-t HOST,--host=HOST The clamd host to connect to
-p PORT,--port=PORT The port to connect to on the clamd host
-u SOCKET,--unix-socket=SOCKET Path to the unix socket to use.
NOTE: This overrides any setting for host
and port.