From: Rainer L. <li...@su...> - 2002-01-31 14:22:35
|
On Thu, 31 Jan 2002, Geoff Gibbs wrote: > Jan 31 13:44:41 gold amavisd[10332]: File-type of part-00001: data > Jan 31 13:44:41 gold amavisd[10332]: Extracting TNEF attachment part-00001 [..] > So it appears to think it is TNEF, unpacks it and happily scans it. Actually, older release of file(1) reported just "data" on TNEF files, see amavis-0.3.12pre5 source code: # file 3.32+ has an entry for TNEF /^(Transport Neutral Encapsulation Format|TNEF)/io && return do_tnef($part); # older versions of file report tnef files as data /^data$/o && return do_tnef($part); So, if ./configure would yell for a to old file version, we could just left out the check for "data" and all would be ok :-) But, hum, I don't see any problem with the current code here. And I still have no clue, why the iX article complains about a false positive alert from amavis. Moreover, I'm somewhat frustrated, that the author of this article has never contacted us (at least he didn't contacted me or wrote to amavis-user). Hum. best regards, Rainer Link (SuSE Labs) -- Rainer Link | SuSE - The Linux Experts li...@su... | Developer of A Mail Virus Scanner (www.amavis.org) www.suse.de | Founder OpenAntiVirus Project (www.openantivirus.org) |