Re: Mail::SpamAssassin::Plugin::Check::_head_tests_0_1, skipping: Jan 17 08:00:12.091 [2891] warn: (Insecure dependency in require while running with -T switch at (eval 1037) line 9

2015-01-20 Thread Mark Martinec

Jan 20 08:16:11.048 [18848] dbg: bayes: found bayes db version 3
Jan 20 08:16:11.049 [18848] warn: plugin: eval failed: Insecure 
dependency in sprintf
  while running with -T switch at 
/usr/share/perl5/Mail/SpamAssassin/Logger.pm line 241.

Jan 20 08:16:11.050 [18848] dbg: config: score set 1 chosen.

[...]
Jan 20 08:16:11.068 [18848] dbg: plugin: 
Mail::SpamAssassin::Plugin::DNSEval=HASH(0xae42840)

   implements 'check_start', priority 0
Jan 20 08:16:11.081 [18848] warn: plugin: eval failed: Insecure 
dependency in sprintf
  while running with -T switch at 
/usr/share/perl5/Mail/SpamAssassin/Logger.pm line 241.


Btw, the fix for your first two cases of 'Insecure dependency in 
sprintf'

for SpamAssassin 3.4.0 is in:

  https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7065#c1

It is unrelated to the 'Insecure dependency in require' further down,
which is the topic of this thread.


The RedHat bug report as pointed out by Kevin A. McGrail is intriguing,
as I don't see how it was resolved (just says 'upgraded').

It may be worth trying with the current trunk version from SVN
(a would-be-3.4.1), as Kevin suggested, so that we'd be on the same 
page.



http://wiki.apache.org/spamassassin/DevelopmentStuff :

  The code itself is maintained in a Subversion repository
$ svn checkout https://svn.apache.org/repos/asf/spamassassin/trunk

followed by the usual CPAN install:
  perl Makefile.PL; make; make test; make install
  sa-update


Mark


Re: Mail::SpamAssassin::Plugin::Check::_head_tests_0_1, skipping: Jan 17 08:00:12.091 [2891] warn: (Insecure dependency in require while running with -T switch at (eval 1037) line 9

2015-01-20 Thread Mark Martinec

mls wrote:

Search for 'rules: INC:' in the resulting debug output.
Is any of the reported elements reported as tainted (with an 'Y') ?



I don't see tainted elements. But please check here:
http://paste2.org/HzINJUwL


Thanks. Strange...


Does the problem go away if you disable the Rule2XSBody plugin,
i.e. by commenting-out a line:
   loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody
in one of the .pre config files (probably in v320.pre)  ?


My mailserver runs on ubuntu 14.04 and Rule2XSBody is commented out by 
default

in /etc/spamassassin/v320.pre


If not in v320.pre then it must be in some other .pre file.
As Benny Pedersen noted your log shows that this plugin is enabled.
Perhaps in /etc/spamassassin/sa-compile.pre .

  Mark


Re: Problem installing Spammassassin 3.4.0

2015-01-20 Thread Mark Martinec

Carlo Filippetto wrote:

I have a CentOS release 5.5 (Final)
SpamAssassin version 3.3.1
  running on Perl version 5.8.8

I would like to upgrade it to 3.4.0 so I upgrade cpan module and 
install

all the module on INSTALL document in the default root of the packages.

When I tried to install it with
perl Makefile.PL PREFIX=/opt/MailSpamassassin-3.4.0
CONFDIR=/etc/mail/spamassassin

I have this error:

optional module out of date: IO::Socket::IP
optional binary missing or nonfunctional: fetch

warning: some functionality may not be available,
please read the above report before continuing!


Just warnings. If you don't require a functional IPv6,
then you don't really need the IO::Socket::IP .


After some search on google I tried to install with cpan several 
module,

tried to install e remove spamassassin

but nothing

I tried to "forse install IO::Socket::IP" and now I have:
cpan> install
IO::Socket::IP

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 20 Jan 2015 02:29:02 GMT
IO::Socket::IP is up to date.

If I made a test I have:
Warning: prerequisite Socket 1.97 not found. We have 1.78.


Your perl is very old. Instead of investing potentially great effort
to bring the Socket module up to date too, it's probably easier
just to deinstall the new IO::Socket::IP .

  Mark


Problem installing Spammassassin 3.4.0

2015-01-20 Thread Carlo Filippetto
hi all,
I have a CentOS release 5.5 (Final)

I have
SpamAssassin version 3.3.1
  running on Perl version 5.8.8

I would like to upgrade it to 3.4.0 so I upgrade cpan module and install
all the module on INSTALL document in the default root of the packages.

When I tried to install it with
perl Makefile.PL PREFIX=/opt/MailSpamassassin-3.4.0
CONFDIR=/etc/mail/spamassassin

I have this error:


dependency check complete...

optional module out of date: IO::Socket::IP
optional binary missing or nonfunctional: fetch

warning: some functionality may not be available,
please read the above report before continuing!
--

After some search on google I tried to install with cpan several module,
tried to install e remove spamassassin

but nothing

I tried to "forse install IO::Socket::IP" and now I have:
cpan> install
IO::Socket::IP

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 20 Jan 2015 02:29:02 GMT
IO::Socket::IP is up to date.


If I made a test I have:
Warning: prerequisite Socket 1.97 not found. We have 1.78.
 Unsatisfied dependencies detected during
[P/PE/PEVANS/IO-Socket-IP-0.36.tar.gz] -

#   Failed test 'use IO::Socket::IP;'
#   at t/00use.t line 8.
# Tried to use 'IO::Socket::IP'.
# Error:  Socket version 1.97 required--this is only version 1.78 at
/root/.cpan/build/IO-Socket-IP-0.36/blib/lib/IO/Socket/IP.pm line 30.
# BEGIN failed--compilation aborted at
/root/.cpan/build/IO-Socket-IP-0.36/blib/lib/IO/Socket/IP.pm line 30.
# Compilation failed in require at t/00use.t line 8.
# BEGIN failed--compilation aborted at t/00use.t line 8.
# Looks like you failed 1 test of 1.


What I have to do?


thank you


Re: Mail::SpamAssassin::Plugin::Check::_head_tests_0_1, skipping: Jan 17 08:00:12.091 [2891] warn: (Insecure dependency in require while running with -T switch at (eval 1037) line 9

2015-01-20 Thread Benny Pedersen

mls skrev den 2015-01-20 08:52:


http://paste2.org/HzINJUwL
My mailserver runs on ubuntu 14.04 and Rule2XSBody is commented out by 
default

in /etc/spamassassin/v320.pre


see line 88 in the above url ?

and you miss running local nameserver as you are URIBL_BLOCKED

http://serverfault.com/questions/637334/uribl-blocked-despite-caching-nameserver

note the user there is not uribl blocked since he get other results then 
127.0.0.255