如何在使用clamdscan时指定clamd的IP地址?

我build立了一个单独的主机来处理病毒扫描,我想在投入生产之前对它进行testing。 现在,虽然MailScanner的远程configuration是清晰而简单的,但我无法find任何有关clamdscan 。 有人知道吗?

看看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.