Package: amavisd-new
Version: 1:2.3.3-4
Severity: important

All's well except that file is reporting cab archives as:

Microsoft Cabinet file, 621 bytes, 1 file

and not as:

Microsoft cabinet file, 621 bytes, 1 file

as amavis expects in:

  [qr/^Microsoft cabinet file\b/      => 'cab'],

The fix is obvious. Change the above to:

  [qr/^Microsoft cabinet file\b/i      => 'cab'],

And it all works well :)

Patch below:

--- amavisd-new 2006-02-02 11:46:54.000000000 +1100
+++ /usr/sbin/amavisd-new       2006-02-02 11:46:59.000000000 +1100
@@ -789,7 +789,7 @@
   [qr/^current ar archive\b/i         => 'a'],    # standard Unix archive (ar)
   [qr/^RPM\b/                         => 'rpm'],
   [qr/^(Transport Neutral Encapsulation Format|TNEF)\b/i => 'tnef'],
-  [qr/^Microsoft cabinet file\b/      => 'cab'],
+  [qr/^Microsoft cabinet file\b/i     => 'cab'],
 
   [qr/^(uuencoded|xxencoded)\b/i      => 'uue'],
   [qr/^binhex\b/i                     => 'hqx'],


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.15-rc5
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages amavisd-new depends on:
ii  adduser                    3.63          Add and remove users and groups
ii  file                       4.12-1        Determines file type using "magic"
ii  libarchive-tar-perl        1.23-1        Archive::Tar - manipulate tar file
ii  libarchive-zip-perl        1.14-1        Module for manipulation of ZIP arc
ii  libberkeleydb-perl         0.26-3        use Berkeley DB 4 databases from P
ii  libcompress-zlib-perl      1.34-1        Perl module for creation and manip
ii  libconvert-tnef-perl       0.17-4        Perl module to read TNEF files
ii  libconvert-uulib-perl      1.0.5.1-1     Perl interface to the uulib librar
pn  libdigest-md5-perl                       Not found.
ii  libio-stringy-perl         2.110-1       Perl5 modules for IO from scalars 
ii  libmailtools-perl          1.62-1        Manipulate email in perl programs
pn  libmime-base64-perl                      Not found.
ii  libmime-perl               5.417-1       Perl5 modules for MIME-compliant m
ii  libnet-perl                1:1.19-1      Implementation of Internet protoco
ii  libnet-server-perl         0.87-3        An extensible, general perl server
ii  libunix-syslog-perl        0.100-4       Perl interface to the UNIX syslog(
ii  perl [libtime-hires-perl]  5.8.4-8sarge3 Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl] 5.8.4-8sarge3 Core Perl modules

-- no debconf information


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

Reply via email to