Mail::ClamAV [was: Re: SAVI-Perl/Sophos on RedHat Enterprise 4]

Rick Cooper rcooper at DWFORD.COM
Mon Mar 7 11:34:15 GMT 2005


> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of David Lee
> Sent: Monday, March 07, 2005 6:09 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Mail::ClamAV [was: Re: SAVI-Perl/Sophos on RedHat
> Enterprise 4]
>
>
> On Fri, 4 Mar 2005, David Lee wrote:
>
> > [...]
> > We too have this problem (FC3, also ancient RH 7.3).  Rick Cooper has
> > found that this seems to be an error within its tests (i.e. Mail::ClamAV
> > itself is OK).  From an amended version of its "t/Mail-ClamAV.t" that he
> > gave me, I derived the following patch.
> > [...]
>
> On Friday, I emailed the author (Scott Beck) of Mail::ClamAV about these
> issues, and he has released version 0.16 over the weekend.  This seems to
> have fixed most of the failures in the test suite, but it a separate set
> of residual failures at the end, related to the "scanbuff" interface onto
> ClamAV itself.  I understand from the "clamav-devel" list that this
> interface is deprecated (scheduled for removal at ClamAV 0.90).
>
> From the MailScanner perspective, I think the experience of people on this
> list with Mail::ClamAV 0.14 is that none of these failures in that
> module's test suite is important.  I've just installed 0.16 and that, too,
> seems fine.
>
> I've also written to the author again suggesting that he might simply
> remove his "scanbuff" tests.

What is truly funny about this is the fact that the author's own docs
suggest you not use the scanbuff interface, and quotes the maintainers as to
why

I also noted that he fixed (he just added CL_SCAN_STDOPT to cover the bases)
everything except the scanbuff. But looking at the change log I also note
that other tests passed on his system "for some reason". If you look at his
test code it is doomed to failure anyway because the API docs clearly state
the buffer must be unpacked, de-mimed, completely processed before passing
it to cl_scanbuiff and he is passing it a .zip file... so I really wonder
how it passes on his system?

Rick


>
> --
>
> :  David Lee                                I.T. Service          :
> :  Senior Systems Programmer                Computer Centre       :
> :                                           University of Durham  :
> :  http://www.dur.ac.uk/t.d.lee/            South Road            :
> :                                           Durham                :
> :  Phone: +44 191 334 2752                  U.K.                  :
>
> ------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
>


--
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 MAQ (http://www.mailscanner.biz/maq/) 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