--- amavis/amavis.in.orig Sat Oct 6 15:44:32 2001 +++ amavis/amavis.in Sat Oct 6 15:46:24 2001 @@ -469,7 +469,7 @@ do_exit($REGERR, __LINE__); } - my $filetype = `$file -b $TEMPDIR/parts/$part`; + my $filetype = `$file $TEMPDIR/parts/$part`; chop $filetype; do_log(4,"File-type of $part: $filetype"); @@ -663,7 +663,7 @@ } # older versions of file report tnef files as data - if ($filetype =~ /^data$/) { + if ($filetype =~ /:\sdata$/) { # may be tnef # checked already?