man clamassassin (Commandes) - virus filter wrapper for clamav

NAME

clamassassin - virus filter wrapper for clamav

SYNOPSIS

/usr/bin/clamassassin [mail]

DESCRIPTION

This manual page documents briefly the clamassassin command. This manual page was written for the Debian distribution because the original program does not have a manual page.

clamassassin is a simple virus filter wrapper for ClamAV for use in procmail filters and similiar applications. clamassassin's interface is similiar to that of spamassassin, making it easy to implement for those familiar with that tool.

OPTIONS

clamassassin does not take any command line options.

PROCMAIL

To pass your mail through clamassassin, add the following command to your procmailrc file (/etc/procmailrc or ~/.procmailrc):

:0fw |/usr/bin/clamassassin

The above will forward the mail to clamassassin, which will use /usr/bin/clamscan to scan the mail, and add the headers X-Virus-Status and X-Virus-Report as appropriate. To filter infected mails, you have to set an additional filter-rule:

:0: * ^X-Virus-Status: Yes IN.virus

In this example, all infected mails are sorted to the "IN.virus" mail folder. If you want to destroy such messages altogether, you can also change IN.virus to /dev/null.

For further information, please have a look at /usr/share/doc/clamassassin/.

SEE ALSO

AUTHOR

This manual page was written by Daniel Leidert (dale) <daniel.leidert@wgdd.de> for the Debian project (but may be used by others).

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

See /usr/share/doc/clamassassin/copyright for a more detailed copyright notice.