Uwe,
> is the a way to keep the statistics while reload and/or stop/start cycle?
The following patch (to 2.6.1) disables purging of BDB databases
during startup:
--- amavisd.orig 2008-06-29 02:37:58.000000000 +0200
+++ amavisd 2008-10-27 18:44:29.000000000 +0100
@@ -8759,3 +8759,3 @@
# Amavis::DB::init(1, 15+1+40); # SHA-1
- Amavis::DB::init(1, 15+1+32); # MD5
+ Amavis::DB::init(0, 15+1+32); # MD5
}
@@ -13321,3 +13321,3 @@
- Amavis::DB::SNMP::put_initial_snmp_data($dbs);
+ Amavis::DB::SNMP::put_initial_snmp_data($dbs) if $predelete;
for my $db ($dbc, $dbq, $dbs, $dbn) {
There is a small chance where a corrupted database could
prevent future amavisd restarts, which is why I changed the
default a long time ago. With reasonably recent versions of
libdb you should be alright.
Mark
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/