Package: amavisd-new
Version: 1:2.6.1.dfsg-1
Severity: important

Hi,

By default, Amavis jails all the virus or spams it finds in
/var/lib/amavis/virusmails. I'm fine with this, but the folder is never
cleaned. A cron job each weeks/months should be added to the package to
delete spams that are X days old (my suggestion: make it at least 15
days, maybe 30). The issue could be a /var totally full (this happened
to some of my customer's servers), which is very annoying.

Something like this in /etc/cron.weekly/amavisd-new would do:

#!/bin/sh

find /var/lib/amavis/virusmails/ -type f -mtime +30 -delete

and would be very easy to add in the package. Best would be to add this in
both lenny-proposed-updates and sid if possible.

Thomas

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31.5 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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