1

Topic: Error messages from cron after clamav update to 0.98.5

==== Required information ====
- iRedMail version: 0.8.7 with IRedAdmin-Pro
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: ubuntu 14.04.1
- Related log if you're reporting an issue:
====

Hi,

after the upgrade to clamav 0.98.5 I'm receiving the following messages from cron:

------------------------
Subject: Cron <amavis@mailserver> test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync

Argument "perl_version" isn't numeric in numeric ge (>=) at (eval 519) line 1.
Argument "perl_version" isn't numeric in numeric ge (>=) at (eval 1012) line 1.
Argument "perl_version" isn't numeric in numeric ge (>=) at (eval 521) line 1.
Argument "perl_version" isn't numeric in numeric ge (>=) at (eval 1014) line 1.
------------------------

and

-----------------------
Subject: Cron <root@mailserver> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

/etc/cron.daily/spamassassin:
Argument "perl_version" isn't numeric in numeric ge (>=) at (eval 648) line 1.
Argument "perl_version" isn't numeric in numeric ge (>=) at (eval 1141) line 1.
Nov 29 07:29:10.067 [8116] warn: Argument "perl_version" isn't numeric in numeric ge (>=) at (eval 579) line 1.
Nov 29 07:29:10.215 [8116] warn: Argument "perl_version" isn't numeric in numeric ge (>=) at (eval 1072) line 1.
Argument "perl_version" isn't numeric in numeric ge (>=) at (eval 527) line 1.
Argument "perl_version" isn't numeric in numeric ge (>=) at (eval 1020) line 1.
-----------------------

the complete list of the updated packages is:

apparmor:amd64 2.8.95~2430-0ubuntu5 => 2.8.95~2430-0ubuntu5.1
clamav-base:all 0.98.1+dfsg-4ubuntu1.1 => 0.98.5+addedllvm-0ubuntu0.14.04.1
clamav-daemon:amd64 0.98.1+dfsg-4ubuntu1.1 => 0.98.5+addedllvm-0ubuntu0.14.04.1
clamav-freshclam:amd64 0.98.1+dfsg-4ubuntu1.1 => 0.98.5+addedllvm-0ubuntu0.14.04.1
clamav:amd64 0.98.1+dfsg-4ubuntu1.1 => 0.98.5+addedllvm-0ubuntu0.14.04.1
language-pack-en:all 1:14.04+20140707 => 1:14.04+20141110
libapparmor-perl:amd64 2.8.95~2430-0ubuntu5 => 2.8.95~2430-0ubuntu5.1
libapparmor1:amd64 2.8.95~2430-0ubuntu5 => 2.8.95~2430-0ubuntu5.1
libclamav6:amd64 0.98.1+dfsg-4ubuntu1.1 => 0.98.5+addedllvm-0ubuntu0.14.04.1
linux-libc-dev:amd64 3.13.0-39.66 => 3.13.0-40.69

I think it should be related to the clamav update but need some help to fix it.

Someone facing the same problem?

Thank you in advance for any hint

stefano

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Error messages from cron after clamav update to 0.98.5

see http://svn.apache.org/viewvc?view=revis … on=1642207

cd /tmp
wget "http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Conf/Parser.pm?r1=1642207&r2=1642206&pathrev=1642207&view=patch" -O parser.pm.patch
wget "http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm?r1=1642207&r2=1642206&pathrev=1642207&view=patch" -O conf.pm.patch
patch /usr/share/perl5/Mail/SpamAssassin/Conf/Parser.pm < parser.pm.patch
patch /usr/share/perl5/Mail/SpamAssassin/Conf.pm < conf.pm.patch

3

Re: Error messages from cron after clamav update to 0.98.5

Thank you very much for your hint.

I was looking in the wrong direction smile

avenger_msoft wrote:

see http://svn.apache.org/viewvc?view=revis … on=1642207

cd /tmp
wget "http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Conf/Parser.pm?r1=1642207&r2=1642206&pathrev=1642207&view=patch" -O parser.pm.patch
wget "http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm?r1=1642207&r2=1642206&pathrev=1642207&view=patch" -O conf.pm.patch
patch /usr/share/perl5/Mail/SpamAssassin/Conf/Parser.pm < parser.pm.patch
patch /usr/share/perl5/Mail/SpamAssassin/Conf.pm < conf.pm.patch