Henrique de Moraes Holschuh schrieb am Tuesday, den 06. April 2010: > #!/bin/dash > [ -d /var/lib/amavis/virusmails ] && { > find /var/lib/amavis/virusmails/. -type f -name 'virus-*' -ctime +7 > -delete > find /var/lib/amavis/virusmails/. -type f -ctime +30 -delete > } > exit 0 > > Adjust to whatever you want, and tell cron to run it. If it removes crap > you didn't want gone, it is your own fault. Ah little bit too simple, but it can be used at a starting point. I'll provide such a clean script (if nobody objects) - disabled - in the next release. I plan to integrate the options for the script into /etc/default/amavisd-new.
> > For the record, there is no way I'd recommend enabling such a script by > > default on anything but a first install of the package. And that's always > > somewhat complicated to do cleanly, so IMO it would be far simpler and safer > > to just ship it disabled, and announce the existence of the functionality in > > NEWS.Debian. > > That still holds true. Jupp, the existance of the script/options should (and will) be documented in README.Debian and NEWS.Debian. Alex -- Alexander Wirt, formo...@formorer.de CC99 2DDD D39E 75B0 B0AA B25C D35B BC99 BC7D 020A -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org