Package: mailscanner
Version: 4.41.3-2
Severity: serious
Tags: patch
Justification: unknow



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.30.20050518
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mailscanner depends on:
ii  debconf                       1.4.30.13  Debian configuration management sy
ii  exim [mail-transport-agent]   3.36-16    An MTA (Mail Transport Agent)
ii  libarchive-zip-perl           1.14-1     Module for manipulation of ZIP arc
ii  libcompress-zlib-perl         1.34-1     Perl module for creation and manip
ii  libconvert-binhex-perl        1.119-2    Perl5 module for extracting data f
ii  libconvert-tnef-perl          0.17-4     Perl module to read TNEF files
ii  libhtml-parser-perl           3.45-2     A collection of modules that parse
ii  libmime-perl                  5.417-1    Perl5 modules for MIME-compliant m
ii  libnet-cidr-perl              0.10-1     Manipulate IPv4/IPv6 netblocks in 
ii  ncftp                         2:3.1.8-1  A user-friendly and well-featured 
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 
ii  spamassassin                  3.0.3-2    Perl-based spam filter using text 
ii  ucf                           1.17       Update Configuration File: preserv
ii  unzip                         5.52-1     De-archiver for .zip files
ii  wget                          1.9.1-12   retrieves files from the web

-- debconf information:
  mailscanner/v3_upgrade: Don't upgrade


Hi, sorry for my bad english.

I detected that the this version of mailscanner don't run 
/usr/sbin/update_virus_scanners well.

ok:
set -x and see

gihemar.com:/etc/MailScanner# /usr/sbin/update_virus_scanners
+ SCANNERSCONF=/etc/MailScanner/virus.scanners.conf
+ LOCKFILE=/var/lock/subsys/MailScanner.autoupdate.lock
++ perl -e 'print "young" if -f "/var/lock/subsys/MailScanner.autoupdate.lock" 
&& -M "/var/lock/subsys/MailScanner.autoupdate.lock"<0.042'
+ '[' x = xyoung ']'
+ trap 'rm -f /var/lock/subsys/MailScanner.autoupdate.lock' EXIT
+ touch /var/lock/subsys/MailScanner.autoupdate.lock
+ umask 022
++ uname
+ OS=Linux
+ '[' Linux = SunOS ']'
+ GREP=grep
+ cat /etc/MailScanner/virus.scanners.conf
+ sed -e 's/#.*$//'
+ grep -e -wrapper
+ read NAME WRAPPER PACKAGEDIR
++ echo /etc/MailScanner/wrapper/antivir-wrapper
++ sed -e s/wrapper/autoupdate/g
+ UPDATER=/etc/MailScanner/autoupdate/antivir-autoupdate
+ '[' -n antivir -a -n /etc/MailScanner/wrapper/antivir-wrapper -a -n 
/usr/lib/AntiVir ']'
+ /etc/MailScanner/wrapper/antivir-wrapper /usr/lib/AntiVir -IsItInstalled
+ read NAME WRAPPER PACKAGEDIR
++ echo /etc/MailScanner/wrapper/avg-wrapper
++ sed -e s/wrapper/autoupdate/g
+ UPDATER=/etc/MailScanner/autoupdate/avg-autoupdate
+ '[' -n avg -a -n /etc/MailScanner/wrapper/avg-wrapper -a -n /usr/local ']'
+ /etc/MailScanner/wrapper/avg-wrapper /usr/local -IsItInstalled
+ read NAME WRAPPER PACKAGEDIR
++ echo /etc/MailScanner/wrapper/bitdefender-wrapper
++ sed -e s/wrapper/autoupdate/g
+ UPDATER=/etc/MailScanner/autoupdate/bitdefender-autoupdate
+ '[' -n bitdefender -a -n /etc/MailScanner/wrapper/bitdefender-wrapper -a -n 
/opt/bdc ']'
+ /etc/MailScanner/wrapper/bitdefender-wrapper /opt/bdc -IsItInstalled
+ read NAME WRAPPER PACKAGEDIR
++ echo /etc/MailScanner/wrapper/clamav-wrapper
++ sed -e s/wrapper/autoupdate/g
+ UPDATER=/etc/MailScanner/autoupdate/clamav-autoupdate
+ '[' -n clamav -a -n /etc/MailScanner/wrapper/clamav-wrapper -a -n /usr ']'
+ /etc/MailScanner/wrapper/clamav-wrapper /usr -IsItInstalled
+ logger -p mail.info -t update.virus.scanners Found clamav installed
+ '[' -x /etc/MailScanner/autoupdate/clamav-autoupdate ']'
+ read NAME WRAPPER PACKAGEDIR

In this stage I have installed clamav-autoupdate but he script test that:
are exec /etc/MailScanner/autoupdate/clamav-autoupdate

but:
isea-ing.com:/etc/MailScanner/autoupdate# ls -al clamav-autoupdate
-rw-r--r--  1 root root 2122 May  8 17:37 clamav-autoupdate

Dont' are exec.

and the update_virus_scanners dont update any file:

WORKAROUND
you must go to: /etc/MailScanner/autoupdate
and make chown u+x *

Please take this note, for the new install becasue your NEVER update your virus 
database

Regards from Eduardo Diaz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to