Odhiambo Washington said: > * On 09/01/06 15:59 +0700, Fajar A. Nugraha wrote: >> Bill Shupp wrote: >> >> >Thanks for the quick response. >> > >> >Fajar A. Nugraha wrote: >> > >> >>Are you scanning all email? >> > >> > >> >Not outgoing mail (from our users), but all incoming mail, yes. The >> >message size limit in qmail was set to 15MB, with the clamd.conf >> >limits set at 10MB. >> >> I don't think there's a size limit for MAIL in clamd.conf. There's a >> size limit on archive (compressed files), but AFAIK it doesn't prevent >> mail larger than that from getting scanned. >> >> > I noticed that when clamd was pegged, the clamav directories were >> >almost all using 10MB of disk space. >> > >> >>Scanning large emails (e.g over 10MB) needs quite a lot of resource, >> >>and if your system receives lots of them, the load can increase >> >>greatly. If you have slow CPU, or handle lots of email traffic, it >> >>might be useful to tell simscan to only scan emails < 1 MB. >> > >> > >> > >> > >> >I did 2 things: >> > >> >1) Lowered the incoming file size limit to 1MB for now >> >> That will effectively put the limit :) > > > Although that is not the correct solution. The SMTP server, or whatever > is being used to glue together ClamAv and the SMTP server should allow > the OP to set a ceiling on the maximum message size that can be sent to > the virus scanner (clamd).
A proper milter will do this, too. dp _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
