Hi,
First, I've compiled and installed new perl modules (some of them for FuzzyOCR): perl-BerkeleyDB-0.31-12.i586.rpm perl-Compress-Zlib-1.42-20.i586.rpm perl-Convert-UUlib-1.051-31.i586.rpm perl-IO-Multiplex-1.08-14.i586.rpm perl-MIME-tools-5.420-20.i586.rpm perl-MLDBM-2.01-280.i586.rpm perl-MLDBM-Sync-0.30-276.i586.rpm perl-Net-Server-0.94-18.i586.rpm perl-Tie-Cache-0.17-274.i586.rpm perl-Tie-IxHash-1.21-618.i586.rpm Second I've moved from old amavisd.conf style settings to new 2.4.4 style settings, using the following howto's from Gary V. as a reference: http://www200.pair.com/mecham/spam/upgrade244.html http://www200.pair.com/mecham/spam/amavisd-settings.html Restarted amavis, and "BerkeleyDB-based Amavis::Cache not available" messages are gone. Now I have several questions regarding "spamassassin --lint -D" output (I run it as amavis user, vscan on Suse): 1) I got the following "module not installed" lines: [3210] dbg: diag: module not installed: Mail::SPF::Query ('require' failed) [3210] dbg: diag: module not installed: IP::Country::Fast ('require' failed) [3210] dbg: diag: module not installed: Net::Ident ('require' failed) [3210] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed) Are these modules really needed for a proper Spam detection and should I try to install them? 2) I've installed Razor2 in /var/spool/amavis directory and enabled it in local.cf with "use_razor2 1" and there is an uncommented line loadplugin Mail::SpamAssassin::Plugin::Razor2 in v310.pre file. In amavisd.conf there is "$sa_local_tests_only = 0;" And indeed I see that Razor test are run and the module is loaded, but as you can see below there is a "local tests only, skipping Razor" message: [3210] dbg: diag: module installed: Razor2::Client::Agent, version 2.82 [3210] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC [3210] dbg: razor2: local tests only, skipping Razor [3210] dbg: plugin: registered Mail::SpamAssassin::Plugin::Razor2=HASH(0x9291740) What could be the problem here? 3) As I understand "spamassassin --lint -D" run some tests on test message. I do not have DCC installed, so it's kinda weird what rule is triggering the following message: [3210] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK' Best Regards, Leon Kolchinsky -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary V Sent: Sunday, November 26, 2006 6:05 PM To: amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user] debug question 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/ ------------------------------------------------------------------------- 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/