* 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). -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <[EMAIL PROTECTED]> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Incumbent, n.: Person of liveliest interest to the outcumbents. -- Ambrose Bierce, "The Devil's Dictionary" _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
