我为clamd设置了一个单独的主机来处理病毒扫描,我想在投入生产之前对它进行测试。现在,虽然MailScanner对远程clamd的配置是清晰而简单的,但我无法找到任何关于如何使用clamdscan实现此操作的信息。有人知道吗?
发布于 2011-11-09 18:12:00
请看一下clamdscan.py:
$ 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.https://serverfault.com/questions/329395
复制相似问题