~ubuntu-branches/ubuntu/breezy/clamav/breezy-backports

« back to all changes in this revision

Viewing changes to docs/html/node29.html

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2005-09-19 09:05:59 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050919090559-hikpqduq8yx5qxo2
Tags: 0.87-1
* New upstream version
  - Fixes CAN-2005-2920 and CAN-2005-2919 (closes: #328660)
* New logcheck line for clamav-daemon (closes: #323132)
* relibtoolize and apply kfreebsd patch (closes: #327707)
* Make sure init.d script starts freshclam up again after upgrade when run
  from if-up.d (closes: #328912)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
2
 
3
 
<!--Converted with LaTeX2HTML 2K.1beta (1.48)
 
3
<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
4
4
original version by:  Nikos Drakos, CBLU, University of Leeds
5
5
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
6
6
* with significant contributions from:
7
7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8
8
<HTML>
9
9
<HEAD>
10
 
<TITLE>clamav-milter</TITLE>
11
 
<META NAME="description" CONTENT="clamav-milter">
 
10
<TITLE>clamd</TITLE>
 
11
<META NAME="description" CONTENT="clamd">
12
12
<META NAME="keywords" CONTENT="clamdoc">
13
13
<META NAME="resource-type" CONTENT="document">
14
14
<META NAME="distribution" CONTENT="global">
15
15
 
16
16
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
17
 
<META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta">
 
17
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
18
18
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
19
19
 
20
20
<LINK REL="STYLESHEET" HREF="clamdoc.css">
21
21
 
22
 
<LINK REL="next" HREF="node30.html">
23
22
<LINK REL="previous" HREF="node28.html">
24
 
<LINK REL="up" HREF="node28.html">
 
23
<LINK REL="up" HREF="node27.html">
25
24
<LINK REL="next" HREF="node30.html">
26
25
</HEAD>
27
26
 
28
27
<BODY >
29
28
<!--Navigation Panel-->
30
 
<A NAME="tex2html735"
 
29
<A NAME="tex2html889"
31
30
  HREF="node30.html">
32
 
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33
 
 SRC="/usr/share/latex2html/icons/next.png"></A> 
34
 
<A NAME="tex2html731"
35
 
  HREF="node28.html">
36
 
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37
 
 SRC="/usr/share/latex2html/icons/up.png"></A> 
38
 
<A NAME="tex2html725"
39
 
  HREF="node28.html">
40
 
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41
 
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
 
<A NAME="tex2html733"
 
31
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
 
32
<A NAME="tex2html885"
 
33
  HREF="node27.html">
 
34
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
 
35
<A NAME="tex2html881"
 
36
  HREF="node28.html">
 
37
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
 
38
<A NAME="tex2html887"
43
39
  HREF="node1.html">
44
 
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45
 
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
 
40
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
46
41
<BR>
47
 
<B> Next:</B> <A NAME="tex2html736"
48
 
  HREF="node30.html">IVS Milter</A>
49
 
<B> Up:</B> <A NAME="tex2html732"
50
 
  HREF="node28.html">Third party software</A>
51
 
<B> Previous:</B> <A NAME="tex2html726"
52
 
  HREF="node28.html">Third party software</A>
53
 
 &nbsp <B>  <A NAME="tex2html734"
 
42
<B> Next:</B> <A NAME="tex2html890"
 
43
  HREF="node30.html">LibClamAV</A>
 
44
<B> Up:</B> <A NAME="tex2html886"
 
45
  HREF="node27.html">Output format</A>
 
46
<B> Previous:</B> <A NAME="tex2html882"
 
47
  HREF="node28.html">clamscan</A>
 
48
 &nbsp <B>  <A NAME="tex2html888"
54
49
  HREF="node1.html">Contents</A></B> 
55
50
<BR>
56
51
<BR>
57
52
<!--End of Navigation Panel-->
58
53
 
59
 
<H2><A NAME="SECTION00061000000000000000">
60
 
clamav-milter</A>
61
 
</H2>
62
 
    <B>Homepage:</B> part of the ClamAV package
63
 
<BR>    <B>Supports:</B> clamd
64
 
<BR>
65
 
Nigel Horne's clamav-milter is a very fast email scanner designed for
66
 
    sendmail. It's written entirely in C and uses ClamAV's internal mail
67
 
    scanner (also written by Nigel).
68
 
<BR>    <B>Installation:</B>
69
 
<BR>
70
 
You need libmilter development files. Configure ClamAV with
71
 
    <PRE>
72
 
    $ ./configure --enable-milter
73
 
</PRE>
74
 
    and recompile. The program will be installed in
75
 
    /usr/local/sbin/clamav-milter. The following instructions were adopted
76
 
    from Nigel's INSTALL file: add to /etc/mail/sendmail.mc:
77
 
    <PRE>
78
 
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,
79
 
F=, T=S:4m;R:4m')dnl
80
 
define(`confINPUT_MAIL_FILTERS', `clmilter')
81
 
</PRE>
82
 
    Check entries in clamav.conf of the form:
83
 
    <PRE>
84
 
        LocalSocket /var/run/clamd.sock
85
 
        ScanMail
86
 
        StreamSaveToDisk
87
 
</PRE>
88
 
    Start clamav-milter:
89
 
    <PRE>
90
 
        /usr/local/sbin/clamav-milter -lo /var/run/clmilter.sock
91
 
</PRE>
92
 
    and restart sendmail.
 
54
<H3><A NAME="SECTION00064200000000000000">
 
55
clamd</A>
 
56
</H3>
 
57
    <code>clamd</code> uses a <code>clamscan</code> compatible output format:
 
58
    <PRE>
 
59
        zolw@localhost:~$ telnet localhost 3310
 
60
        Trying 127.0.0.1...
 
61
        Connected to localhost.
 
62
        Escape character is '^]'.
 
63
        SCAN /home/zolw/test
 
64
        /home/zolw/test/clam.exe: ClamAV-Test-File FOUND
 
65
        Connection closed by foreign host.
 
66
</PRE>
 
67
    In the <B>SCAN</B> mode it closes the connection when the first virus
 
68
    is found.
 
69
    <PRE>
 
70
        SCAN /home/zolw/test/clam.zip
 
71
        /home/zolw/test/clam.zip: ClamAV-Test-File FOUND
 
72
</PRE>
 
73
    <B>CONTSCAN</B> continues scanning even if virus was already found.
 
74
<BR>
 
75
Error messages are printed in the following format:
 
76
    <PRE>
 
77
        SCAN /no/such/file
 
78
        /no/such/file: Can't stat() the file. ERROR
 
79
</PRE>
93
80
 
94
81
<P>
95
82
<BR><HR>
96
83
<ADDRESS>
97
84
Tomasz Kojm
98
 
2004-06-14
 
85
2005-09-16
99
86
</ADDRESS>
100
87
</BODY>
101
88
</HTML>