This is a discussion on Re: [AMaViS-user] How to clean /var/spool/amavis directory automatically within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; 2005/12/26, lkolchin@univ.haifa.ac.il <lkolchin@univ.haifa.ac.il>: > Is there any script ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
2005/12/26, lkolchin@univ.haifa.ac.il <lkolchin@univ.haifa.ac.il>:
> Is there any script to clean it automatically (or maybe there is some bui= lt-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_id=7637&alloc_id=16865&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|