This is a discussion on Re: [AMaViS-user] RE: How to clean /var/spool/amavis directory automatically within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; On Mon, Dec 26, 2005 at 01:37:41PM +0200, lkolchin@univ.haifa.ac.il wrote: > > >> ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Mon, Dec 26, 2005 at 01:37:41PM +0200, lkolchin@univ.haifa.ac.il wrote:
> > >> Is there any script to clean it automatically (or maybe there > >> is some built-in amavis option) so it won???t eat my disk spaceoe > > > http://www.postfix-buch.com/download...le_files.sh.gz > > Thanks :) > > But in this case I have to stop amavisd for a period of time, and this > could be "very bad", users would remain without antivirus protection. > > I would also recommend rm -rdf option. > > Any comments? > You obviously have something wrong with your setup, if amavisd leaves all the tempfiles on disk. See if there are "preserving evidence" messages in your log. Anyway, forget that silly script. There's absolutely no need to restart amavisd. Just cron a find command, like one that was posted here already. Cheers, Henrik ------------------------------------------------------- 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/ |