19
19
<LINK REL="STYLESHEET" HREF="clamdoc.css">
21
<LINK REL="next" HREF="node19.html">
22
<LINK REL="previous" HREF="node16.html">
23
<LINK REL="up" HREF="node15.html">
21
<LINK REL="next" HREF="node20.html">
22
<LINK REL="previous" HREF="node17.html">
23
<LINK REL="up" HREF="node17.html">
24
24
<LINK REL="next" HREF="node19.html">
29
29
<DIV CLASS="navigation"><!--Navigation Panel-->
31
31
HREF="node19.html">
32
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
35
35
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
37
37
HREF="node17.html">
38
38
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
41
41
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
43
<B> Next:</B> <A NAME="tex2html420"
44
HREF="node19.html">Testing</A>
45
<B> Up:</B> <A NAME="tex2html416"
46
HREF="node15.html">Configuration</A>
47
<B> Previous:</B> <A NAME="tex2html410"
48
HREF="node17.html">On-access scanning</A>
49
<B> <A NAME="tex2html418"
43
<B> Next:</B> <A NAME="tex2html432"
44
HREF="node19.html">On-access scanning</A>
45
<B> Up:</B> <A NAME="tex2html428"
46
HREF="node17.html">Configuration</A>
47
<B> Previous:</B> <A NAME="tex2html422"
48
HREF="node17.html">Configuration</A>
49
<B> <A NAME="tex2html430"
50
50
HREF="node1.html">Contents</A></B>
53
53
<!--End of Navigation Panel-->
55
<H2><A NAME="SECTION00052000000000000000">
55
<H2><A NAME="SECTION00051000000000000000">
58
Nigel Horne's <code>clamav-milter</code> is a very efficient email scanner
59
designed for Sendmail. It's written entirely in C and only depends on
60
<code>libclamav</code> or <code>clamd</code>. You can find detailed installation
61
instructions in the <code>INSTALL</code> file that comes with the clamav-milter
62
sources. Basically, to connect it with Sendmail add the following lines to
63
<code>/etc/mail/sendmail.mc</code>:
65
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,
67
define(`confINPUT_MAIL_FILTERS', `clmilter')
69
If you're running it in <code>--external</code> mode, check entry in
70
<code>clamd.conf</code> of the form:
72
LocalSocket /var/run/clamav/clamd.sock
76
/usr/local/sbin/clamav-milter -lo /var/run/clamav/clmilter.sock
58
Before you start using the daemon you have to edit the configuration file
59
(in other case <code>clamd</code> won't run):
62
ERROR: Please edit the example config file /etc/clamd.conf.
64
This shows the location of the default configuration file. The format and
65
options of this file are fully described in the <SPAN CLASS="textit">clamd.conf(5)</SPAN>
66
manual. The config file is well commented and configuration should be
71
<!--Table of Child-Links-->
72
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
74
<UL CLASS="ChildLinks">
75
<LI><A NAME="tex2html433"
76
HREF="node19.html">On-access scanning</A>
78
<!--End of Table of Child-Links-->