Mailscanner not scanning all emails

Tony Spencer tony at GAMES-MASTER.CO.UK
Wed Sep 28 12:43:31 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. ]

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
#
#
#  at /tmp/Mail-ClamAV-0.17/blib/lib/Mail/ClamAV.pm line 188
# BEGIN failed--compilation aborted at
/tmp/Mail-ClamAV-0.17/blib/lib/Mail/ClamAV.pm line 532.
# Compilation failed in require at (eval 1) line 2.
t/Mail-ClamAV....NOK 1"all" is not defined in %Mail::ClamAV::EXPORT_TAGS at
t/Mail-ClamAV.t line 11
Can't continue after import errors at t/Mail-ClamAV.t line 11
# Looks like you planned 10 tests but only ran 1.
t/Mail-ClamAV....dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-10
        Failed 10/10 tests, 0.00% okay
Failed Test     Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/Mail-ClamAV.t   10  2560    10   19 190.00%  1-10
Failed 1/1 test scripts, 0.00% okay. 10/10 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
##


So it looks like it installed but won't load.

Tony

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

That^Òs how I installed it in the first place.
It installed fine with no errors, but mailscanner -v gives:

Optional module versions are:
0.17    Convert::TNEF
1.810   DB_File
1.08    Digest
1.01    Digest::HMAC
2.33    Digest::MD5
2.10    Digest::SHA1
0.44    Inline
missing Mail::ClamAV
3.001000        Mail::SpamAssassin
1.997   Mail::SPF::Query
0.15    Net::CIDR::Lite
0.48    Net::DNS
0.31    Net::LDAP
1.94    Parse::RecDescent
missing SAVI
1.2     Sys::Hostname::Long
2.42    Test::Harness
0.47    Test::Simple
1.95    Text::Balanced
1.35    URI

Trying to install it again under cpan give:

cpan> install Mail::ClamAV
Mail::ClamAV is up to date.

Strange.....

Tony

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

On 28 Sep 2005, at 11:38, Glenn Steen wrote:

> On 28/09/05, Tony Spencer <tony at games-master.co.uk> wrote:
> (snip)
>
>> Although I tried to use the Clamav perl module and use that by  
>> changing the
>> config line to:
>>
>> ##
>> Virus Scanners = clamavmodule
>> ###
>>
>> But the maillog shows:
>>
>> ########
>> Sep 28 07:22:34 scan MailScanner[20444]: Enabling SpamAssassin
>> auto-whitelist functionality...
>> Sep 28 07:22:36 scan MailScanner[20444]: ClamAV Perl module not  
>> found, did
>> you install it?
>> ############
>>
>> Maybe it's something to do with the line in virus.scanners.conf:
>>
>> ##
>> clamav          /usr/lib/MailScanner/clamav-wrapper     /usr/local
>> clamavmodule    /bin/false                              /tmp
>> ##
>>
>> Compared to the clamav line I'm not sure it looks right.
>> Anyone got any ideas?
>>
>> Thanks
>> Tony
>>
>>
> (snip)
> Show us the output from "MailScanner -v"... You oprobably haven't
> installed Mail::ClamAV (will show as "missing Mail::ClamAV" in the
> output).

If you download my install-Clam-SA.tar.gz package from near the  
bottom of the downloads page on www.mailscanner.info, you will find  
it sets all this lot up for you. It will save you quite a bit of time  
fiddling around tweaking things to make it work.

-- 
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!

-- 
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