On Fri, Nov 19, 2004 at 08:17:30PM -0700, Jonathan Duncan wrote:
- how to limit e-mail file sizes coming in?
look at the StreamMaxLength feature for clamav.conf, you could also
try shunting it early in procmail:
## don't scan message bodies larger than 10 megs
:0
* B > 10000000
{ DONTSCAN=1 }
:0
* ! $ $DONTSCAN
CLAMAV=|/usr/local/bin/clamscan ...
(this is untested). These changes will unfortunately have to go in the
"changes here will be lost" section of your procmailrc file, so when
you upgrade, be sure to check them again.
- how to limit clamav file size scans?
See ArchiveMaxFileSize in clamav.conf(5).
Scott
--
Scott Wiersdorf
<scott@xxxxxxxxxxxx>
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).