blob: e96718bd36f87bb902a31141678d0ab1ab987085 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- 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?
|