purge or delete messages
Posted: 17 Feb 2019 17:01
i hope this is the right place to ask. any pointer or suggestion much appreciated!
how can i remove messages in quarantine, mass delete all of them? a folder?
#i try to set in /var/www/html/mailscanner/conf.php
#and force it by
but i dont think this is correct method and didnt work for me anyway.
i have 7000 messages hanging around on mailwatch that makes my ocd kick in high gear:
Cron <clam@ > [ -x /usr/bin/clamav-unofficial-sigs.sh ] && /bin/bash /usr/bin/clamav-unofficial-sigs.sh > /dev/null
doing this stopped the messages but now i want to clean them up
yararulesproject_enabled="no"
enable_yararules="no"
sudo rm /var/lib/clamav/*yar
sudo rm /var/lib/clamav/*yara
sudo service clamd start
thank you!
how can i remove messages in quarantine, mass delete all of them? a folder?
#i try to set in /var/www/html/mailscanner/conf.php
Code: Select all
define('QUARANTINE_DAYS_TO_KEEP', 0);
Code: Select all
/usr/local/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_maint.php --clean
i have 7000 messages hanging around on mailwatch that makes my ocd kick in high gear:
Cron <clam@ > [ -x /usr/bin/clamav-unofficial-sigs.sh ] && /bin/bash /usr/bin/clamav-unofficial-sigs.sh > /dev/null
doing this stopped the messages but now i want to clean them up
yararulesproject_enabled="no"
enable_yararules="no"
sudo rm /var/lib/clamav/*yar
sudo rm /var/lib/clamav/*yara
sudo service clamd start
thank you!