Bug#569150: Amavis never cleans its virusmail jail

2015-09-12 Thread Alexander Wirt
On Sat, 12 Sep 2015, Joey Hess wrote: > I installed amavis to delete viruses. After a year, I noticed > /var/lib/amavis/virusmails was where all my system's disk space had > gone. > > After grepping through all the documentation, I have yet to find > anything that documents this package behaves t

Bug#569150: Amavis never cleans its virusmail jail

2015-09-12 Thread Joey Hess
I installed amavis to delete viruses. After a year, I noticed /var/lib/amavis/virusmails was where all my system's disk space had gone. After grepping through all the documentation, I have yet to find anything that documents this package behaves this way. Is the admin supposed to learn about this

Bug#569150: Amavis never cleans its virusmail jail

2011-12-29 Thread Jan Korbel
Hello. I think the better idea is make an archive of this files, something like: -cut- #!/bin/sh cd /var/lib/amavis DATE=`date -I` mv virusmails virusmails-${DATE} mkdir virusmails chown amavis:amavis virusmails tar cfj virusmails-archiv/virusmails-${DATE}.tar.bz2 virusmails-${DATE} rm -rf vi

Bug#569150: Amavis never cleans its virusmail jail

2010-04-07 Thread Henrique de Moraes Holschuh
On Wed, 07 Apr 2010, Alexander Wirt wrote: > Henrique de Moraes Holschuh schrieb am Tuesday, den 06. April 2010: > > #!/bin/dash > > [ -d /var/lib/amavis/virusmails ] && { > > find /var/lib/amavis/virusmails/. -type f -name 'virus-*' -ctime +7 > > -delete > > find /var/lib/amavis/v

Bug#569150: Amavis never cleans its virusmail jail

2010-04-07 Thread Alexander Wirt
Henrique de Moraes Holschuh schrieb am Tuesday, den 06. April 2010: > #!/bin/dash > [ -d /var/lib/amavis/virusmails ] && { > find /var/lib/amavis/virusmails/. -type f -name 'virus-*' -ctime +7 > -delete > find /var/lib/amavis/virusmails/. -type f -ctime +30 -delete > } > exit 0 >

Bug#569150: Amavis never cleans its virusmail jail

2010-04-06 Thread Henrique de Moraes Holschuh
#!/bin/dash [ -d /var/lib/amavis/virusmails ] && { find /var/lib/amavis/virusmails/. -type f -name 'virus-*' -ctime +7 -delete find /var/lib/amavis/virusmails/. -type f -ctime +30 -delete } exit 0 Adjust to whatever you want, and tell cron to run it. If it removes crap you didn't

Bug#569150: Amavis never cleans its virusmail jail

2010-02-11 Thread Henrique de Moraes Holschuh
On Thu, 11 Feb 2010, Alexander Wirt wrote: > Brian May schrieb am Thursday, den 11. February 2010: > > Seems to be a sensitive issue. > > If I understand the arguments correctly, the arguments for are: > > > > * email that has been classified as spam that is past X days old is > > unlikely to be u

Bug#569150: Amavis never cleans its virusmail jail

2010-02-10 Thread Alexander Wirt
Brian May schrieb am Thursday, den 11. February 2010: > Seems to be a sensitive issue. > > If I understand the arguments correctly, the arguments for are: > > * email that has been classified as spam that is past X days old is > unlikely to be useful. > * spam accumulating in /var could bring th

Bug#569150: Amavis never cleans its virusmail jail

2010-02-10 Thread Brian May
Seems to be a sensitive issue. If I understand the arguments correctly, the arguments for are: * email that has been classified as spam that is past X days old is unlikely to be useful. * spam accumulating in /var could bring the system to its knees if let go uncheck. * therefore it is wise to de

Bug#569150: Amavis never cleans its virusmail jail

2010-02-10 Thread Alexander Wirt
Thomas Goirand schrieb am Donnerstag, den 11. Februar 2010: > I'm talking about the default behavior here, once you install amavis and > start using it. Not about any "high magic" as you say. But have you just > said that amavis is not configured a correct way by default? > > By default, there i

Bug#569150: Amavis never cleans its virusmail jail

2010-02-10 Thread Thomas Goirand
This goes exactly the way I didn't want: a feel of start of a flame war. I had the feeling, reading your answers, that there was some part of it that were not 100% honest (when comparing junk mail to a database). I hope this was not triggered by my poor writing style or that I misread about your

Bug#569150: Amavis never cleans its virusmail jail

2010-02-10 Thread Gerfried Fuchs
Hi! * Thomas Goirand [2010-02-10 15:30:42 CET]: > Alexander Wirt wrote: > > Eh no sorry, this should be up to the administrator. > > NO! Debian should deliver software well installed and behaving > themselves correctly in the system. This includes not deleting enduser data, how well t

Bug#569150: Amavis never cleans its virusmail jail

2010-02-10 Thread Alexander Wirt
Thomas Goirand schrieb am Mittwoch, den 10. Februar 2010: severity 569150 wishlist thanks > > > > Thomas Goirand schrieb am Mittwoch, den 10. Februar 2010: > > > >> Package: amavisd-new > >> Version: 1:2.6.1.dfsg-1 > >> Severity: important > >> > >> Hi, > >> > >> By default, Amavis jails all th

Bug#569150: Amavis never cleans its virusmail jail

2010-02-10 Thread Thomas Goirand
Alexander Wirt wrote: > severity 569150 wishlist > thanks > > Thomas Goirand schrieb am Mittwoch, den 10. Februar 2010: > >> 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/virusm

Bug#569150: Amavis never cleans its virusmail jail

2010-02-10 Thread Thomas Goirand
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

Bug#569150: Amavis never cleans its virusmail jail

2010-02-10 Thread Alexander Wirt
severity 569150 wishlist thanks Thomas Goirand schrieb am Mittwoch, den 10. Februar 2010: > 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 fold