List Info

Thread: debug question




debug question
user name
2006-11-26 08:00:19
  
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:B 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


------------------------------------------------------------
-------------
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-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
debug question
user name
2006-11-26 16:04:58
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:B 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-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
debug question
user name
2006-11-27 13:59:40
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:
ht
tp://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: amavis-user-bounceslists.sourceforge.net
[mailto:amavis-user-bounceslists.sourceforge.net] On
Behalf Of Gary V
Sent: Sunday, November 26, 2006 6:05 PM
To: amavis-userlists.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:B 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-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/



------------------------------------------------------------
-------------
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-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
debug question
user name
2006-11-27 15:07:07
Leon wrote:

> 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:
> ht
tp://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?

They are only needed if you desire the features they
provide.
>From DependencyInfo.pm

  module => 'Mail::SPF::Query',
  desc => 'Used to check DNS Sender Policy Framework
(SPF) records to fight email
  address forgery and make it easier to identify spams.',

  module => 'IP::Country::Fast',
  alt_name => 'IP::Country',
  desc => 'Used by the RelayCountry plugin (not enabled
by default) to determine
  the domain country codes of each relay in the path of an
email.',
  
  module => 'Net::Ident',
  desc => 'If you plan to use the --auth-ident option to
spamd, you will need
  to install this module.',

  module => 'IO::Socket::INET6',
  desc => 'This is required if the first nameserver
listed in your IP
  configuration or /etc/resolv.conf file is available only
via
  an IPv6 address.',

> 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?

As of SA version 3.1.6, --lint turns off net tests. You now
have to
feed a message to debug to get net tests.

spamassassin -D <sample-spam.txt

> 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'

I suggest asking about this on the SA list. Do you plan on
installing
DCC? If you do install it, this 'informational' message may
go away.

> Best Regards,
> Leon Kolchinsky

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-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
debug question
user name
2006-11-27 16:07:00
> module => 'Net::Ident',
> desc => 'If you plan to use the --auth-ident option
to spamd

This one is not needed by amavisd-new
(and is of dubious value with spamd).

  Mark

------------------------------------------------------------
-------------
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-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
debug question
user name
2006-11-28 11:10:23
Hi,

1. So as I conclude from your and Marks' replyes the only
module I really
should install is Mail::SPF::Query
Is there default SA rules (not carried by plugin) relaying
on this module?

2. I'll try this syntax without --lint:
spamassassin -D <sample-spam.txt

3. I'll ask SA list on DCC issue

Best Regards,
Leon



-----Original Message-----
From: amavis-user-bounceslists.sourceforge.net
[mailto:amavis-user-bounceslists.sourceforge.net] On
Behalf Of Gary V
Sent: Monday, November 27, 2006 5:07 PM
To: amavis-userlists.sourceforge.net
Subject: Re: [AMaViS-user] debug question

Leon wrote:

> 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:
> ht
tp://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?

They are only needed if you desire the features they
provide.
>From DependencyInfo.pm

  module => 'Mail::SPF::Query',
  desc => 'Used to check DNS Sender Policy Framework
(SPF) records to fight
email
  address forgery and make it easier to identify spams.',

  module => 'IP::Country::Fast',
  alt_name => 'IP::Country',
  desc => 'Used by the RelayCountry plugin (not enabled
by default) to
determine
  the domain country codes of each relay in the path of an
email.',
  
  module => 'Net::Ident',
  desc => 'If you plan to use the --auth-ident option to
spamd, you will
need
  to install this module.',

  module => 'IO::Socket::INET6',
  desc => 'This is required if the first nameserver
listed in your IP
  configuration or /etc/resolv.conf file is available only
via
  an IPv6 address.',

> 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?

As of SA version 3.1.6, --lint turns off net tests. You now
have to
feed a message to debug to get net tests.

spamassassin -D <sample-spam.txt

> 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'

I suggest asking about this on the SA list. Do you plan on
installing
DCC? If you do install it, this 'informational' message may
go away.

> Best Regards,
> Leon Kolchinsky

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-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/



------------------------------------------------------------
-------------
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-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
debug question
user name
2006-11-28 12:26:34
Leon wrote:

> Hi,

> 1. So as I conclude from your and Marks' replyes the
only module I really
> should install is Mail::SPF::Query
> Is there default SA rules (not carried by plugin)
relaying on this module?

Yes there are.

> 2. I'll try this syntax without --lint:
> spamassassin -D <sample-spam.txt

> 3. I'll ask SA list on DCC issue

This thread asks pretty much the same question:
http://marc.theaimsgroup.com/?l=spamassa
ssin-users&m=116465345505038

> Best Regards,
> Leon


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-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )