[Kolab-devel] [issue4724] Amavis accumulates virusmails

Alain Abbas alain.abbas at libertech.fr
Thu Mar 31 13:36:40 CEST 2011


Gavin McCullagh a écrit :
> Hi,
>
> Amavis accumulates virusmails under /kolab/var/amavisd/virusmails.  There
> appears to be no process to delete these so they just accumulate and will
> ultimately fill the /kolab/var filesystem.
>
> It's not a big deal for a sysadmin to automate deletion of all files older than
> X days, but it seems like Kolab should probably have a built-in function to do this.
>
>   
Hello for all
/usr/bin/find  /kolab/var/amavisd/virusmails -mtime +5 -delete
/usr/bin/find  /kolab/var/amavisd/ -iname "amavis-*" -mtime +5 -exec rm 
-r {} \;

to put in the daily crontab
> Gavin
>
> ----------
> messages: 27649
> nosy: gavinmc
> status: unread
> title: Amavis accumulates virusmails
>
> ______________________________________
> Kolab issue tracker <issues at kolab.org>
> <https://issues.kolab.org/issue4724>
> ______________________________________
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
>   




More information about the devel mailing list