Luis Daniel,

> I got
>   # amavisd-nanny
> BDB no env: No such file or directory No such file or directory
> at /usr/sbin/amavisd-nanny line 119.
> exited

The amavisd daemon maintains its nanny database in a directory
which is configured in your $db_home (in amavisd.conf),
the default is "$MYHOME/db". Check for existence of a file
nanny.db in this directory, while amavisd is running.

You may need to modify amavisd-nanny to look for this database
in the same location (variable $db_home, somewhere close to the
beginning of /usr/sbin/amavisd-nanny).

Running amavisd-nanny interactively every once in a while
is a quick way to monitor health of your amavisd setup.
If there were any crashed processes (after amavisd start)
since the last time amavisd-new ran, they will be reported.


> I'm using 4.2.52 that is shipped with Mandriva 2007.1

Replace your file 'amavisd' with the one from 2.5.4-rc1
to be on the safe side. There shouldn't be any compatibility
issues between 2.5.2, 2.5.3, and 2.5.4.

A couple of people have reported mail messages with a wildly
broken header causing perl regular expressions to crash,
which is a reason for unclean shutdowns of berkeley databases,
which eventually run out of resources. The 2.5.4-rc1 should fix
these known problems. If there are any remaining locking/resource
problems with libdb, you may need to look into upgrading it.

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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