<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
	<title>fdiv.net</title>
	<link>http://fdiv.net</link>
	<description>the floating point divide</description>
	<pubDate>Tue, 18 Nov 2008 21:31:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>
	<language>en</language>

		<item>
		<title>clam readme</title>
		<link>http://fdiv.net/server/qmail-setup-20061020/clam-readme/</link>
		<comments>http://fdiv.net/server/qmail-setup-20061020/clam-readme/#comments</comments>
		<pubDate>Sat, 21 Oct 2006 14:27:25 +0000</pubDate>
		<dc:creator>bbinkovitz</dc:creator>
		
	<category>Uncategorized</category>
		<guid>http://fdiv.net/server/qmail-setup-20061020/clam-readme/</guid>
		<description><![CDATA[	To create individual clamd-instance take the following files and
modify/copy them in the suggested way:
	clamd.conf:
  * set LogFile, PidFile, LocalSocket and User to suitable values
  * place this file into /etc/clamd.d with an unique service-name;
    e.g. as /etc/clamd.d/&#60;SERVICE&#62;.conf
	  To make logfile rotation work properly, the LogFile should be
  writable [...]]]></description>
			<content:encoded><![CDATA[	<div class="code"><code>To create individual clamd-instance take the following files and<br />
modify/copy them in the suggested way:</p>
	<p>clamd.conf:<br />
  * set LogFile, PidFile, LocalSocket and User to suitable values<br />
  * place this file into /etc/clamd.d with an unique service-name;<br />
    e.g. as /etc/clamd.d/&lt;SERVICE&gt;.conf</p>
	<p>  To make logfile rotation work properly, the LogFile should be<br />
  writable for the assigned User. Recommended way to reach this, is<br />
  to:<br />
  * make it owned by the User's *group*<br />
  * assign at least 0620 (u+rw,g+w) permissions</p>
	<p>  A suitable command might be<br />
  | # touch &lt;logfile&gt;<br />
  | # chgrp &lt;user&gt; &lt;logfile&gt;<br />
  | # chmod 0620   &lt;logfile&gt;</p>
	<p>  NEVER use 'clamav' as the user since he can modify the database.<br />
  This is the user who is running the application; e.g. for mimedefang<br />
  (http://www.roaringpenguin.com/mimedefang), the user might be<br />
  'defang'.Theoretically, distinct users could be used, but it must be<br />
  made sure that the application-user can write into the socket-file,<br />
  and that the clamd-user can access the files asked by the<br />
  application to be checked.</p>
	<p>clamd.logrotate:<br />
  * set the correct value for the logfile<br />
  * place it into /etc/logrotate.d</p>
	<p>clamd.sysconfig:<br />
  * set the name of the config-file and the local socket<br />
  * copy it to /etc/sysconfig/clamd.&lt;SERVICE&gt;</p>
	<p>clamd.init:<br />
  * set the service-name<br />
  * place it into /etc/init.d/ with an unique name and activate it<br />
    (e.g. with /sbin/chkconfig clamd.&lt;SERVICE&gt; on)</p>
	<p>Additionally, a symlink must be set to clamd in a way like<br />
  | # ln -s clamd /usr/sbin/clamd.&lt;SERVICE&gt;<br />
and the directory for the socket file must be created (see 'LocalSocket'<br />
in clamd.conf)<br />
  | # mkdir -p /var/run/clamd.&lt;SERVICE&gt;</p>
	<p>This directory must be writable by the 'User' chosen in the config-file.</p>
	<p>[Disclaimer:<br />
 this file and the script/configfiles are not part of the official<br />
 clamav package.</p>
	<p> Please send complaints and comments to<br />
 mailto:enrico.scholz@informatik.tu-chemnitz.de!]<br />
</code></div>
]]></content:encoded>
			<wfw:commentRSS>http://fdiv.net/server/qmail-setup-20061020/clam-readme/feed/</wfw:commentRSS>
	</item>
	</channel>
</rss>
