<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>[root@files ~]# freshclam<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>ClamAV update process started at
Wed Jul 21 14:21:25 2010<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>main.cvd is up to date (version:
52, sigs: 704727, f-level: 44, builder: sven)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Downloading daily-11403.cdiff
[100%]<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>daily.cld updated (version:
11403, sigs: 103267, f-level: 53, builder: arnaud)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>bytecode.cvd is up to date
(version: 31, sigs: 7, f-level: 53, builder: nervous)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Database updated (808001
signatures) from db.local.clamav.net (IP: 194.8.197.22)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Clamd successfully notified
about the update.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>[root@files ~]# service clamd
restart<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Stopping Clam AntiVirus
Daemon: [ OK ]<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Starting Clam AntiVirus
Daemon: [ OK ]<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>[root@files ~]# chkconfig clamd
on<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>[root@files ~]# which clamdscan<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>/usr/bin/clamdscan<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>[root@files ~]# echo hi >
/var/zendto/incoming/testscanme<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>[root@files ~]# chown
apache.apache /var/zendto/incoming/*<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>[root@files ~]# clamdscan
/var/zendto/incoming/*<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>/var/zendto/incoming/testscanme:
OK<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>----------- SCAN SUMMARY
-----------<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Infected files: 0<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Time: 0.000 sec (0 m 0 s)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>[root@files ~]#<o:p></o:p></span></p>
<div>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>----------------------------------<br>
Gavin Silver</span><span style='color:#1F497D'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> zendto-bounces@zendto.com
[mailto:zendto-bounces@zendto.com] <b>On Behalf Of </b>Jules<br>
<b>Sent:</b> Tuesday, July 20, 2010 5:26 PM<br>
<b>To:</b> ZendTo Users<br>
<b>Subject:</b> [ZendTo] Re: unable to upload<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><br>
<br>
On 20/07/2010 21:24, Gavin Silver wrote: <o:p></o:p></p>
<p class=MsoNormal>centos 4.5<o:p></o:p></p>
<p class=MsoNormal>rpm install<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>followed docs to download and install all the dependencies
including clamav<o:p></o:p></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>That
means it probably couldn't find clamdscan, which should be part of the ClamAV
RPMs the docs told you to download. When logged in as root, what do you get
from a "which clamdscan" command?<br>
<br>
The error return code 2 implies an error occurred during virus scanning. Put
some files (anything will do for a test) into /var/zendto/incoming, then
"chown apache.apache /var/zendto/incoming/*" and run a command such
as<br>
clamdscan /var/zendto/incoming/*<br>
and see what it says.<br>
<br>
If it says "acccess denied" lots of times then what might be wrong is
that the clamav group may need adding to the apache group in /etc/group. Find
the line in /etc/group starting with "apache" and add
"clamav" to the end of it. Then run the command "grpconv"
to build the shadow file. Then "service clamd restart" and then try
clamdscan again.<br>
<br>
If it still complains that it couldn't read files, then you either need to
disable SELinux or configure it correctly so it can read the files under
/var/zendto/incoming. I don't know much about SELinux so you're on your own a
bit there, hopefully Google will help.<br>
<br>
When you find the solution, please let me know so that I can add it to the
docs.<br>
<br>
Once you have got "clamdscan /var/zendto/incoming" working, you
should be there.<br>
<br>
Thanks,<br>
Jules.<br>
<br>
<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>getting: </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<table class=MsoNormalTable border=1 cellpadding=0 width="50%"
style='width:50.0%;border-top:solid windowtext 1.5pt;border-left:none;
border-bottom:solid windowtext 1.5pt;border-right:none;border-color:-moz-use-text-color'>
<tr>
<td style='border:none;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Times New Roman","serif";
color:#000040'>Upload Error</span></b><o:p></o:p></p>
</td>
</tr>
<tr>
<td style='border:none;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='text-align:justify'><span style='font-size:7.5pt;
font-family:"Times New Roman","serif";color:#000040'>The attempt to
virus-scan your drop-off failed. Please contact your administrator for
assistance.</span><o:p></o:p></p>
</td>
</tr>
</table>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>after the file
uploads</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Where should I
start looking first?</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>----------------------------<br>
Gavin Silver<br>
<br>
<br>
</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>ZendTo mailing list<o:p></o:p></pre><pre><a
href="mailto:ZendTo@zendto.com">ZendTo@zendto.com</a><o:p></o:p></pre><pre><a
href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><o:p></o:p></pre><pre> <o:p></o:p></pre>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
<br>
<o:p></o:p></span></p>
<pre>Jules<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>-- <o:p></o:p></pre><pre>Julian Field MEng CITP CEng<o:p></o:p></pre><pre><a
href="http://www.ZendTo.com">www.ZendTo.com</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Need help fixing or optimising your systems?<o:p></o:p></pre><pre>Contact me!<o:p></o:p></pre><pre>Need help getting you started solving new requirements from your boss?<o:p></o:p></pre><pre>Contact me!<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<o:p></o:p></pre><pre>Follow me at twitter.com/JulesFM<o:p></o:p></pre>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:windowtext'>-- <o:p></o:p></span></p>
</div>
</body>
</html>