I&#39;m repeatedly getting an error from clamd in /var/log/maillog but I cannot figure out what is causing it.  We have two mailscanner machines, only one of them is getting the error.  What directory/file permissions should I check?  Is that the cause?<br>

<br><b>The errors are:</b><br>Nov  4 15:49:50 mail-out2 MailScanner[19819]: Clamd::ERROR:: UNKNOWN CLAMD RETURN ./razor-agent.log/Access denied. ERROR :: /var/spool/MailScanner/incoming/19819 <br>Nov  4 15:51:11 mail-out2 MailScanner[18089]: Clamd::ERROR:: UNKNOWN CLAMD RETURN ./razor-agent.log/Access denied. ERROR :: /var/spool/MailScanner/incoming/18089 <br>

Nov  4 15:53:44 mail-out2 MailScanner[19819]: Clamd::ERROR:: UNKNOWN CLAMD RETURN ./razor-agent.log/Access denied. ERROR :: /var/spool/MailScanner/incoming/19819 <br>Nov  4 15:55:43 mail-out2 MailScanner[19819]: Clamd::ERROR:: UNKNOWN CLAMD RETURN ./razor-agent.log/Access denied. ERROR :: /var/spool/MailScanner/incoming/19819 <br>

<br>There&#39;s lots of other lines and mail appears to be handled normally but I&#39;m afraid the anti-virus is not working properly.<br><br><b>The directory and contents of the razor-agent.log file look like this:</b><br>

[root@mail-out2 ~]# ls -la /var/spool/MailScanner/incoming/19819 <br>total 16<br>drwxr-x--- 2 postfix clamav  4096 Nov  4 15:55 .<br>drwxr-xr-x 9 postfix clamav  4096 Nov  4 15:59 ..<br>-rw------- 1 postfix postfix 2507 Nov  4 15:55 razor-agent.log<br>

[root@mail-out2 ~]# cat /var/spool/MailScanner/incoming/19819/razor-agent.log <br>Nov 04 14:28:09.567341 check[20526]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 14:32:51.197651 check[21072]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 14:41:14.958356 check[21741]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 14:41:26.494634 check[21745]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 14:44:08.053185 check[21815]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 14:44:13.677588 check[21820]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 14:49:19.335533 check[22023]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 14:49:24.725745 check[22024]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 14:49:30.167252 check[22037]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 14:49:36.138546 check[22048]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 14:49:41.226018 check[22049]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 14:59:16.999392 check[22929]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 15:01:16.895978 check[23533]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 15:03:22.486145 check[23871]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 15:05:03.986974 check[23935]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 15:06:03.465041 check[23992]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 15:19:45.436067 check[24960]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 15:24:20.911340 check[25606]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 15:31:02.463732 check[26346]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 15:42:08.837213 check[27283]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 15:49:50.879510 check[27532]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>Nov 04 15:53:44.375244 check[28146]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br>

Nov 04 15:55:43.938283 check[28212]: [ 2] [bootup] Logging initiated LogDebugLevel=3 to file:razor-agent.log<br><br><b>Here&#39;s more info about MailScanner:</b><br>[root@mail-out2 ~]# MailScanner -v     <br>Running on<br>

Linux <a href="http://mail-out2.superb.net">mail-out2.superb.net</a> 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux<br>This is CentOS release 5.3 (Final)<br>This is Perl version 5.008008 (5.8.8)<br>

<br>This is MailScanner version 4.78.17<br>Module versions are:<br>1.00    AnyDBM_File<br>1.16    Archive::Zip<br>0.23    bignum<br>1.04    Carp<br>2.021   Compress::Zlib<br>1.119   Convert::BinHex<br>0.17    Convert::TNEF<br>

2.121_08        Data::Dumper<br>2.27    Date::Parse<br>1.00    DirHandle<br>1.05    Fcntl<br>2.74    File::Basename<br>2.09    File::Copy<br>2.01    FileHandle<br>1.08    File::Path<br>0.20    File::Temp<br>0.90    Filesys::Df<br>

3.60    HTML::Entities<br>3.62    HTML::Parser<br>3.57    HTML::TokeParser<br>1.23    IO<br>1.14    IO::File<br>1.13    IO::Pipe<br>2.04    Mail::Header<br>1.89    Math::BigInt<br>0.22    Math::BigRat<br>3.07    MIME::Base64<br>

5.427   MIME::Decoder<br>5.427   MIME::Decoder::UU<br>5.427   MIME::Head<br>5.427   MIME::Parser<br>3.07    MIME::QuotedPrint<br>5.427   MIME::Tools<br>0.13    Net::CIDR<br>1.25    Net::IP<br>0.16    OLE::Storage_Lite<br>

1.04    Pod::Escapes<br>3.05    Pod::Simple<br>1.09    POSIX<br>1.19    Scalar::Util<br>1.78    Socket<br>2.16    Storable<br>1.4     Sys::Hostname::Long<br>0.27    Sys::Syslog<br>1.26    Test::Pod<br>0.86    Test::Simple<br>

1.9707  Time::HiRes<br>1.02    Time::localtime<br><br>Optional module versions are:<br>1.40    Archive::Tar<br>0.23    bignum<br>missing Business::ISBN<br>missing Business::ISBN::Data<br>missing Data::Dump<br>1.814   DB_File<br>

1.25    DBD::SQLite<br>1.609   DBI<br>1.14    Digest<br>1.01    Digest::HMAC<br>2.36    Digest::MD5<br>2.12    Digest::SHA1<br>missing Encode::Detect<br>missing Error<br>missing ExtUtils::CBuilder<br>missing ExtUtils::ParseXS<br>

2.38    Getopt::Long<br>missing Inline<br>missing IO::String<br>1.10    IO::Zlib<br>missing IP::Country<br>missing Mail::ClamAV<br>3.002005        Mail::SpamAssassin<br>missing Mail::SPF<br>missing Mail::SPF::Query<br>missing Module::Build<br>

missing Net::CIDR::Lite<br>0.65    Net::DNS<br>missing Net::DNS::Resolver::Programmable<br>missing Net::LDAP<br>missing NetAddr::IP<br>missing Parse::RecDescent<br>missing SAVI<br>2.64    Test::Harness<br>missing Test::Manifest<br>

1.95    Text::Balanced<br>1.35    URI<br>missing version<br>missing YAML<br><br>-- <br>Landon Stewart &lt;<a href="mailto:LStewart@SUPERB.NET">LStewart@SUPERB.NET</a>&gt;<br>SuperbHosting.Net by Superb Internet Corp.<br>
Toll Free: 888-354-6128 x 4199 (US/Canada)<br>
Web hosting and more &quot;Ahead of the Rest&quot;: <a href="http://www.superbhosting.net">http://www.superbhosting.net</a><br>