Ticket #27 (closed defect: fixed)
process-quarantine.pl doesn't check file sizes before learning and reporting
| Reported by: | rjl | Owned by: | rjl |
|---|---|---|---|
| Priority: | high | Milestone: | 1.0.1 |
| Component: | Perl scripts | Version: | 1.0.0 RC5 |
| Severity: | major | Keywords: | process-quarantine.pl size learn report |
| Cc: |
Description
From Craig Fisher:
Ran into a problem today which I finally pinpointed within process-quarantine.pl. First indication of the problem was that it took over the hour for the hourly cron-job to run, until there were three process-quarantine.pl processes hogging everything. We have upped the max size of email allowed to 10MB (and upped the mysql config accordingly), but don't scan anything larger than 150K (150*1024 in amavisd.conf). However - process-quarantine.pl does not honour this maximum, and tries to submit EVERYTHING to the ham learning process... and when it tries to submit the 10 x 7MB binary files to spamassassin .... it CRAWLS... (to a halt).

