blob: f803e1b9f04eaca3921e2b0c2f0619ae789524c5 (
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 Sun Dec 31 15:16:34 2000
+++ amavis/amavis.in Sun Dec 31 15:24:31 2000
@@ -414,7 +414,7 @@
do_exit($REGERR, __LINE__);
}
- my $filetype = `$file -b $TEMPDIR/parts/$part`;
+ my $filetype = `$file $TEMPDIR/parts/$part`;
chop $filetype;
do_debug("File-type of $part: $filetype\n");
@@ -609,7 +609,7 @@
}
# older versions of file report tnef files as data
- if ($filetype =~ /^data$/) {
+ if ($filetype =~ /:\sdata$/) {
# may be tnef
# checked already?
|