Leon wrote:

> Hello All,
 
> I've upgraded to:
> amavisd-new-2.4.4-4
> spamassassin-3.1.7-3
> from:
> amavisd-new-20030616p9-3.6
> spamassassin-2.64-3.7
 
> on SLES9
 
> When I run "amavisd debug" and see some "suspicious" output like:
> ----------------------------------------------------------------------------
> ------------------------
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: Net::Server: Group
> Not Defined.  Defaulting to EGID '101 101'
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: Net::Server: User
> Not Defined.  Defaulting to EUID '65'
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: Amavis::DB code
> NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: Amavis::Cache code
> NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: SQL base code
> NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: SQL::Log code
> NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: SQL::Quarantine
> NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: Lookup::SQL code
> NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: Lookup::LDAP code
> NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: Courier proto code
> NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: Pipe-out proto code
> NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: BSMTP-out proto
> code NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: OS_Fingerprint code
> NOT loaded
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: No decoder for
> .F    tried: unfreeze, freeze -d, melt, fcat
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: No decoder for
> .lzo  tried: lzop -d
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: No decoder for
> .rpm
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: No decoder for
> .cpio
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: No decoder for
> .tar
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: No decoder for
> .deb
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: No decoder for
> .doc
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: No decoder for
> .cab
> Nov 23 16:40:21 mydomain.ac.il /usr/sbin/amavisd[32221]: No decoder for
> .tnef
> Nov 23 16:40:23 mydomain.ac.il /usr/sbin/amavisd[32222]: BerkeleyDB-based
> Amavis::Cache not available, using memory-based local cache

 
> Should I do something about "BerkeleyDB-based Amavis::Cache not available,
> using memory-based local cache" or any other message?
> Any tips are welcome.

 
> Best Regards,
> Leon Kolchinsky

I'm not familiar with SLES9, but from another doc I found it seems you need
'db-devel' and then 'cpan BerkeleyDB'. You also want to install 'pax'.

You also need to create a 'db' directory in the amavis home directory,
and give ownership to the amavis user. This is where the BDB database
will be stored.

Then in amavisd.conf, to use the cache, you would add (if not already
there)

$enable_db = 1;              # enable use of BerkeleyDB/libdb (SNMP and nanny)
$enable_global_cache = 1;    # enable use of libdb-based cache if $enable_db=1

You may also want to configure new quarantines for:
$banned_quarantine_to     = 'banned-quarantine';     # local quarantine
$bad_header_quarantine_to = 'bad-header-quarantine'; # local quarantine
since the newer version allows you to separate these out from
$virus_quarantine_to.

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
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