1 Mar 2005 01:27
Re: Re: Partial MIME support
Richard Lyons <frob-clamav <at> webcentral.com.au>
2005-03-01 00:27:49 GMT
2005-03-01 00:27:49 GMT
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 without rewriting, it means the SMTP > transaction takes less time. I went through a similar optimisation process with our qmail install a little while ago. We use qmail-qfilter, which stores the entire message on disk before calling the list of filters with the file descriptor of the message. I patched clamd (subsequently accepted into the codebase) to accept a file descriptor for scanning. We run other filters over the message, so the cost of having qmail-qfilter writing the file to disk is amortised over the filters. I know this is not helpful to your plan to integrate into qpsmtpd, but if you use qmail-qfilter for other reasons you might consider moving your virus scanning down the chain. Rick. _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html
RSS Feed