On Wed, 07 Apr 2010, Alexander Wirt wrote:
> 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. 

No objections at all, but I'd like to see the script first just in case I
can suggest something useful :)

> > > 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. 

Yeah, that's quite good enough and the safe way.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to