Hi Mark,

We have amavisd running in a non-standerd way and we have to tweak 
amavisd-nanny to find nanny.db.

Would you consider applying attached patch, so we can use an enviroment
variable to locate the database?

-- 
Leo Baltus, internetbeheerder                         /\
NPO ICT Internet Services                            /NPO/\
Sumatralaan 45, 1217 GP Hilversum, Peperbus (12.103) \  /\/
[EMAIL PROTECTED], 035-6773555                         \/
--- amavisd-nanny.org   2007-03-29 12:26:48.000000000 +0200
+++ amavisd-nanny       2007-09-12 10:09:08.000000000 +0200
@@ -56,7 +56,7 @@
 my($activettl) = 10*60; # stuck active children are sent a SIGTERM
                         #   after this many seconds
 
-my($db_home) = '/var/amavis/db';  # DB databases directory
+my($db_home) = $ENV{AMAVISDDB} ? $ENV{AMAVISDDB} : '/var/amavis/db';  # DB 
databases directory
 my($dbfile)  = 'nanny.db';
 my($wakeuptime) = 2;  # sleep time in seconds, may be fractional
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/

Reply via email to