Mailscanner not scanning all emails

Tony Spencer tony at GAMES-MASTER.CO.UK
Wed Sep 28 16:02:01 IST 2005


    [ The following text is in the "windows-1250" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

I still got the same problems with the newer version.
However I've solved it now.
Looking at the error:

###
Can't load '/tmp/Mail-ClamAV-0.17/blib/arch/auto/Mail/ClamAV/ClamAV.so' for
module Mail::ClamAV: libclamav.so.1: cannot open shared object file: No such
file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
###

When doing a make test.
I did a locate on libclamav.so.1 and found it was installed in
/usr/local/lib so I added the following symlinks:

ln -s /usr/local/lib/libclamav.so.1.0.16 /usr/lib/libclamav.so.1
ln -s /usr/local/lib/libclamav.so.1.0.16 /usr/lib/libclamav.so

Did a make test again and got no errors.
Maillog now shows no errors when virus scanning.

Thanks for your help.

Tony


-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Julian Field
Sent: 28 September 2005 13:40
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Mailscanner not scanning all emails

Download the latest version of my install-Clam-SA.tar.gz and try  
again, I have added some more intelligence to it in the last day or  
so. It will now set up your ld.so so that the module build process  
can find the ClamAV library, without you having to edit any files by  
hand.

On 28 Sep 2005, at 12:43, Tony Spencer wrote:

> Just in case I did something wrong or missed something I re- 
> installed using
> install-Clam-SA.tar.gz again, but found the following errors:
>
> ##
> Finished Build Compile Stage
>
> Manifying blib/man3/Mail::ClamAV.3pm
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/Mail-ClamAV....#     Failed test (t/Mail-ClamAV.t at line 9)
> #     Tried to use 'Mail::ClamAV'.
> #     Error:  Had problems bootstrapping Inline module 'Mail::ClamAV'
> #
> # Can't load '/tmp/Mail-ClamAV-0.17/blib/arch/auto/Mail/ClamAV/ 
> ClamAV.so'
> for module Mail::ClamAV: libclamav.so.1: cannot open shared object  
> file: No
> such file or directory at
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
> #  at /usr/lib/perl5/site_perl/5.8.5/Inline.pm line 500

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.8/113 - Release Date: 27/09/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.8/113 - Release Date: 27/09/2005
 

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list