Michael Bellears wrote:

Today I noticed our gateway mailserver running particularly slow -
Investigating further revealed it had a load of 100+!

The culprit was clamscan: One of our clients had sent 500+ e-mails with
a 5Mb zip attachment, with each zip containing a compressed tif image
that was 50Mb+.

Is there anyway to place a limit on the size qmail-scanner will scan
(post uncompressing?) - We have a 10Mb
(/var/qmail/control/databytes)limit in place, but a user can achieve
substantial compression on image files, consequently giving them the
ability to send files that are well over 50Mb.
Or enforce some type of resource limitation on clamscan? (We are running
Debian)

(from 'man clamscan') --max-space=#n Extract first #n kilobytes from each archive. You may give the number in megabytes in format xM or xm, where x is a number.




------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to