close
yum install clamd
/etc/init.d/clamd start
掃毒指令:clamscan
病毒碼更新:freshclam
跟 Amavisd-new 配合的時候注意
/etc/amavisd.conf 的
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/tmp/clamd.socket"],
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ]
/etc/clamd.conf 的
LocalSocket /tmp/clamd.socket
必須要一致
全站熱搜
留言列表