> An incorrect classification by a file(1) utility:
>
> $ file msg-4564-1.txt
> msg-4564-1.txt: DOS executable (COM)
>
> ...translated by $map_full_type_to_short_type_re into a
> short file type exe (T=exe) by:
>
>   [qr/\bexecutable\b/i => 'exe'],

Try this workaround:

--- amavisd.orig        2008-04-23 20:50:05.000000000 +0200
+++ amavisd     2008-06-19 01:11:04.000000000 +0200
@@ -1223,2 +1223,3 @@
     [qr/^COM executable for DOS\b/              => 'asc'],  # misclassified?
+    [qr/^DOS executable \(COM\)/                => 'asc'],  # misclassified?
     [qr/^(MS-)?DOS executable\b(?!.*\(COM\))/   => ['exe','exe-ms'] ],


Still, it would be worthwhile to notify the author/maintainer
of a file(1) utility.

  Mark

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to