Package: mailscanner
Version: 4.79.11-2.2
Severity: normal

The directory contains an additonal / at the end.

The patch

diff -Naur  /usr/share/MailScanner/MailScanner/TNEF.pm.orig 
/usr/share/MailScanner/MailScanner/TNEF.pm
--- /usr/share/MailScanner/MailScanner/TNEF.pm.orig     2011-01-10 
15:43:19.000000000 +0100
+++ /usr/share/MailScanner/MailScanner/TNEF.pm  2011-01-10 15:38:30.000000000 
+0100
@@ -230,6 +230,7 @@
   # Create the subdir to unpack it into
   my ($tmpfh, $unpackdir) = tempfile("tnefXXXXXX", TMPDIR => $dir, UNLINK => 
0);
   $dir =~ s,^.*/,,;
+  $dir =~ s,/,,;
   $unpackdir = $message->MakeNameSafe($unpackdir, $dir);
   unless (mkdir "$dir/$unpackdir", 0777) {
     MailScanner::Log::WarnLog("Trying to unpack %s in message %s, could not 
create subdirectory %s, failed to unpack TNEF message", $tnefname, 
$message->{id},

solved the issue on my system.

Greetings

tilo


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mailscanner depends on:
ii  debconf [debconf-2.0]        1.5.37      Debian configuration management sy
ii  exim4                        4.72-3      metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-heavy [mail-tra 4.72-3+b1   Exim MTA (v4) daemon with extended
ii  libarchive-zip-perl          1.30-3      Perl module for manipulation of ZI
ii  libconvert-tnef-perl         0.17-10     Perl module to read TNEF files
ii  libdbd-sqlite3-perl          1.29-3      Perl DBI driver with a self-contai
ii  libdbi-perl                  1.612-1     Perl Database Interface (DBI)
ii  libdigest-sha1-perl          2.13-1      NIST SHA-1 message digest algorith
ii  libfilesys-df-perl           0.92-3+b1   Module to obtain filesystem disk s
ii  libhtml-parser-perl          3.68-1      collection of modules that parse H
ii  libmailtools-perl            2.06-1      Manipulate email in perl programs
ii  libmime-tools-perl [libmime- 5.500-1     Perl5 modules for MIME-compliant m
ii  libnet-cidr-perl             0.13-1      Manipulate IPv4/IPv6 netblocks in 
ii  libnet-dns-perl              0.66-2      Perform DNS queries from a Perl sc
ii  libnet-ip-perl               1.25-2      Perl extension for manipulating IP
ii  libole-storage-lite-perl     0.19-1      simple class for OLE document inte
ii  libsys-hostname-long-perl    1.4-2       Figure out the long (fully-qualifi
ii  perl                         5.10.1-17   Larry Wall's Practical Extraction 
ii  spamassassin                 3.3.1-1     Perl-based spam filter using text 
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv
ii  unzip                        6.0-4       De-archiver for .zip files

Versions of packages mailscanner recommends:
ii  clamav                     0.96.5+dfsg-1 anti-virus utility for Unix - comm
ii  clamav-daemon              0.96.5+dfsg-1 anti-virus utility for Unix - scan
ii  libnet-cidr-lite-perl      0.21-1        module for merging IPv4 or IPv6 CI
ii  tnef                       1.4.7-1       Tool to unpack MIME application/ms
ii  wget                       1.12-2.1      retrieves files from the web

Versions of packages mailscanner suggests:
pn  libmail-spf-query-perl        <none>     (no description available)
pn  libnet-ldap-perl              <none>     (no description available)
pn  unrar-nonfree                 <none>     (no description available)

-- Configuration Files:
/etc/MailScanner/MailScanner.conf changed [not included]
/etc/MailScanner/spam.assassin.prefs.conf changed [not included]
/etc/default/mailscanner changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/MailScanner/MailScanner/TNEF.pm (from 
mailscanner package)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to