2005/12/26, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

> Is there any script to clean it automatically (or maybe there is some 
> built-in amavis option) so it won't eat my disk space?

You can insert in root crontab a script like this

0,30 * * * * find /var/spool/amavis -type d -name 'amavis-*' -prune
-mmin +30 -exec rm -rf {} \;

that will erase any temp directory older than 30 minutes.

--
Saluti,
Cataldo Cigliola


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to