Re: [Clamav-devel] Re: Partial MIME support

2005-02-28 Thread Richard Lyons
On Fri, 2005-02-25 at 17:18 -0500, John Peacock wrote: > The whole point is to avoid rewriting the file (for performance > reasons). To recap, I am trying to integrate clamd into an MTA > (qpsmtpd) and I already have a file which contains only the body of the > message, so if I can scan that w

Re: [Clamav-devel] Re: Partial MIME support

2005-02-25 Thread Tomasz Kojm
On Fri, 25 Feb 2005 17:18:41 -0500 John Peacock <[EMAIL PROTECTED]> wrote: > Tomasz Kojm wrote: > > > > > Try to define some additional rules in libclamav/filetypes.c or > > That was my first attempt. Nigel Horne objected that this would have > to be subject to regression test; are there reg

Re: [Clamav-devel] Re: Partial MIME support

2005-02-25 Thread Tomasz Kojm
On Fri, 25 Feb 2005 16:55:38 -0500 John Peacock <[EMAIL PROTECTED]> wrote: > I'm just looking for a way to get clamd to scan a file as mail, even > though the file doesn't meet what you would ordinarily recognize as a > mail file. I've got files which contain only the MIME body (no > headers),

Re: [Clamav-devel] Re: Partial MIME support

2005-02-25 Thread Tomasz Kojm
On Fri, 25 Feb 2005 16:20:35 -0500 John Peacock <[EMAIL PROTECTED]> wrote: > Would this be a better way to handle it (watch for wrapping)? > > --- scanners.c.orig 2005-02-05 10:44:40.0 -0500 > +++ scanners.c 2005-02-25 16:19:15.518625880 -0500 > @@ -1325,6 +1325,10 @@ >

Re: [Clamav-devel] Re: Partial MIME support

2005-02-24 Thread Nigel Horne
On Thursday, February 24, 2005, at 08:15 pm, John Peacock wrote: Nigel Horne wrote: Please do NOT apply this without thorough checking of the knock-on effect of scanning bounces and digest emails. If I am not understanding the use of the cli_smagic[] construct, please forgive me. My brief skimm

Re: [Clamav-devel] Re: Partial MIME support

2005-02-24 Thread Nigel Horne
On Thursday 24 Feb 2005 18:04, John Peacock wrote: > John Peacock wrote: > > > Our current AV package (McAfee's uvscan) has no problem scanning this > > MIME fragment as is, and I'd like to make ClamAV just as capable. > > Thoughts??? > > To reply to my own message, would this be an appropriate