Matt said: > Isn't that the size of an e-mail Q-Mail will accept? Someone told me > that I need to increase the scanning size limit of qmail-scanner so that > I can catch some of the viruses that are getting through the scanner? > Well, then what you want to adjust is probably the softlimit. Look for the script that starts up your qmail-smtpd. Mine is: /var/qmail/supervise/qmail-smtpd/run
You want to increase your softlimit. For example, change: exec /usr/local/bin/softlimit -m 8000000 to: exec /usr/local/bin/softlimit -m 30000000
no, softlimit isn't what you want either. that only affects how much memory the processes can use - it doesn't increase/decrease the effective size limit of what qmail-scanner can scan, except in an indirect way. it *may* have the intended effect; it may not however.
you can adjust the spamc filesize limits if you're running spamassassin - i use
my $spamc_options=' -f -s 185000';
i'm not certain, but i believe that if a message is bigger than that limit, it won't be passed to clamav (the vscanner i use) either. but i could be wrong - please correct me.
clamscan's limit is set using the --max-space param. qmail-scanner sets it by default to 1000000, however according to the clamscan docs, that would be equivalent to 1000000 kilobytes, or a gigabyte. i set mine using the 'M' qualifier, which eliminates the ambiguity -
my $clamscan_options="-r --disable-summary --max-recursion=10 --max-space=1M";
Paul Theodoropoulos http://www.anastrophe.com
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general