• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

CHANGESH A D16-Mar-200675 42

COPYINGH A D29-Sep-200517.6 KiB340281

Makefile.inH A D29-Sep-20051.5 KiB5825

READMEH A D16-Mar-20061.9 KiB6850

VERSIONH A D16-Mar-20065 31

clamd-stream-client.cH A D16-Mar-20066.3 KiB259204

configureH A D16-Mar-2006101.4 KiB3,4672,883

configure.inH A D29-Sep-20051.1 KiB3427

install-shH A D29-Sep-20055.5 KiB252153

make-distH A D29-Sep-20052.1 KiB135109

README

1# -*- text -*-
2#
3# Copyright 2003 Laurent Wacrenier
4#
5# This file is part of clamd-stream-client.
6#
7# clamd-stream-client is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# clamd-stream-client is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with PLL popd; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20#
21# $Id: README,v 1.2 2006/03/16 19:04:54 lwa Exp $
22
23
24*** What is it ?
25
26This is a clamd client. Clamd is a server, part of ClamAV antivirus.
27You can found it from http://clamav.sourceforge.net/
28
29It uses the clamd(8) STREAM command, so you have to open your firewall
30to allow any connections from your client to your server on high
31ports.
32
33It runs on FreeBSD 5 and maybe on POSIX plateforms. Clamav libraries
34are not needed to compile.
35
36I trust it enough to pass my mail trough it.
37
38*** Procmail usage
39
40You may add something like this in your .procmailrc to seek virus and
41archive them in a compressed folder (here junk/virus.gz)
42
43VIRUS=`clamd-stream-client -t 3 -d clamd-server-name`
44
45:0
46* VIRUS ?? .
47{
48        :0fw
49        |formail -A "X-Virus: $VIRUS"
50
51        :0W:
52        | gzip -9 >> junk/virus.gz
53}
54
55*** Maildrop usage
56
57As Maildrop expect the filter commands returns true, you have to get
58the virus name like this
59
60VIRUS=`/usr/local/bin/clamd-stream-client -d clamd.local ; true`
61
62Then check if the $VIRUS string is empty.
63
64*** Author
65
66If you find a bug or have useful comment or improvement, please send it to
67Laurent Wacrenier <laurent.wacrenier@gmail.com>
68