What am I supposed to do with the files that are created and kept in the /var/amavis directory? Since my virus is kinda working right now, I get files there. Am I supposed to keep them for some reason, or can I cron their removal?
thanks eric
I'd suggest to clean /var/amavis/virusmails every now and then.
As I run both AV and Spamassassin through amavis, I have these in my /etc/cron.d/amavis:
10 4 * * * amavis find /var/amavis/virusmails -name virus-\* -type f -mtime +3 -print0 | xargs -0 -r rm -f
15 4 * * * amavis find /var/amavis/virusmails -name spam-\* -type f -mtime +7 -print0 | xargs -0 -r rm -f
(Should be one line per scriptlet)
This way I keep viruses for 3 days (I have practically no false positives), and spam for 7 days (some false positives).
Thomas _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
