<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://studioware.com/wikislax/index.php?action=history&amp;feed=atom&amp;title=ClamAV</id>
		<title>ClamAV - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://studioware.com/wikislax/index.php?action=history&amp;feed=atom&amp;title=ClamAV"/>
		<link rel="alternate" type="text/html" href="http://studioware.com/wikislax/index.php?title=ClamAV&amp;action=history"/>
		<updated>2026-05-07T15:20:56Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.2</generator>

	<entry>
		<id>http://studioware.com/wikislax/index.php?title=ClamAV&amp;diff=62&amp;oldid=prev</id>
		<title>Wikislax: /* Testing ClamAV */</title>
		<link rel="alternate" type="text/html" href="http://studioware.com/wikislax/index.php?title=ClamAV&amp;diff=62&amp;oldid=prev"/>
				<updated>2018-07-07T05:36:57Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Testing ClamAV&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 05:36, 7 July 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l109&quot; &gt;Line 109:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 109:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;eicar.com is a test signature for ClamAV. Make sure it works for you.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;eicar.com is a test signature for ClamAV. Make sure it works for you.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # '''clamscan -r -l scan.txt ./'''[{{SERVER}}/wikislax/download/eicar.com&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.gz &lt;/del&gt;eicar.com] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # '''clamscan -r -l scan.txt ./'''[{{SERVER}}/wikislax/download/eicar.com eicar.com] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ./eicar.com: Eicar-Test-Signature FOUND&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ./eicar.com: Eicar-Test-Signature FOUND&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wikislax</name></author>	</entry>

	<entry>
		<id>http://studioware.com/wikislax/index.php?title=ClamAV&amp;diff=61&amp;oldid=prev</id>
		<title>Wikislax: /* Testing ClamAV */</title>
		<link rel="alternate" type="text/html" href="http://studioware.com/wikislax/index.php?title=ClamAV&amp;diff=61&amp;oldid=prev"/>
				<updated>2018-07-07T05:18:36Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Testing ClamAV&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 05:18, 7 July 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l109&quot; &gt;Line 109:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 109:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;eicar.com is a test signature for ClamAV. Make sure it works for you.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;eicar.com is a test signature for ClamAV. Make sure it works for you.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # '''clamscan -r -l scan.txt ./'''[{{SERVER}}/wikislax/download/eicar.com eicar.com] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # '''clamscan -r -l scan.txt ./'''[{{SERVER}}/wikislax/download/eicar.com&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.gz &lt;/ins&gt;eicar.com] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ./eicar.com: Eicar-Test-Signature FOUND&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ./eicar.com: Eicar-Test-Signature FOUND&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wikislax</name></author>	</entry>

	<entry>
		<id>http://studioware.com/wikislax/index.php?title=ClamAV&amp;diff=60&amp;oldid=prev</id>
		<title>Wikislax: /* Testing ClamAV */</title>
		<link rel="alternate" type="text/html" href="http://studioware.com/wikislax/index.php?title=ClamAV&amp;diff=60&amp;oldid=prev"/>
				<updated>2018-07-07T04:43:10Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Testing ClamAV&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:43, 7 July 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l109&quot; &gt;Line 109:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 109:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;eicar.com is a test signature for ClamAV. Make sure it works for you.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;eicar.com is a test signature for ClamAV. Make sure it works for you.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # '''clamscan -r -l scan.txt ./'''[{{SERVER}}/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;slax&lt;/del&gt;/download/eicar.com eicar.com] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # '''clamscan -r -l scan.txt ./'''[{{SERVER}}/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wikislax&lt;/ins&gt;/download/eicar.com eicar.com] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ./eicar.com: Eicar-Test-Signature FOUND&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ./eicar.com: Eicar-Test-Signature FOUND&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wikislax</name></author>	</entry>

	<entry>
		<id>http://studioware.com/wikislax/index.php?title=ClamAV&amp;diff=29&amp;oldid=prev</id>
		<title>Wikislax: Created page with &quot;{{RightTOC}}  == What is ClamAV ? ==  [http://www.clamav.net Clamav] is an Open Source antivirus.  == Installing ClamAV ==  Get the tarball from the [http://www.clamav.net/lan...&quot;</title>
		<link rel="alternate" type="text/html" href="http://studioware.com/wikislax/index.php?title=ClamAV&amp;diff=29&amp;oldid=prev"/>
				<updated>2017-12-06T21:31:50Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{RightTOC}}  == What is ClamAV ? ==  [http://www.clamav.net Clamav] is an Open Source antivirus.  == Installing ClamAV ==  Get the tarball from the [http://www.clamav.net/lan...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{RightTOC}}&lt;br /&gt;
&lt;br /&gt;
== What is ClamAV ? ==&lt;br /&gt;
&lt;br /&gt;
[http://www.clamav.net Clamav] is an Open Source antivirus.&lt;br /&gt;
&lt;br /&gt;
== Installing ClamAV ==&lt;br /&gt;
&lt;br /&gt;
Get the tarball from the [http://www.clamav.net/lang/en/download/sources/ download page]. Install in the standard way, create a user for running the software (e.g. '''milter''', as a single user has to be used by both '''Clamav''' and '''MIMEDefang''').&lt;br /&gt;
&lt;br /&gt;
 # tar -C /usr/local -xvf clamav-x.y.tar.gz&lt;br /&gt;
 # cd /usr/local/&lt;br /&gt;
 # chown -R root:root clamav-x.y.z&lt;br /&gt;
 # cd clamav-x.y&lt;br /&gt;
 # ./configure --help | less&lt;br /&gt;
 # ./configure --libdir=/usr/local/lib64 --mandir=/usr/local/man \&lt;br /&gt;
 --sysconfdir=/etc --with-user=milter --with-group=milter&lt;br /&gt;
 # make&lt;br /&gt;
 # make install&lt;br /&gt;
 # make clean&lt;br /&gt;
 # ldconfig&lt;br /&gt;
 # groupadd milter&lt;br /&gt;
 # useradd -g milter -s /bin/false milter&lt;br /&gt;
 # cd /var/log&lt;br /&gt;
 # mkdir -m 700 milter&lt;br /&gt;
 # chown milter:milter milter&lt;br /&gt;
 # cd /var/run&lt;br /&gt;
 # mkdir -m 700 milter&lt;br /&gt;
 # chown milter:milter milter&lt;br /&gt;
 # cd /usr/local/share&lt;br /&gt;
 # mkdir clamav&lt;br /&gt;
 # chown milter:milter clamav&lt;br /&gt;
&lt;br /&gt;
== Configuring ClamAV ==&lt;br /&gt;
&lt;br /&gt;
Review the configuration files in '''/etc/clamd.conf''' and '''/etc/freshclam.conf'''. Comment out the '''Example''' line and set the other parameters as below. The User milter line tells the software to execute as user milter :&lt;br /&gt;
&lt;br /&gt;
 # cd /etc&lt;br /&gt;
 # cp clamd.conf.sample clamd.conf&lt;br /&gt;
 # vi clamd.conf&lt;br /&gt;
 . . .&lt;br /&gt;
 #Example&lt;br /&gt;
 LogFile /var/log/milter/clamd.log&lt;br /&gt;
 PidFile /var/run/milter/clamd.pid&lt;br /&gt;
 LocalSocket /var/spool/MIMEDefang/clamd.sock&lt;br /&gt;
 TCPAddr 127.0.0.1&lt;br /&gt;
 User milter&lt;br /&gt;
 DetectBrokenExecutables yes&lt;br /&gt;
 &amp;lt;esc&amp;gt;&lt;br /&gt;
 :x&lt;br /&gt;
 # cp freshclam.conf.sample freshclam.conf&lt;br /&gt;
 # vi freshclam.conf&lt;br /&gt;
 . . .&lt;br /&gt;
 #Example&lt;br /&gt;
 DatabaseDirectory /usr/local/share/clamav&lt;br /&gt;
 UpdateLogFile /var/log/milter/freshclam.log&lt;br /&gt;
 LogFileMaxSize 2M&lt;br /&gt;
 LogTime yes&lt;br /&gt;
 PidFile /var/run/milter/freshclam.pid&lt;br /&gt;
 DatabaseOwner milter&lt;br /&gt;
 DatabaseMirror db.FR.clamav.net&lt;br /&gt;
 NotifyClamd /etc/clamd.conf&lt;br /&gt;
 &amp;lt;esc&amp;gt;&lt;br /&gt;
 :x&lt;br /&gt;
&lt;br /&gt;
== Running ClamAV ==&lt;br /&gt;
&lt;br /&gt;
clamd and freshclam run as daemons so must be launched at startup and stopped at shutdown. Update '''/etc/rc.d/rc.local''' and '''/etc/rc.d/rc.local_shutdown''' accordingly :&lt;br /&gt;
&lt;br /&gt;
 # vi /etc/rc.d/rc.local&lt;br /&gt;
 . . .&lt;br /&gt;
 # start clamd&lt;br /&gt;
 if [ -x /usr/local/sbin/clamd ]; then&lt;br /&gt;
         echo &amp;quot;Starting clamd daemon: /usr/local/sbin/clamd&amp;quot;&lt;br /&gt;
         /usr/local/sbin/clamd&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 # start freshclam&lt;br /&gt;
 if [ -x /usr/local/bin/freshclam ]; then&lt;br /&gt;
         echo &amp;quot;Starting freshclam daemon: /usr/local/bin/freshclam -d&amp;quot;&lt;br /&gt;
         /usr/local/bin/freshclam -d&lt;br /&gt;
 fi&lt;br /&gt;
 &amp;lt;esc&amp;gt;&lt;br /&gt;
 :x&lt;br /&gt;
 # vi /etc/rc.d/rc.local_shutdown&lt;br /&gt;
 . . .&lt;br /&gt;
 # stop freshclam&lt;br /&gt;
 if [ -r /var/run/milter/freshclam.pid ]; then&lt;br /&gt;
         echo &amp;quot;Stopping freshclam: kill -INT `cat /var/run/milter/freshclam.pid`&amp;quot;&lt;br /&gt;
         kill -INT `cat /var/run/milter/freshclam.pid`&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 # stop clamd&lt;br /&gt;
 if [ -r /var/run/milter/clamd.pid ]; then&lt;br /&gt;
         echo &amp;quot;Stopping clamd: kill -INT `cat /var/run/milter/clamd.pid`&amp;quot;&lt;br /&gt;
         kill -INT `cat /var/run/milter/clamd.pid`&lt;br /&gt;
 fi&lt;br /&gt;
 &amp;lt;esc&amp;gt;&lt;br /&gt;
 :x&lt;br /&gt;
&lt;br /&gt;
At this stage freshclam can be launched manually to initialize the virus database however clamd will fail as it requires a socket created by MIMEDefang when starting up. So we will delay clamd execution until MIMEDefang Sendmail with Milter are ready for use.&lt;br /&gt;
&lt;br /&gt;
== Testing ClamAV ==&lt;br /&gt;
&lt;br /&gt;
Don't run '''rc.local''' now. Download the ClamAV database first:&lt;br /&gt;
&lt;br /&gt;
 # freshclam&lt;br /&gt;
&lt;br /&gt;
eicar.com is a test signature for ClamAV. Make sure it works for you.&lt;br /&gt;
&lt;br /&gt;
 # '''clamscan -r -l scan.txt ./'''[{{SERVER}}/slax/download/eicar.com eicar.com] &lt;br /&gt;
 ./eicar.com: Eicar-Test-Signature FOUND&lt;br /&gt;
 &lt;br /&gt;
 ----------- SCAN SUMMARY -----------&lt;br /&gt;
 Known viruses: 4890369&lt;br /&gt;
 Engine version: 0.99.2&lt;br /&gt;
 Scanned directories: 0&lt;br /&gt;
 Scanned files: 1&lt;br /&gt;
 Infected files: 1&lt;br /&gt;
 Data scanned: 0.00 MB&lt;br /&gt;
 Data read: 0.00 MB (ratio 0.00:1)&lt;br /&gt;
 Time: 6.302 sec (0 m 6 s)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{pFoot|[[SpamAssassin]]|[[Main Page]]|[[Milter]]}}&lt;/div&gt;</summary>
		<author><name>Wikislax</name></author>	</entry>

	</feed>