<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>Hi Anton,<br></div>
<div><br></div>
<div>I've been looking at improving the documentation on cyr_virusscan since you wrote to the list.<br></div>
<div><br></div>
<div>As Cyrus doesn't ship with ClamAV, it's assumed that you have separately installed it and are familiar with its operation and configuration. <a href="https://www.clamav.net/documents/installing-clamav">https://www.clamav.net/documents/installing-clamav</a> has more information.<br></div>
<div><br></div>
<div>Once ClamAV is installed, when you compile Cyrus, the configuration step will detect you have ClamAV installed and compile in support for cyr_virusscan with ClamAV.<br></div>
<div><br></div>
<div>Then you manually invoke cyr_virusscan (or set it up to get invoked periodically) to scan for infection. -r causes any infected messages to be removed from the target mailbox. </div>
<div><br></div>
<div>What is it about the removal flag, -r, that you would like to control? They're either removed, or they're not.<br></div>
<div><br></div>
<div>If you want to tell a user that they had infected mail removed, use the -n flag in addition.<br></div>
<div><br></div>
<div>Let me know what is unclear, so I can improve the documentation!</div>
<div><br></div>
<div>Thanks,<br></div>
<div> Nicola</div>
<div><br></div>
<div><br></div>
<div>On Thu, Aug 31, 2017, at 02:42 PM, Anton Shilov via Info-cyrus wrote:<br></div>
<blockquote type="cite"><p><div>Greetings Cyrus Team<br></div>
<div><br></div>
<div>Cyrus-IMAP 3.x.y offers anti-virus protaction with ClamAV that invokes via "cyr_virusscan". Man page doesn't have information for granulated configure clamav side. There are such words in the man page: "Scan mailbox(es) or messages for viruses using configured virus scanner or provided search criteria." Does string "...using configured virus scanner..." mean clavmav scanner configuing with its config file?<br></div>
<div>Please let me know how to use tool "cyr_virusscan" correct. I'm interesting on controlling parameter "-r"<br></div>
<div><br></div>
<div>Best regards,<br></div>
<div>Anton<br></div>
</p><div>----<br></div>
<div>Cyrus Home Page: <a href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a><br></div>
<div>List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br></div>
<div>To Unsubscribe:<br></div>
<div><a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br></div>
</blockquote><div><br></div>
</body>
</html>